Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2003-08-29 19:08:07


> BTW, after looking at the implementation I was a bit disappointed to
> see two copies of the storage. It seems to nullify one
> important reason for using variants (space savings), and it generates
> more code than a single-storage version. I know you had some rationale
for
> that but I don't remember what it is; I hope it's in the docs along
> with some explanation of the expected size of the resulting object.
>
> Regards,
> Dave

Double storage is needed to ensure strong guaraty for variant. I argued need
for it before and I still believe we not nesseserily need to do that (I
remember your post on the topic, that strong guaranty is a "incorrect" goal
to pursue for the variant).

Gennadiy.


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