[#boost-urls-params_ref-url]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_ref.adoc[params&lowbar;ref]::url
:relfileprefix: ../../../
:mrdocs:

Return the referenced url

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_ref.hpp#L253[boost&sol;url&sol;params&lowbar;ref&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/url_base.adoc[url&lowbar;base]&
url() const noexcept;
----

== Description

This function returns the url referenced by the view&period;

== Example

[,cpp]
----
url u( "?key=value" );

assert( &u.segments().url() == &u );
----
== Exception Safety

[,cpp]
----
Throws nothing.
----
== Return Value

A reference to the url&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
