Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-05-11 14:23:52


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

>
>----- Original Message -----
>From: "Rene Rivera" <grafik666_at_[hidden]>
>> >
>> >It ain't easy; most approaches are hacks. Your trick might be as good as
>it
>> >gets. You could write a "Jam expression parser" and build lists as space
>> >separated elements. Of course you'd need to quote any embedded spaces.
>>
>> A somewhat less kuldge way of doing this is what Perl does. Store a list
>of
>> references(autogenerated) to other variables, which then store the
>values.
>> We should be able to store arbitrary structures this way.
>
>Like I said, most approaches are hacks ;-) You can do that with module
>variables, but if you want this entire list to be local, you're out of luck
>:(

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

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 :-)

-- 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