libstdc++
GNU C++ library
Loading...
Searching...
No Matches
◆
operator=()
[8/10]
template<typename _CharT, typename _Traits, typename _Alloc>
basic_string
&
std::basic_string
< _CharT, _Traits, _Alloc >::operator=
(
const
basic_string
< _CharT, _Traits, _Alloc > &
__str
)
inline
Assign the value of
str
to this string.
Parameters
__str
Source string.
Definition at line
766
of file
cow_string.h
.
767
{
return
this->
assign
(
__str
); }
std::basic_string::assign
constexpr basic_string & assign(const basic_string &__str)
Set value to contents of another string.
Definition
basic_string.h:1764
std::basic_string
Managing sequences of characters and character-like objects.
Definition
basic_string.h:94
std
basic_string
Generated on
for libstdc++ by
1.16.1