Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-11 15:36:57


----- Original Message -----
From: "Rene Rivera" <grafik666_at_[hidden]>

> So does that mean you consider "class" a hack ;-)

definitely.

> I'm trying out a class bassed implementation of containers right now.
> Starting with "container.list"; I'll see how it goes. Seems like a good
way
> to learn about the class module.
>
> And one immediate comment... It would be nice to have an "is-a" rule :-)
>

so write one:

rule is-a ( instance : type )
{ return [ class.is-derived [ modules.peek $(instance) : __class__ ] :
$(type) ] ; }

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk