Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

basic_static_string::replace

Replace a substring with a string.

template<
    size_t M>
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    size_type pos1,
    size_type n1,
    const basic_static_string< M, CharT, Traits >& str);
  » more...

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    size_type pos1,
    size_type n1,
    const basic_static_string& str);
  » more...

Replace a substring with a substring.

template<
    std::size_t M>
BOOST_STATIC_STRING_CPP14_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...

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    size_type pos1,
    size_type n1,
    const basic_static_string& str,
    size_type pos2,
    size_type n2 = npos);
  » more...

Replace a substring with an object convertible to string_view_type.

template<
    typename T,
    [role red error.class-detail-template.1][role red error.class-detail-template.2] = detail::enable_if_viewable_t<T, CharT, Traits>>
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    size_type pos1,
    size_type n1,
    const T& t);
  » more...

Replace a substring with a substring of an object convertible to string_view_type.

template<
    typename T,
    [role red error.class-detail-template.1][role red error.class-detail-template.2] = detail::enable_if_viewable_t<T, CharT, Traits>>
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    size_type pos1,
    size_type n1,
    const T& t,
    size_type pos2,
    size_type n2 = npos);
  » more...

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    size_type pos,
    size_type n1,
    const_pointer s,
    size_type n2);
  » more...

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    size_type pos,
    size_type n1,
    const_pointer s);
  » more...

Replace a substring with copies of a character.

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    size_type pos,
    size_type n1,
    size_type n2,
    value_type c);
  » more...

Replace a range with a string.

template<
    std::size_t M>
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    const_iterator i1,
    const_iterator i2,
    const basic_static_string< M, CharT, Traits >& str);
  » more...

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    const_iterator i1,
    const_iterator i2,
    const basic_static_string& str);
  » more...

Replace a range with an object convertible to string_view_type.

template<
    typename T,
    [role red error.class-detail-template.1][role red error.class-detail-template.2] = detail::enable_if_viewable_t<T, CharT, Traits>>
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    const_iterator i1,
    const_iterator i2,
    const T& t);
  » more...

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    const_iterator i1,
    const_iterator i2,
    const_pointer s,
    size_type n);
  » more...

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    const_iterator i1,
    const_iterator i2,
    const_pointer s);
  » more...

Replace a range with copies of a character.

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    const_iterator i1,
    const_iterator i2,
    size_type n,
    value_type c);
  » more...

Replace a range with a range.

template<
    typename InputIterator>
BOOST_STATIC_STRING_CPP14_CONSTEXPR std::enable_if< detail::is_input_iterator< InputIterator >::value &&!detail::is_forward_iterator< InputIterator >::value, basic_static_string< N, CharT, Traits > & >::type
replace(
    const_iterator i1,
    const_iterator i2,
    InputIterator j1,
    InputIterator j2);
  » more...

template<
    typename ForwardIterator>
BOOST_STATIC_STRING_CPP14_CONSTEXPR std::enable_if< detail::is_forward_iterator< ForwardIterator >::value, basic_static_string< N, CharT, Traits > & >::type
replace(
    const_iterator i1,
    const_iterator i2,
    ForwardIterator j1,
    ForwardIterator j2);
  » more...

Replace a range with an initializer list.

BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
replace(
    const_iterator i1,
    const_iterator i2,
    std::initializer_list< value_type > il);
  » more...

template<
    typename ForwardIterator>
BOOST_STATIC_STRING_CPP14_CONSTEXPR auto
replace(
    const_iterator i1,
    const_iterator i2,
    ForwardIterator j1,
    ForwardIterator j2);
  » more...

PrevUpHomeNext