Boost logo

Boost :

Subject: Re: [boost] [1.48.0] TypeTraits additions
From: Michel Morin (mimomorin_at_[hidden])
Date: 2011-10-11 23:18:32


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk