:relfileprefix: ../../../
[#boost-urls-params_base-size]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/params_base.adoc[pass:[params_base]]::size


Return the number of params


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_base.hpp#L238[boost/url/params_base.hpp,window=blank_]>`

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

=== Description

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

=== Constant.

=== Throws nothing.








