
2011/3/19 Frédéric Bron <frederic.bron@m4x.org>:
Maybe the set of functions should be something like
is_callable<plus, LeftOperandType, RightOperandType>
This is interesting,
yes, I like it
however it would have to be something like: ::boost::is_callable<::boost::type_traits::operators::plus, LHS, RHS>
ideally boost::is_callable<std::plus, Left, Right> but std::op_functors seem to be restricted to singly typed functors, which I don't understand, so what about boost::is_callable<boost::op::plus, Left, Right> [boost::op::op_functors would need to be written, but that's not a problem.]
which is then not so easy to use. Am I wrong?
Hmm, where is the problem? Regards, Joachim -- Interval Container Library [Boost.Icl] http://www.joachim-faulhaber.de