This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Implement std::experimental::variant


On 5 August 2016 at 18:39, Tim Shen wrote:
>> There are
>> other variant implementations
>> written in C++17 that provide full conformance, so I think our variant
>> should do so too.
>
> Can you share a pointer to that implementation? I have tried to use
> union but still have questions with it.

I think Anthony Williams's implementation uses a union, but I don't
know if it supports the constexpr requirements.

https://bitbucket.org/anthonyw/variant

I think Agustín Bergé has a conforming implementation too, but I don't
know where that is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]