Boost logo

Boost :

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

Rani Sharoni posted one possible implementation on
(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.


MSN 8: advanced junk mail protection and 2 months FREE*.

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