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

◆ operator+=() [4/8]

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

Append a C string.

Parameters
__sThe C string to append.
Returns
Reference to this string.

Definition at line 1265 of file cow_string.h.

1266 { return this->append(__s); }
constexpr basic_string & append(const basic_string &__str)
Append a string to this string.
Managing sequences of characters and character-like objects.