boost::urls::segments_encoded_base::empty Return true if there are no segments Synopsis Declared in header <boost/url/segments_encoded_base.hpp> bool empty() const noexcept; Description assert( ! url_view( "/index.htm" ).encoded_segments().empty() ); Constant. Throws nothing.