:relfileprefix: ../../../ [#CE9630689491D7B85932B69E5F41B471334923AF] = Function static_url::remove_origin pass:v,q[Remove the origin component] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- xref:boost/urls/static_url.adoc[static_url]& remove_origin(); ---- == Description pass:v,q[This function removes the origin, which] pass:v,q[consists of the scheme and authority.] === Example [,cpp] ---- assert( url( "http://www.example.com/index.htm" ).remove_origin().buffer() == "/index.htm" ); ---- === Postconditions [,cpp] ---- this->scheme_id() == scheme::none && this->has_authority() == false ---- === Complexity pass:v,q[Linear in `this->size()`.] === Exception Safety pass:v,q[Throws nothing.] == Return Value * ``