Return the number of params

Synopsis

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

size_t
size() const noexcept;

Description

Example

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

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • size_t