Rani Sharoni posted one possible implementation on http://tinyurl.com/459q (c.l.c++.m, 2002-07-11, topic 'is_abstract_class implementation!').

The implementation depends on border-case C++ feature (more in Rani's text). I compiled it sucessfully with Comeau online compiler.

It may be considered as addition to type_traits library, after the standard settles on it.

is_abstract_class<T> may be useful e.g. to enforce "don't derive from non-abstract classes" constraint.

/Pavel






_________________________________________________________________
MSN 8: advanced junk mail protection and 2 months FREE*. http://join.msn.com/?page=features/junkmail

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

Reply via email to