boost::urls::segments_base::value_type

The value type

Synopsis

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

using value_type = std::string;

Description

Values of this type represent a segment where unique ownership is retained by making a copy.

segments_base::value_type ps( url_view( "/path/to/file.txt" ).segments().back() );