Rel*_*lla 5 c++ boost path boost-filesystem
所以我尝试移植我的旧项目(从boost 1.44到1.61)我发现path.native_file_string()没有boost::filesystem v3...
那么模拟有什么用path.native_file_string()呢boost::filesystem v3?(我不想再使用v2,但我需要诸如native_file_string之类的功能)
如果您正在谈论path::external_file_string(目前 Boost.FileSystem v2 中没有native_file_string),则相当于path::native. 这将返回主机操作系统格式的字符串,使用该系统本机的字符串类型(Windows 为 std::wstring,Linux 为 std::string 等)。