[#boost-urls-decode_view-size]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/decode_view.adoc[decode&lowbar;view]::size
:relfileprefix: ../../../
:mrdocs:

Return the number of decoded characters

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/decode_view.hpp#Lundefined[boost&sol;url&sol;decode&lowbar;view&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/decode_view/size_type.adoc[size&lowbar;type]
size() const noexcept;
----

== Example

[,cpp]
----
assert( decode_view( "Program%20Files" ).size() == 13 );
----
== Effects

[,cpp]
----
return std::distance( this->begin(), this->end() );
----
== Complexity

Constant&period;

== Exception Safety

Throws nothing&period;

== Return Value

The number of decoded characters


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