:relfileprefix: ../../../
[#93FFB9C8935F0CD50E7C0BDD1FE0EF4DBDDA7A6B]

= Function segments_encoded_ref::push_back

pass:v,q[Append a segment]


== Synopsis

Declared in header `</boost/url/segments_encoded_ref.hpp#L751[boost/url/segments_encoded_ref.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
void
push_back(xref:boost/urls/pct_string_view.adoc[pct_string_view] s);
----

== Description

pass:v,q[This function appends a segment to] pass:v,q[the end of the path.] pass:v,q[Reserved characters in the string are]
pass:v,q[automatically escaped.]
pass:v,q[Escapes in the string are preserved.]
pass:v,q[All end iterators are invalidated.]

=== Postconditions
[,cpp]
----
this->back() == s
----

=== Exception Safety
pass:v,q[Strong guarantee.]
pass:v,q[Calls to allocate may throw.]
pass:v,q[Exceptions thrown on invalid input.]



== Return Value

* `void` 


== Parameters

|===
| Name | Type 

| *s*
| `pct_string_view`

|===



