
12 Oct
2011
12 Oct
'11
3:18 a.m.
Michel Morin wrote:
The error occurred because
no_operator operator BOOST_TT_TRAIT_OP (const any&);
is declared too late (line 135 in has_prefix_operator.hpp). Is it possible to move "Step 4" (line 122-135) before "Step 2" (line 51-74)? This removes the compilation errors in has_negate_test.cpp. I think other test failures on clang can be fixed in a similar way.
Follow-up: After fixing detail/has_binary_operator.hpp, has_postfix_operator.hpp and has_prefix_operator.hpp (by moving "Step 4" before "Step 2"), all the tests ran successfully on clang (trunk) both in C++03 and C++11 modes. Regards, Michel