Function decode_view::size

Return the number of decoded characters

Synopsis

Declared in header <boost/url/decode_view.hpp>

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.