草庐IT

c++ - 错误 C2327 : not a type name, 静态或枚举数

我在Windows上遇到“错误C2327”。我减少了我的代码并在测试程序中遇到了类似的错误#include#includeclassTest{protected:typedefTestself_type;boost::intrusive::list_member_hookorder_hook;public:typedefboost::intrusive::member_hook,&Test::order_hook>order_hook_type;};这在g++上工作正常,但在Windows上它给出以下错误:test.cpp(11):errorC2327:'Test::order_hoo