Boost logo

Boost :

Subject: Re: [boost] Another variant type (was: [peer review queue tardiness] [was Cleaning out the Boost review queue] Review Queue mem
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2015-04-04 18:06:35


You need to use a recursive union if you are to get some constexpr support.

On Sat, Apr 4, 2015 at 8:15 AM, Gonzalo BG <gonzalobg88_at_[hidden]> wrote:

> FYI, the eggs.variant discussed above also uses a recursive union, e.g.
> see:
>
>
> https://github.com/eggs-cpp/variant/blob/master/include/eggs/variant/detail/storage.hpp#L88
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
-Matt Calabrese

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