boost::urls::segments_base::empty

Return true if there are no segments

Synopsis

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

bool
empty() const noexcept;

Description

assert( ! url_view( "/index.htm" ).segments().empty() );

Constant.

Throws nothing.