Return true if there are no params

Synopsis

Declared in header </boost/url/params_base.hpp#L191[boost/url/params_base.hpp,window=blank_]>

bool
empty() const noexcept;

Description

Example

assert( ! url_view( "?key=value" ).params().empty() );

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • bool