empty

Return true if there are no segments

Synopsis

bool empty() noexcept;

Declared in file <src/segments_base.cpp> at line 76

Description

Example

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

Complexity

Constant.

Exception Safety

Throws nothing.