remove_fragment
Remove the fragment
Synopsis
url_base&
remove_fragment() noexcept;
Declared in file <include/boost/url/url_base.hpp> on line 2390
Defined in file <src/url_base.cpp> on line 1471
Description
This function removes the fragment. An empty fragment is distinct from having no fragment.
Example
assert( url( "?first=john&last=doe#anchor" ).remove_fragment().buffer() == "?first=john&last=doe" );