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


A temporary reference to a formatting argument

== Synopsis


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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
using format&lowbar;arg = &sol;&ast; implementation-defined &ast;&sol;::format&lowbar;arg;
----

== Description


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

A xref:boost/urls/format-02.adoc[format] argument should always be    created by passing the argument to be    formatted directly to the xref:boost/urls/format-02.adoc[format] function&period;

Any type that can be formatted into a URL    with the xref:boost/urls/format-02.adoc[format] function is convertible    to this type&period;

This includes basic types, types convertible    to `core&colon;&colon;string&lowbar;view`, and xref:boost/urls/named_arg.adoc[named&lowbar;arg]&period;



== See Also


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






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