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

◆ c_str() [2/2]

template<typename _CharT, typename _Traits, typename _Alloc>
const _CharT * std::basic_string< _CharT, _Traits, _Alloc >::c_str ( ) const
inlinenoexcept

Return const pointer to null-terminated contents.

This is a handle to internal data. Do not modify or dire things may happen.

Definition at line 2376 of file cow_string.h.

2377 { return _M_data(); }
constexpr pointer _M_data() const