c++ - boost::filesystem::unicode 文件路径的路径?

标签 c++ path boost-filesystem

有没有办法将 boost::filesystem::path 与 unicode 文件路径一起使用? 特别是我想将它与 std::wstring 而不是 std::string 一起使用。

我在 Windows 平台上工作,有时我需要处理其中包含 unicode 字符的文件路径。

最佳答案

查看 header file ,我看到一个用 std::wstring 模板化的 wpath。

关于c++ - boost::filesystem::unicode 文件路径的路径?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/394564/

相关文章:

python - 获取目录中所有文件名的列表及其原始文件夹顺序

c++ - parent_path()带有或不带有斜杠

c++ - 如何替换从 boost::filesystem::weakly_relative 和 std::filesystem::canonical 中删除的基本参数

c++ - 为什么这是未定义的行为?

c++ - 64 个 ASCII 字符的字符串溢出 malloc(64 * sizeof(char))

c++ - 编译按需可执行文件

C++ Boost 文件系统 : How to modify stem from a path?

c++ - 单向链表在中间添加节点

c - 我怎样才能获得所有文件的列表及其在c中的路径

php - "(include_path=' 是什么意思。 :/usr/share/pear:/usr/share/php')"?