Insert segments
Synopses
Insert segments
iterator
insert(
iterator before,
pct_string_view s);
Insert segments
Insert segments
Exceptions
Name |
Thrown on |
|
The segment contains an invalid percent‐encoding. |
Return Value
-
An iterator to the inserted segment.
-
An iterator to the first element inserted, or
before
ifinit.size() == 0
. -
An iterator to the first segment inserted, or
before
ifinit.empty()
.
Parameters
Name |
Description |
before |
An iterator before which the segment is inserted. This may be equal to |
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