Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
两者都在 GCC 和 MSVC 上编译,如果我想尝试一下,我猜罪犯是:
使用 boost::phoenix::arg_names::_1;
还有其他具有相同名称的占位符,其中一些导入到全局范围内(例如,我相信 boost::bind 使用的一个是在全局范围内)。最后一个错误特别暗示了这一点,因为似乎没有在某处使用需要成为元函数的类型。