:relfileprefix: ../../../
[#265CCC67C26CF073D6A8ADB65BE594D8C476627F]

= Function segments_encoded_ref::pop_back

pass:v,q[Remove the last segment]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
void
pop_back() noexcept;
----

== Description

pass:v,q[This function removes the last segment] pass:v,q[from the container.]
pass:v,q[Iterators to the last segment as well]
pass:v,q[as all end iterators are invalidated.]

=== Preconditions
[,cpp]
----
not this->empty()
----

=== Exception Safety
pass:v,q[Throws nothing.]



== Return Value

* `void` 




