4 Feb
2005
4 Feb
'05
9:07 p.m.
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
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