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().[link url.ref.boost__urls__segments_view.empty `empty`]() );
Complexity

Constant.

Exception Safety

Throws nothing.


PrevUpHomeNext