|
Boost : |
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2004-09-21 07:09:15
Tobias Schwinger wrote:
> class_or_union type_category(...);
>
> integral_or_enum type_category(char);
> integral_or_enum type_category(short);
> integral_or_enum type_category(int);
> integral_or_enum type_category(long);
>
> real_number type_category(float);
> real_number type_category(double);
This is still confusable by a class with implicit conversion operator.
Using a pointer to these types instead, however, solves this problem.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk