#pragma once #include #include #include #include namespace dxvk::str { inline void format1(std::stringstream&) { } template void format1(std::stringstream& str, const T& arg, const Tx&... args) { str << arg; format1(str, args...); } template std::string format(const Args&... args) { std::stringstream stream; format1(stream, args...); return stream.str(); } inline std::string fromws(const std::wstring& ws) { return std::wstring_convert>().to_bytes(ws); } }