Home | Libraries | People | FAQ | More |
Swap two strings.
constexpr void swap( basic_static_string& s);
Swaps the contents of the string and s
.
Strong guarantee.
All references, pointers, or iterators referring to contained elements are invalidated. Any past-the-end iterators are also invalidated.
Name |
Description |
---|---|
|
The string to swap with. |