Boost
C++ Libraries
...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_pointer s);
Replaces the contents with those of {s, s + traits_type::length(s)).
Linear in count.
Strong guarantee.
*this
|
Name |
Description |
|---|---|
|
|
A pointer to the string to copy from. |
|
Type |
Thrown On |
|---|---|
|
|
traits_type::length(s) > |