Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-05-11 15:49:06


On 2002-05-11 at 03:36 PM, david.abrahams_at_[hidden] (David Abrahams) wrote:

>
>----- Original Message -----
>From: "Rene Rivera" <grafik666_at_[hidden]>
>
>> 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) ] ; }

I did, although yours seems cleaner than mine.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]

 


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