boost :: filesystem :: unicode文件路径的路径?

Bri*_*ndy 2 c++ path boost-filesystem

有没有办法使用带有unicode文件路径的boost :: filesystem :: path?特别是我想用std :: wstring代替std :: string.

我正在使用Windows平台,我有时需要处理一个包含unicode char的文件路径.

小智 7

查看头文件,我看到一个用std :: wstring模板化的wpath.

  • 注意:在boost :: filesystem3中已经弃用了wpath (8认同)