push_back

Append a segment

Synopsis

void
push_back(pct_string_view s);

Declared in file <include/boost/url/segments_encoded_ref.hpp> on line 751

Defined in file <include/boost/url/impl/segments_encoded_ref.hpp> on line 131

Description

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.

Postconditions

this->back() == s

Exception Safety

Strong guarantee. Calls to allocate may throw. Exceptions thrown on invalid input.