:relfileprefix: ../../../
[#F9AE118F80D91E1C17ADF7B5C7A2FC435E0D9593]

= Function segments_ref::pop_back

pass:v,q[Remove the last segment]


== Synopsis

Declared in header `</boost/url/segments_ref.hpp#L714[boost/url/segments_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` 




