Commit ad23270e authored by Victor Zverovich's avatar Victor Zverovich

Document to_wstring

parent 3c0f8c26
...@@ -153,6 +153,8 @@ Utilities ...@@ -153,6 +153,8 @@ Utilities
.. doxygenfunction:: fmt::to_string(const T&) .. doxygenfunction:: fmt::to_string(const T&)
.. doxygenfunction:: fmt::to_wstring(const T&)
.. doxygenclass:: fmt::basic_memory_buffer .. doxygenclass:: fmt::basic_memory_buffer
:protected-members: :protected-members:
:members: :members:
......
...@@ -3390,6 +3390,11 @@ std::string to_string(const T &value) { ...@@ -3390,6 +3390,11 @@ std::string to_string(const T &value) {
return str; return str;
} }
/**
\rst
Converts *value* to ``std::wstring`` using the default format for type *T*.
\endrst
*/
template <typename T> template <typename T>
std::wstring to_wstring(const T &value) { std::wstring to_wstring(const T &value) {
std::wstring str; std::wstring str;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment