:relfileprefix: ../../../ [#boost-urls-url_view_base-size] == xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/url_view_base.adoc[pass:[url_view_base]]::size Return the number of characters in the url === Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- std::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. [,cpp] ---- assert( url_view( "file:///Program%20Files" ).size() == 23 ); ---- === Constant. === Throws nothing.