...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.
constexpr basic_static_string& operator=( const basic_static_string& s);
Replaces the contents with those of the string s
.
Linear in s.size()
.
Strong guarantee.
*this
Name |
Description |
---|---|
|
The string to replace the contents with. |
Type |
Thrown On |
---|---|
|
|