Return the number of characters in the url
Synopsis
Declared in header </boost/url/url_view_base.hpp#L165[boost/url/url_view_base.hpp,window=blank_]>
size_t
size() const noexcept;
Description
This function returns the number of characters in the url's encoded string, not including any null terminator, if present.
Example
assert( url_view( "file:///Program%20Files" ).size() == 23 );
Complexity
Constant.
Exception Safety
Throws nothing.
Return Value
-
size_t