boost::urls::static_url::remove_fragment
Remove the fragment
Synopsis
Declared in <boost/url/static_url.hpp>
static_url&
remove_fragment() noexcept;
Description
This function removes the fragment. An empty fragment is distinct from having no fragment.
assert( url( "?first=john&last=doe#anchor" ).remove_fragment().buffer() == "?first=john&last=doe" );
this->has_fragment() == false && this->encoded_fragment() == ""
See Also
Created with MrDocs