123456789101112131415161718192021222324252627 |
- #ifndef BOOST_NOWIDE_INTEGRATION_FILESYSTEM_HPP_INCLUDED
- #define BOOST_NOWIDE_INTEGRATION_FILESYSTEM_HPP_INCLUDED
- #include <boost/nowide/utf8_codecvt.hpp>
- #include <boost/filesystem/path.hpp>
- namespace boost {
- namespace nowide {
-
-
-
- inline std::locale nowide_filesystem()
- {
- std::locale tmp = std::locale(std::locale(), new boost::nowide::utf8_codecvt<wchar_t>());
- return boost::filesystem::path::imbue(tmp);
- }
- }
- }
- #endif
|