boost::filesystem::path for unicode file paths?

杀马特。学长 韩版系。学妹 提交于 2019-12-24 04:49:12

问题


Is there a way to use boost::filesystem::path with unicode file paths? In particular I'd like to use it with std::wstring instead of std::string.

I'm working on the windows platform and I need to sometimes process a filepath that has a unicode char in it.


回答1:


Looking at the header file, I see a wpath that's templated with std::wstring.



来源:https://stackoverflow.com/questions/394564/boostfilesystempath-for-unicode-file-paths

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!