boost::urls::segments_ref::url

Return the referenced url

Synopsis

Declared in header <boost/url/segments_ref.hpp>

url_base&
url() const noexcept;

Description

This function returns the url referenced by the view.

url u( "/path/to/file.txt" );

assert( &u.segments().url() == &u );

Throws nothing.