[#bsl-to_wstring-0c] = xref:bsl.adoc[bsl]::to_wstring :relfileprefix: ../ :mrdocs: Constructs a string with contents equal to the specified `value`. The contents of the string will be the same as what `std::swprintf(buf, L"%lu", value)` would produce with a sufficiently large buffer. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[wstring] to_wstring(unsigned long value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#