Boost logo

Boost :

From: Lars Gullik Bjønnes (larsbj_at_[hidden])
Date: 2004-01-02 09:07:39

"John Maddock" <john_at_[hidden]> writes:

>> type_traits/tricky_is_enum_test
| That's down to gcc not supporting a conforming is_class
| implementation, I
| think an issue should be open on this already, but I'll submit one
| anyway.

I just saw that your report was marked as a duplicate.

In the original case a work-around is mentioned, would that work with
the other compilers?


static const bool value =
(sizeof(is_class::is_class_tester<T>(0)) == sizeof(char));

instead of

static const bool value =
(sizeof(is_class_tester<T>(0)) == sizeof(char));


Boost list run by bdawes at, gregod at, cpdaniel at, john at