boost::urls::segments_base::empty

Return true if there are no segments

Synopsis

bool
empty() const noexcept;

Description

Example

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

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

true if there are no segments, otherwise false.

Created with MrDocs