...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Append to the string.
template< typename T> constexpr basic_static_string& operator+=( const T& t);
Appends sv
to the end
of the string, where sv
is string_view_type(t)
.
Strong guarantee.
Type |
Description |
---|---|
|
The type of the object to convert. |
std::is_convertible<T const&, string_view>::value && !std::is_convertible<T const&, char const*>::value && !std::is_convertible<const T&, const basic_static_string&>::value
*this
Name |
Description |
---|---|
|
The string to append. |
Type |
Thrown On |
---|---|
|
|