|
Boost : |
Subject: Re: [boost] review request: addition to type_traits library of has_operator_xxx
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2010-11-17 15:12:28
> 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 +=, -=, *=, /=?
Frédéric
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk