🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mailing.gcc.libstdc++
Article #1

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

#1
From: Jonathan Wakely
Date: Sat, 06 Aug 2016 00:17
17 lines
1462 bytes
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.
Technical Details
Message-ID: <mailpost.1470442717.7310310.78420.mailing.gcc.libstdc++@FreeBSD.cs.nctu.edu.tw>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!not-for-mail
References: <CAG4ZjN=LU1=v71unVpkHqQs9aX4TroGArrkRdq3WRjnE4ad8-Q@mail.gmail.com>

Show Full Headers
Complete Article Headers
Message-ID: <mailpost.1470442717.7310310.78420.mailing.gcc.libstdc++@FreeBSD.cs.nctu.edu.tw>
Subject: Re: [Patch] Implement std::experimental::variant
Date: Sat, 6 Aug 2016 01:17:45 +0100
From: jwakely.gcc@gmail.com (Jonathan Wakely)
References: <CAG4ZjN=LU1=v71unVpkHqQs9aX4TroGArrkRdq3WRjnE4ad8-Q@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!not-for-mail
Mailing-List: contact libstdc++-help@gcc.gnu.org; run by ezmlm
Lines: 18
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Received-Body-Crc: 146919408
Organization: NCTU CS FreeBSD Server
Content-Type: text/plain; charset=UTF-8
X-Received-Bytes: 1748
Newsgroups: mailing.gcc.libstdc++
Sender: news@FreeBSD.cs.nctu.edu.tw