> I noticed that is_class actually detects classes only for the Metrowerks
> and the VC++, other compilers use a fall-back implementation which works
> by detecting everything but classes and thus everything which remains has
> to be a class. This is IMHO broken as i.e. member functions are detected
> as classes.

They shouldn't be, and aren't for other compilers, and in fact the member
function pointers that are tested in the test suite don't get mis-assigned
as class types, even with gcc.  I accept that there is a problem with gcc
though because <T U::*> partial specialisations don't pick up member
function pointers as it should, so we ended up with a long list :-(

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to