boost库对unicode字符串的支持问题
clever101
领域专家: C/C++技术领域 2009-06-08 04:07:48 使用boost库实现获取exe路径的功能:
std::wstring fullpath = boost::filesysystem::initial_path<boost::sysytem::path>.string();
fullpath += boost::filesystem::slash<boost::filesystem::path>.value;
使用unicode字符集编译出现下面错误:
"wstring" 不是boost::filesystem::basic_path<string,Traits>的成员。
请问如何使boost库支持unicode字符串std::wstring呢?