Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-02-04 16:07:39


While you're at it, any possibility you could add serialization to
boost::variant?

Robert Ramey

Bruno Martínez Aguerre wrote:
> On Thu, 03 Feb 2005 00:33:37 +0200, Yuval Ronen
> <ronen_yuval_at_[hidden]> wrote:
>
>> Eric Friedman wrote:
>>> Hi,
>>> I can imagine cases where the current behavior might be preferable
>>> (e.g., uses of variant types in generic contexts). But I think for
>>> the vast majority of cases, and especially in non-generic contexts,
>>> checking the type as you propose is a good idea.
>>> I will determine a way to work this into the library, either by
>>> modifying the semantics of boost::get or by introducing a new
>>> accessor function. Thanks for the input.
>>> Eric Friedman
>>> Co-author of Variant library
>>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net