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
- [boost] Re: is_base_and_derived question Thomas Witt
- [boost] Re: is_base_and_derived question Andrei Alexandrescu
- [boost] Re: is_base_and_derived question Gennaro Prota
- Re: [boost] Re: is_base_and_derived quest... John Maddock
- Re: [boost] Re: is_base_and_derived q... Gennaro Prota
- Re: [boost] Re: is_base_and_derived q... David Abrahams
- [boost] Re: Re: is_base_and_deri... Rani Sharoni
- [boost] Re: Re: is_base_and_... Rani Sharoni
- Re: [boost] Re: Re: is_b... Peter Dimov
- [boost] Re: Re: Re: is_b... Rani Sharoni
- Re: [boost] Re: Re: is_base_... Terje Slettebø