Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 9fc5439165.
PrevUpHomeNext
url_view_base::encoded_fragment

Return the fragment.

Synopsis
pct_string_view
encoded_fragment() const;
Description

This function returns the fragment as a string.

Example
assert( url_view( "http://www.example.com/index.htm#a%2D1" ).encoded_fragment() == "a%2D1" );
Complexity

Constant.

Exception Safety

Throws nothing.

BNF
fragment        = *( pchar / "/" / "?" )

pchar           = unreserved / pct-encoded / sub-delims / ":" / "@"
Specification
See Also

fragment, has_fragment.


PrevUpHomeNext