// Copyright (c) 2020 Egor Tensin // This file is part of the "winapi-utf8" project. // For details, see https://github.com/egor-tensin/winapi-utf8. // Distributed under the MIT License. #pragma once #include #include #include namespace winapi { std::wstring widen(const std::string&); std::wstring widen(const std::vector&); std::wstring widen(const void*, std::size_t nb); std::string narrow(const std::wstring&); std::string narrow(const std::vector&); std::string narrow(const void*, std::size_t nb); }