Boost logo

Boost :

Subject: Re: [boost] [TypeTraits] is it possible to add something to boost.type_traits?
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2009-12-16 02:35:54


> It would really be nice to have type_traits for all the possible
> user-defined operators.

For the moment, I am working on <, <=, >, >=, ==, !=, +, -, *, /, %.
The main difficulty is to treat operators that are not defined for
built-in types as a specialization is to be provided in each case. For
%, I have a very long list of exceptions.
When you say all operators, do you mean &&, || and bitwise operators?
Can you enumerate the operators you're thinking of?

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