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

◆ operator=() [6/10]

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string & std::basic_string< _CharT, _Traits, _Alloc >::operator= ( const _CharT * __s)
inline

Copy contents of s into this string.

Parameters
__sSource null-terminated string.

Definition at line 774 of file cow_string.h.

775 { return this->assign(__s); }
constexpr basic_string & assign(const basic_string &__str)
Set value to contents of another string.
Managing sequences of characters and character-like objects.