Return the number of decoded characters

Synopsis

Declared in header </boost/url/decode_view.hpp#L263[boost/url/decode_view.hpp,window=blank_]>

size_type
size() const noexcept;

Description

Example

assert( decode_view( "Program%20Files" ).size() == 13 );

Effects

return std::distance( this->begin(), this->end() );

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • size_type