Return true if there are no params

Synopsis

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

bool
empty() const noexcept;

Description

Example

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

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • bool