Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2004-09-21 08:13:51


Tobias Schwinger wrote:
> 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.
>
... and breaks coverage for enum types.

There are ways to make it work again (see previous message at another
position of this thread).

I need some time to think about how to merge it in elegantly, though.


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