Return true if there are no segments.
bool empty() const;
assert( ! url_view( "/index.htm" ).segments().[link url.ref.boost__urls__segments_base.empty `empty`]() );
Constant.
Throws nothing.