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




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to