:relfileprefix: ../../../
[#boost-urls-segments_base-begin]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/segments_base.adoc[pass:[segments_base]]::begin


Return an iterator to the beginning


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_base.hpp#L305[boost/url/segments_base.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:boost/urls/segments_base/iterator.adoc[iterator]
begin() const noexcept;
----

=== Description


=== Linear in `this-&gt;front().size()` or

constant if `this-&gt;empty()`.

=== Throws nothing.








