Append a segment
<include/boost/url/segments_encoded_ref.hpp>
void
push_back(pct_string_view s);
This function appends a segment to the end of the path. Reserved characters in the string are automatically escaped. Escapes in the string are preserved.
All end iterators are invalidated.
this->back() == s
Calls to allocate may throw. Exceptions thrown on invalid input.
Name | Thrown on |
---|---|
The |
string contains an invalid percent-encoding. |
Name | Description |
---|---|
s | The segment to append. |