Append a segment

Synopsis

Declared in header </boost/url/segments_ref.hpp#L693[boost/url/segments_ref.hpp,window=blank_]>

void
push_back(string_view s);

Description

This function appends a segment to the end of the path. Reserved characters in the string are automatically escaped. All end iterators are invalidated.

Postconditions

this->back() == s

Exception Safety

Strong guarantee. Calls to allocate may throw.

Return Value

  • void

Parameters

Name Type

s

string_view