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