|  | Home | Libraries | People | FAQ | More | 
Assign to the string.
template< [role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type]> constexpr basic_static_string& operator=( const T& t);
            Replaces the contents with those of sv,
            where sv is string_view_type(t).
          
            Linear in sv.size().
          
Strong guarantee.
The view can contain null characters.
| Type | Description | 
|---|---|
| 
                       | 
                      A type convertible to  | 
std::is_convertible<const T&, string_view>::value && !std::is_convertible<const T&, const CharT*>::value
            *this
          
| Name | Description | 
|---|---|
| 
                       | The object to assign from. | 
| Type | Thrown On | 
|---|---|
| 
                       | 
                      sv.size() >  |