:relfileprefix: ../../../
[#44914712F0D354E4811160B903FAAA70148D735E]

= Function segments_base::begin

pass:v,q[Return an iterator to the beginning]


== Synopsis

Declared in header `</boost/url/segments_base.hpp#L285[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


=== Complexity
pass:v,q[Linear in `this->front().size()` or] pass:v,q[constant if `this->empty()`.]

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



== Return Value

* `iterator` 




