|
Boost : |
Subject: Re: [boost] Another variant type (was: [peer review queue tardiness] [was Cleaning out the Boost review queue] Review Queue mem
From: Eric Niebler (eniebler_at_[hidden])
Date: 2015-04-13 17:38:25
On 4/13/2015 1:48 PM, Larry Evans wrote:
> Thanks again, Eric.
>
> However, the range-v3 variant get member function here:
>
> https://github.com/ericniebler/range-v3/blob/master/include/range/v3/utility/variant.hpp#L581
>
> is not a constexpr function, so why isn't
> std::aligned_union<Ts...> for the data storage and a bunch of
> placement news for construction, and reinterpret casts for the get
> member function used instead of the recursive union, located
> here:
>
> https://github.com/ericniebler/range-v3/blob/master/include/range/v3/utility/variant.hpp#L91
>
> ?
I've been busy.
-- Eric Niebler Boost.org http://www.boost.org
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk