Return the number of params

Synopsis

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

size_t
size() const noexcept;

Description

Example

assert( url_view( "?key=value").params().size() == 1 );

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • size_t