Function params_encoded_base::size

Return the number of params

Synopsis

Declared in header <boost/url/params_encoded_base.hpp>

std::size_t
size() const noexcept;

Description

Example

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

Complexity

Constant.

Exception Safety

Throws nothing.