[#boost-urls-params_base-size]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_base.adoc[params&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_base.hpp#L220[boost&sol;url&sol;params&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").params().size() == 1 );
----
== Complexity
Constant&period;

== Exception Safety
Throws nothing&period;

== Return Value

The number of params&period;


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