...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Assign from any object convertible to string_view_type
.
template< class T> static_string& assign( T const& t, size_type pos, size_type count = npos);
The range (pos, n) is extracted from the value obtained by converting
t
to string_view_type
,
and used to assign the string.