Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2003-01-27 15:05:01


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk