boost::urls::segments_encoded_ref::insert

Insert segments

Synopses

Declared in <boost/url/segments_encoded_ref.hpp>
Insert segments
iterator
insert(
    iterator before,
    pct_string_view s);


» more... Insert segments
iterator
insert(
    iterator before,
    std::initializer_list<pct_string_view> init);


» more... Insert segments
template<class FwdIt>
iterator
insert(
    iterator before,
    FwdIt first,
    FwdIt last);


» more...

Exceptions

Name Thrown on
system_error The segment contains an invalid percent-encoding.

Return Value

Parameters

Name Description
before An iterator before which the segment is inserted. This may be equal to end().
s The segment to insert.
init The list of segments to insert.
first The first element in the range to insert.
last One past the last element in the range to insert.

Created with MrDocs