...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Replace a part of the string.
template< size_t M> constexpr basic_static_string& replace( size_type pos1, size_type n1, const basic_static_string< M, CharT, Traits >& str); »more...
template< std::size_t M> constexpr basic_static_string& replace( size_type pos1, size_type n1, const basic_static_string< M, CharT, Traits >& str, size_type pos2, size_type n2 = npos); »more...
template< typename T> constexpr basic_static_string& replace( size_type pos1, size_type n1, const T& t); »more...
template< typename T> constexpr basic_static_string& replace( size_type pos1, size_type n1, const T& t, size_type pos2, size_type n2 = npos); »more...
constexpr basic_static_string& replace( size_type pos, size_type n1, const_pointer s, size_type n2); »more...
constexpr basic_static_string& replace( size_type pos, size_type n1, const_pointer s); »more...
constexpr basic_static_string& replace( size_type pos, size_type n1, size_type n2, value_type c); »more...
template< std::size_t M> constexpr basic_static_string& replace( const_iterator i1, const_iterator i2, const basic_static_string< M, CharT, Traits >& str); »more...
template< typename T> constexpr basic_static_string& replace( const_iterator i1, const_iterator i2, const T& t); »more...
constexpr basic_static_string& replace( const_iterator i1, const_iterator i2, const_pointer s, size_type n); »more...
constexpr basic_static_string& replace( const_iterator i1, const_iterator i2, const_pointer s); »more...
constexpr basic_static_string& replace( const_iterator i1, const_iterator i2, size_type n, value_type c); »more...
template< typename InputIterator> constexpr basic_static_string& replace( const_iterator i1, const_iterator i2, InputIterator j1, InputIterator j2); »more...
constexpr basic_static_string& replace( const_iterator i1, const_iterator i2, std::initializer_list< value_type > il); »more...