Document to_wstring

This commit is contained in:
Victor Zverovich 2018-05-13 09:11:29 -07:00
parent 3c0f8c2601
commit ad23270ec7
2 changed files with 7 additions and 0 deletions

View File

@ -153,6 +153,8 @@ Utilities
.. doxygenfunction:: fmt::to_string(const T&)
.. doxygenfunction:: fmt::to_wstring(const T&)
.. doxygenclass:: fmt::basic_memory_buffer
:protected-members:
:members:

View File

@ -3390,6 +3390,11 @@ std::string to_string(const T &value) {
return str;
}
/**
\rst
Converts *value* to ``std::wstring`` using the default format for type *T*.
\endrst
*/
template <typename T>
std::wstring to_wstring(const T &value) {
std::wstring str;