Boost logo

Boost Users :

Subject: [Boost-users] [type traits] Extension to operator detection -> choose your preferred naming
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-08-24 02:22:45


It is time to include the type trait extension to the official boost trunk.
These traits can detect if you can use a given operator with given arguments.

For example: has_plus<double, int>::value is true because the
following program compiles without error:
double lhs;
int rhs;
lhs+rhs;

We have come to three proposed lists of names (A, B and C):
https://svn.boost.org/trac/boost/wiki/GuideLines/Naming/OperatorTraitNames
I have included the corresponding names of standard keywords, standard
function objects from <functional>, boost Proto and boost Operators.

Please give your preference between A, B and C before Sept. 5th.

Regards,

Frédéric


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net