
16 Mar
2011
16 Mar
'11
6:57 p.m.
I'm browsing the source, and don't see a lot of difference between detail/has_postfix_operator.hpp and detail/has_prefix_operator.hpp. Frederic (excuse the lack of accents), are the only differences the operator overload declaration and the location of BOOST_TT_TRAIT_OP relative to make<LHS>() or make<RHS>()? If so, for maintenance purposes, it may be wise to combine the 2 headers.
Yes they are very similar but there another difference: postfix operators have an additional int argument in their declaration so that combining may be a bit tricky. Frédéric