[#boost-urls-params_encoded_base-size]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_encoded_base.adoc[params&lowbar;encoded&lowbar;base]::size
:relfileprefix: ../../../
:mrdocs:


Return the number of params

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_encoded_base.hpp#L231[boost&sol;url&sol;params&lowbar;encoded&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
size() const noexcept;
----

== Description



=== Example

[,cpp]
----
assert( url_view( "?key=value").encoded_params().size() == 1 );
----

=== Complexity

Constant&period;


=== Exception Safety

Throws nothing&period;





[.small]#Created with https://www.mrdocs.com[MrDocs]#
