libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ _M_leak()

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::_M_leak ( )
inlineprivate

Definition at line 351 of file cow_string.h.

352 {
353 if (!_M_rep()->_M_is_leaked())
354 _M_leak_hard();
355 }
_Rep * _M_rep() const noexcept
Definition cow_string.h:337
Managing sequences of characters and character-like objects.

Referenced by std::basic_string< _CharT >::at(), std::basic_string< _CharT >::begin(), std::basic_string< _CharT >::data(), std::basic_string< _CharT >::end(), and std::basic_string< _CharT >::operator[]().

Here is the caller graph for this function: