...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< std::size_t M> constexpr basic_static_string& append( const basic_static_string< M, CharT, Traits >& s, size_type pos, size_type count = npos);
Appends the substring sub
to the end of the string, where sub
is s.substr(pos, count)
.
Strong guarantee.
Type |
Description |
---|---|
|
The size of the string to append. |
*this
Name |
Description |
---|---|
|
The string to append. |
|
The index at which to begin the substring. |
|
The size of the substring. The default argument for this parameter
is |
Type |
Thrown On |
---|---|
|
|
|
|