|  | Home | Libraries | People | FAQ | More | 
Swap two strings.
template< std::size_t M> constexpr void swap( basic_static_string< M, CharT, Traits >& 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.
| Type | Description | 
|---|---|
| 
                       | The size of the string to swap with. | 
| Name | Description | 
|---|---|
| 
                       | The string to swap with. | 
| Type | Thrown On | 
|---|---|
| 
                       | 
                      s.size() >  |