Hi,

the type traits documentation for is_base_and_derived<T,U> says

Evaluates to true if type T is a base class to type U.

IIUC is_based_and_derived<T,T> evaluates to true as well. Is a class T strictly speaking a base class of itself?

TIA

Thomas

--
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de

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

Reply via email to