Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-01-06 16:20:47


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


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