Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
segments_view::empty

(Inherited from segments_base)

Return true if there are no segments.

Synopsis
bool
empty() const;
Example
assert( ! url_view( "/index.htm" ).segments().empty() );
Complexity

Constant.

Exception Safety

Throws nothing.


PrevUpHomeNext