...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Assign to the string.
template< std::size_t M> constexpr basic_static_string& operator=( const basic_static_string< M, CharT, Traits >& s);
Replaces the contents with those of the string s
.
Linear in s.size()
.
Strong guarantee.
Type |
Description |
---|---|
|
The size of the other string. |
*this
Name |
Description |
---|---|
|
The string to replace the contents with. |
Type |
Thrown On |
---|---|
|
|