|
Boost : |
From: Pavel Kalugin (p.kalugin_at_[hidden])
Date: 2006-12-10 14:01:01
documentation for is_base_of says:
"... Note that is_base_of<X,X> will always inherit from true_type..."
and few lines after:
"is_base_of<Base, Base>::value is an integral constant expression that
evaluates to false: a class is not it's own base.",
http://boost.org/doc/html/boost_typetraits/reference.html#boost_typetraits.is_base_of
-- Pavel Kalugin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk