FTXUI/include/ftxui/screen/string.hpp
2019-02-02 02:25:06 +01:00

10 lines
207 B
C++

#include <string>
std::string to_string(const std::wstring& s);
std::wstring to_wstring(const std::string& s);
template<typename T>
std::wstring to_wstring(T s) {
return to_wstring(std::to_string(s));
}