Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
decode_view::size

Return the number of decoded characters.

Synopsis
size_type
size() const;
Example
assert( [link url.ref.boost__urls__decode_view.decode_view `decode_view`]( "Program%20Files" ).[link url.ref.boost__urls__decode_view.size `size`]() == 13 );
Effects
return std::distance( this->[link url.ref.boost__urls__decode_view.begin `begin`](), this->[link url.ref.boost__urls__decode_view.end `end`]() );
Complexity

Constant.

Exception Safety

Throws nothing.


PrevUpHomeNext