...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(Inherited from url_view_base
)
Return the host IPvFuture address.
core::string_view host_ipvfuture() const;
If the host type is host_type::ipvfuture
, this function returns
the address as a string. Otherwise, if the host type is not an IPvFuture
address, it returns an empty string.
assert( url_view( "http://[v1fe.d:9]/index.htm" ).host_ipvfuture() == "v1fe.d:9" );
Constant.
Throws nothing.
IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )