更新时间:2023-02-25 15:27:15
的标题(和文档)指出,追加
要求 codeCVT
参数那时(告诉追加功能转换如何字符集要完成)。
The headers (and the documentation) indicate that append
required a codecvt
parameter back then (to tell the append function how characterset conversions are to be done).
这适用于1.54:
#include <boost/filesystem.hpp>
int main() {
boost::filesystem::path petscConfigurationPath;
petscConfigurationPath.append("FluidPetsc/Basic.conf", boost::filesystem::path::codecvt());
}