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 http://www.oonumerics.org/tmpw01/winch.pdf).

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
http://ourworld.compuserve.com/homepages/john_maddock/


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