Assignment operators
Declared in <bslstl_string.h>
Assign to this string the value of the string of length one consisting of the specified character, and return a reference providing modifiable access to this string.
basic_string<char8_t>&
operator=(char8_t character);
» more...
Move-assign from the specified rhs string and return *this.
basic_string<char8_t>&
operator=(BloombergLP::bslmf::MovableRef<basic_string<char8_t>> rhs) noexcept(/* see-below */);
» more...
Assign to this string the value resulting from first clearing this string and then inserting (in order) each CHAR_TYPE object in the specified values initializer list.
basic_string<char8_t>&
operator=(std::initializer_list<char8_t> values);
» more...
Assign to this string the value of the specified rhs string, propagate to this object the allocator of rhs if the ALLOCATOR type has trait propagate_on_container_copy_assignment, and return a reference providing modifiable access to this string.
basic_string<char8_t>&
operator=(basic_string<char8_t> const& rhs);
» more...
Assign to this string the value of the specified null-terminated rhs string (of length CHAR_TRAITS::length(characterString)), and return a reference providing modifiable access to this string.
basic_string<char8_t>&
operator=(char8_t const* rhs);
» more...
Assign to this string the value of the specified rhs object, and return a reference providing modifiable access to this string.
template<class STRING_VIEW_LIKE_TYPE>
basic_string<char8_t>&
operator=(STRING_VIEW_LIKE_TYPE const& rhs);
» more...
Assign to this string the value of the specified rhs string, and return a reference providing modifiable access to this string.
template<class ALLOC2>
basic_string<char8_t>&
operator=(std::basic_string<char8_t, char_traits<char8_t>, ALLOC2> const& rhs);
» more...