boost::urls::params_encoded_ref::replace

Replace params

Synopses

Replace params

Replace params

iterator
replace(
    iterator from,
    iterator to,
    std::initializer_list<param_pct_view> init);

Replace params

template<class FwdIt>
iterator
replace(
    iterator from,
    iterator to,
    FwdIt first,
    FwdIt last);

Exceptions

Name

Thrown on

system_error

p contains an invalid percent‐encoding.

Return Value

  • An iterator to the element.

  • An iterator to the first element inserted, or one past to if init.size() == 0.

  • An iterator to the first element inserted, or one past to if first == last.

  • An iterator to the first element inserted, or one past to if first == last.

Parameters

Name

Description

pos

An iterator to the element.

p

The param to assign.

from,to

The range of params to replace.

init

The list of params to assign.

from

The first element to replace.

to

One past the last element to replace.

first

The first element to insert.

last

One past the last element to insert.

Created with MrDocs