Subject: Re: [boost] review request: addition to type_traits library of has_operator_xxx
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-11-17 17:17:09
On 11/17/2010 3:12 PM, Frédéric Bron wrote:
>> Without trying to make more work along your lines, would it be easy enough
>> for you to add the left shift (<< ) and right shift (>> ) binary
>> operators, and/or the incrementable ( ++x and x++ ) and decrementable ( --x
>> and x-- ) unary operators, or are any of these especially different or much
>> more difficult cases ?
> Surely<< and>> are totally similar and I will add them.
> Prefix ++ and -- should work just fine also.
> Postfix ++ and -- need special care due to the additionnal int but
> this should be rather straitforward.
> What about +=, -=, *=, /=?
Yes the op= set of operators would be very nice to have also.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk