Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-05-13 14:05:58


On Monday 13 May 2002 02:12 pm, you wrote:
> I was just wondering why there already isn't something like this
> in the boost... It seems that beside this, the only thing that was
> left out is the Pope's Ear.

Every time this comes up, we all get hung up on the space efficiency problem.
Each of these propery/attribute members takes at least 1 byte of space, which
can add up quickly if you have lots of properties/attributes in an object.
The obvious answer (put them in a union) doesn't work because then they can't
have assignment operators. Personally, I'd love to have this capability but
I'd only be willing to sacrifice a constant amount of storage per object
instance.

        Doug


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