boost::urls::segments_encoded_ref::insert
Insert segments
Synopsis
iterator
insert(
iterator before,
pct_string_view s);
Description
This function inserts a segment before the specified position. Reserved characters in the segment are automatically escaped. Escapes in the segment are preserved.
All iterators that are equal to before
or come after are invalidated.
Exceptions
Name | Thrown on |
---|---|
|
The segment contains an invalid percent‐encoding. |
Parameters
Name | Description |
---|---|
before |
An iterator before which the segment is inserted. This may be equal to |
s |
The segment to insert. |
Created with MrDocs