[#util-ToString]
= xref:util.adoc[util]::ToString
:relfileprefix: ../
:mrdocs:

Locale&hyphen;independent version of std&colon;&colon;to&lowbar;string

== Synopsis

Declared in `&lt;util&sol;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
std::string
ToString(T const& t);
----

== Return Value

The value formatted using the classic (&quot;C&quot;) locale&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *t*
| The value to stringify&period;
|===


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