:relfileprefix: ../../../
[#CC5EE402C72D6096F3B0477FC9EF554034E569DF]

= Function params_encoded_base::size

pass:v,q[Return the number of params]


== Synopsis

Declared in header `</boost/url/params_encoded_base.hpp#L208[boost/url/params_encoded_base.hpp,window=blank_]>`

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

== Description


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

=== Complexity
pass:v,q[Constant.]

=== Exception Safety
pass:v,q[Throws nothing.]



== Return Value

* `size_t` 




