boost :: filesystem :: path的unicode文件路径? [英] boost::filesystem::path for unicode file paths?
本文介绍了boost :: filesystem :: path的unicode文件路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法使用boost :: filesystem :: path与unicode文件路径?
特别是我想使用std :: wstring而不是std :: string。
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.
我在Windows平台上工作,我需要有时处理一个具有unicode char的文件路径。
I'm working on the windows platform and I need to sometimes process a filepath that has a unicode char in it.
推荐答案
查看头文件,我看到一个用std :: wstring模板化的wpath。
Looking at the header file, I see a wpath that's templated with std::wstring.
这篇关于boost :: filesystem :: path的unicode文件路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文