Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

basic_static_string::replace

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<
    [role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type]>
constexpr basic_static_string&
replace(
    size_type pos1,
    size_type n1,
    const T& t);
  » more...

template<
    [role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type]>
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<
    [role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type]>
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<
    [role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type]>
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...

PrevUpHomeNext