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"%d", value) would produce with a sufficiently large buffer.
value
std::swprintf(buf, L"%d", value)
Declared in <bslstl_string.h>
<bslstl_string.h>
wstring to_wstring(int value);