Home | Libraries | People | FAQ | More |
Return true if a fragment is present.
bool has_fragment() const;
This function returns true if this contains a fragment. An empty fragment is distinct from having no fragment.
assert( url_view( "http://www.example.com/index.htm#a%2D1" ).has_fragment() );
Constant.
Throws nothing.
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] relative-ref = relative-part [ "?" query ] [ "#" fragment ]