[#boost-urls-segments_encoded_base-const_iterator]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/segments_encoded_base.adoc[segments&lowbar;encoded&lowbar;base]::const&lowbar;iterator
:relfileprefix: ../../../
:mrdocs:


A Bidirectional iterator to a path segment

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_encoded_base.hpp#L106[boost&sol;url&sol;segments&lowbar;encoded&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
using const&lowbar;iterator = xref:boost/urls/segments_encoded_base/iterator.adoc[iterator];
----

== Description


Objects of this type allow iteration        through the segments in the path&period;        Strings returned by iterators may        contain percent escapes&period;        The values returned are read&hyphen;only&semi;        changes to segments must be made        through the container instead, if the        container supports modification&period;

The strings produced when iterators        are dereferenced refer to the underlying        character buffer&period;        Ownership is not transferred&semi; the caller        is responsible for ensuring that the        lifetime of the buffer extends until        it is no longer referenced by any        container or iterator&period;





[.small]#Created with https://www.mrdocs.com[MrDocs]#
