
12 Dec
2006
12 Dec
'06
4:14 p.m.
Pavel Kalugin wrote:
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.",
Yep the example is wrong, fixed in cvs. Thanks for spotting that, John.