[#bsl-to_wstring-0d]
= xref:bsl.adoc[bsl]::to&lowbar;wstring
:relfileprefix: ../
:mrdocs:

Constructs a string with contents equal to the specified `value`&period; The contents of the string will be the same as what `std&colon;&colon;swprintf(buf, L&quot;%d&quot;, value)` would produce with a sufficiently large buffer&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/wstring.adoc[wstring]
to&lowbar;wstring(int value);
----


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