Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-11-26 08:01:08

>I like Vesa's approach:

   is< D >::derived_from< B >::value
   is< B >::base_of< D >::value

Is it possible to make this work on most compilers?

Probably, however there are some people you use type traits as compile time
predicates (see

I also worry about a class with a name "is" being in namespace boost - it
looks like it's too likely to clash with something to me?

- John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at