mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-19 18:18:09 +08:00
9
include/ftxui/screen/string.hpp
Normal file
9
include/ftxui/screen/string.hpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#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));
|
||||
}
|
Reference in New Issue
Block a user