[#boost-urls-params_encoded_base-size] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_encoded_base.adoc[params_encoded_base]::size :relfileprefix: ../../../ :mrdocs: Return the number of params == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_encoded_base.hpp#L231[boost/url/params_encoded_base.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t size() const noexcept; ---- == Description === Example [,cpp] ---- assert( url_view( "?key=value").encoded_params().size() == 1 ); ---- === Complexity Constant. === Exception Safety Throws nothing. [.small]#Created with https://www.mrdocs.com[MrDocs]#