- #pragma once
- #if defined(_WIN32)
- #include <c10/util/Exception.h>
- #include <c10/util/win32-headers.h>
- #include <string>
- #endif
- namespace c10 {
- #if defined(_WIN32)
- C10_API std::wstring u8u16(const std::string& str);
- C10_API std::string u16u8(const std::wstring& wstr);
- #endif
- } // namespace c10
|