<boost/url/segments_encoded_ref.hpp>
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...
Name | Thrown on |
---|---|
system_error |
The segment contains an invalid percent-encoding. |
before
if init.size() == 0
.before
if init.empty()
.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. |