libstdc++
GNU C++ library
Loading...
Searching...
No Matches
◆
operator=()
[7/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
constexpr
Assign the value of
str
to this string.
Parameters
__str
Source string.
Definition at line
928
of file
basic_string.h
.
929
{
930
return
this->
assign
(
__str
);
931
}
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