|
Boost : |
Subject: Re: [boost] [Review] Boost.Type Traits Extension ending tomorrow
From: Joachim Faulhaber (afojgo_at_[hidden])
Date: 2011-03-20 04:21:55
2011/3/19 Frédéric Bron <frederic.bron_at_[hidden]>:
>> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk