boost::urls::url_base::segments

Return the path as a container of segments

Synopses

Declared in <boost/url/url_base.hpp>

Return the path as a container of segments

urls::segments_ref
segments() noexcept;

Return the path as a container of segments

segments_view
segments() const noexcept;

Return Value

  • *this

  • A bidirectional view of segments.