只是试图用bzip2压缩一个阵列,以便我能够把它交给一个配有可视力的管道。
下面一行给我带来了以下汇编错误。
缩略语
Error 6 error C2027: use of undefined type boost::STATIC_ASSERTION_FAILURE c:program files (x86)oostoost_1_47oostiostreamschain.hpp 488 1 Agent
boost::iostreams::filtering_streambuf<boost::iostreams::input> in;
ostringstream uncompressed_string;
ostringstream compressed_string;
uncompressed_string << buf;
in.push(boost::iostreams::bzip2_compressor());
缩略语
boost::iostreams::copy(uncompressed_string, compressed_string);