[#boost-urls-named_arg]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::named&lowbar;arg
:relfileprefix: ../../
:mrdocs:


A temporary reference to a named formatting argument

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/format.hpp#L47[boost&sol;url&sol;format&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class T&gt;
using named&lowbar;arg = &sol;&ast; implementation-defined &ast;&sol;::named&lowbar;arg&lt;T&gt;;
----

== Description


This class represents a temporary reference    to a named formatting argument used by the    xref:boost/urls/format-02.adoc[format] function&period;

Named arguments should always be created    with the xref:boost/urls/arg.adoc[arg] function&period;

Any type that can be formatted into a URL    with the xref:boost/urls/format-02.adoc[format] function can also be used    in a named argument&period; All named arguments    are convertible to xref:boost/urls/format_arg.adoc[format&lowbar;arg] and    can be used in the xref:boost/urls/format-02.adoc[format] function&period;



== See Also


xref:boost/urls/arg.adoc[arg],        xref:boost/urls/format-02.adoc[format],        xref:boost/urls/format_to-0b.adoc[format&lowbar;to],        xref:boost/urls/format_arg.adoc[format&lowbar;arg]&period;






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