Boost logo

Boost :

Subject: Re: [boost] [Review] Boost.Type Traits Extension by Frederic Bron
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-03-16 02:24:28


>> There would seem to me to be a very strong case for having the same names
>> as
>> in Boost.Proto and Boost.Operator.

It would be difficult to have the same names as in Boost.Proto and
Boost.Operator as they are different. However Boost.Proto seems to be the
good candidates as it addresses all operators which is not the case for
Boost.Operator. Also many names are already the same (see below).

Frédéric

type_traits Boost.Proto Boost.Operators binary

 == equal_to equal_to equality_comparable != not_equal_to not_equal_to
 < less less less_than_comparable <= less_equal less_equal
> greater greater
>= greater_equal greater_equal
 + plus plus
 - minus minus
 * multiplies multiplies
 / divides divides
 % modulus modulus
 += plus_equal plus_assign addable -= minus_equal minus_assign
substractable *= multiplies_equal multiplies_assign multipliable /=
divides_equal divides_assign dividable %= modulus_equal modulus_assign
modable & bit_and bitwise_and
 | bit_or bitwise_or
 ^ bit_xor bitwise_xor
 &= bit_and_equal bitwise_and_assign andable |= bit_or_equal
bitwise_or_assign orable ^= bit_xor_equal bitwise_xor_assign xorable <<
left_shift shift_left
>> right_shift shift_right
 <<= left_shift_equal shift_left_assign left_shiftable >>=
rifht_shift_equal shift_right_assign right_shiftable && logical_and
logical_and
 || logical_or logical_or
 prefix

 + unary_plus unary_plus
 - unary_minus negate
 ~ complement complement
 ! logical_not logical_not
 * dereference dereference
 ++ prefix_increment pre_inc incrementable -- prefix_decrement pre_dec
decrementable postfix

 ++ postfix_increment post_inc
 -- postfix_decrement post_dec


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk