220 38000 <CAOHCbitzWkx=5N=-VOgfTL99UfismV2k2_P+KDHPf6zgdWarNw@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Tony V E <tvaneerd@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: variant again
Date: Wed, 25 Apr 2018 13:51:29 -0400
Lines: 81
Approved: news@gmane.org
Message-ID: <CAOHCbitzWkx=5N=-VOgfTL99UfismV2k2_P+KDHPf6zgdWarNw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="000000000000b68473056aafeb25"
X-Trace: blaine.gmane.org 1524678566 26993 195.159.176.226 (25 Apr 2018 17:49:26 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 25 Apr 2018 17:49:26 +0000 (UTC)
To: Standard Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCUZ5QWKNQIKFAED24CRUBD7OLUYI@isocpp.org Wed Apr 25 19:49:22 2018
Return-path: <std-proposals+bncBCUZ5QWKNQIKFAED24CRUBD7OLUYI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ot0-f199.google.com ([74.125.82.199])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCUZ5QWKNQIKFAED24CRUBD7OLUYI@isocpp.org>)
	id 1fBOXg-0006uJ-UU
	for gclcip-std-proposals@m.gmane.org; Wed, 25 Apr 2018 19:49:21 +0200
Original-Received: by mail-ot0-f199.google.com with SMTP id f103-v6sf15623949otf.14
        for <gclcip-std-proposals@m.gmane.org>; Wed, 25 Apr 2018 10:51:32 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1524678691; cv=pass;
        d=google.com; s=arc-20160816;
        b=TVBJaKXSxZMY+HfIJhnGAo0gm79DWw8RZdKG9VkykryXZWzfcvy1IiYQh5RjxrRe+o
         B2qlpRATd9qMkiSf06o7rO5Up4pZN6e+xkuVSSKcHCmbBkvdxLuwd1Cn66fy1V/5Ztju
         Qw2BAoEkP9/DTbHI8uwzJPhKM9u9FMJEu2bsoYnnjC2+OLr1Kh4a3P6S/j3mU429Ho2X
         FIwBUrbvb0MahzJN5uI8T3hnFIPPdw2Gi8elX5+GS1wtn4rJfLIU1n/EGSd+oUS6LAcS
         ufFIOOL6/DwkZP4eb0xS5kw1gIb0g8A7o1AfemtvyugyC7DsuypoCpf3bwri3fm4nq9Z
         S/Rg==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:mime-version:arc-authentication-results:arc-message-signature
         :dkim-signature:arc-authentication-results;
        bh=21z1HVS8Q2+M9ItOfpMGEHU1GOP91Kd0RA0KQLzJSxM=;
        b=ZJKjziLspxc7kpQiC2jpojeMPJAb8So4LSYhRojQgvrJL3jjDSywV405vESeWy/mV0
         J9XsUL8KqfKLiZQWzCby9/Ou4/W9EV2CibJDmHq0Uiw8BO/zWVgGkCkglXfYnMHoD0mi
         6l5CPMWsQM3eQuEE0H6Z7Ht81lKOoQolet+pibH3Al/WXyQVYiOyUNvOXI66lFLVikBx
         AyU7cHwiDjb7I545EI58MQwSV/CCbXMErJ0TqUwC/cwTV+mvPRmcvmCbdpTssAzTnE+k
         VwVmRpCG2hfF8V6nJHTgFKU+Q830zd2+NJAKV4qbrbMgQCBas7qHcIDTbEoPKBSmk6kR
         ZdEw==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=aojgvSSF;
       spf=pass (google.com: domain of tvaneerd@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tvaneerd@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:from:date:message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=21z1HVS8Q2+M9ItOfpMGEHU1GOP91Kd0RA0KQLzJSxM=;
        b=BqaBkuC5v49bkRPu1XGg+AoTIZ1ty/dEQlOvoVI6X8qPIOiF3WxR34cMVWGyNRbhp/
         PjUW43iMLNimCUU6iGPmm8L3QuR2Qv4UoUHwTQcd2gq/89Y8DOsu3wMxMQ8T6EVgs2LS
         qX2BfUC3JBnWFPxbdH+qCPKufQ6F5SgC+WPNqy3srNP1QREuoezVDHSgKZCC9wa/MyhE
         1rCqtEvKqZS9z+vyPnI4wgE1r+zEYoXX++m2SNPojr3vdQEfYjphk4pjoZqUyOOGLtbc
         BSnlkcagO5M0FiSScZyYCiBm0PqCPqtq8PlJR7NSQASO+EDyxuJ3Jv4UVVaP8vWbY6bv
         o9jA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=21z1HVS8Q2+M9ItOfpMGEHU1GOP91Kd0RA0KQLzJSxM=;
        b=izW+ER9HKRUhmnfKc0JLl4GktALAmNac7TxFz+ABku5EKT+xUk8vnAvTWNJbR2UiGw
         3BoqO5Nbn31TmhRZjuB+6BxoNPLRq1y7IPtkDo+iBzPmkYseDZIbTdxHFCMAtairXg+i
         YAgd+wMDgBWleQfjhxahtQDFI4NIPUt/R9LibE+u5lne47pqUjWeasm/cR5iQtoBonqG
         /LhbzvtUy+oL8+75KcKoqQjBZx7hWQhJ2gl20fE+dGOuvByZEie9uVYnTDxtm46pkhSF
         jpGQxxwWqk/CDcRlLxx8/GXpKyUVnZhgrlld4oLwKk5T/VUv9GGcq1biCO/GAtXwR58K
         efzQ==
X-Gm-Message-State: ALQs6tBBhYdGL2WzcVmg7JiYtULPbeTOt/gLhpYiZf52BzNY3qDGm1Gs
	Ag1v7o6mF/GnX6UaMLZW2LiBbA==
X-Google-Smtp-Source: AIpwx4+ltvIxyJZTRAtGASjo/ZT9LcNd0vpLDNimTFFpcPi5vYBtAJ0KL4CBzs4gxu6wAsfMFoFz+g==
X-Received: by 2002:aca:b28b:: with SMTP id b133-v6mr12102055oif.41.1524678691391;
        Wed, 25 Apr 2018 10:51:31 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:aca:4ed3:: with SMTP id c202-v6ls2877776oib.14.gmail; Wed,
 25 Apr 2018 10:51:30 -0700 (PDT)
X-Received: by 2002:aca:ebd4:: with SMTP id j203-v6mr19575709oih.110.1524678690256;
        Wed, 25 Apr 2018 10:51:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1524678690; cv=none;
        d=google.com; s=arc-20160816;
        b=dlUsndl1Exfz4OhdAT4JD2AlePqQKmjCIB5kmNg/2qvcFE3NOgq+RQhzkBf2Z3TE6y
         iKwDfEP+E6EqXP88BJ07YjgVBShyGsn8FamH06iP6L3DrG93GwJJDoW1yeT/c9K96ryg
         GbDAGcp8GcpkQLstEbwQKhb0Ulq5gJJbnnSDRHrQuEEuSPu8c0v2CcXUw0sXramlMaTx
         ynRozr0fqFIdRn4pTfvTOBESprjBY2OQZ/lF0wfAJzyyT4VNIpIMbfqMbojFlgXjZ3IU
         2WzoOPpbFcVw7vA196TbPwNZl9S/pGG52YnICr4fZlJIvVE1t1QqN33ZfkLYE6F4YYia
         qPEQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:mime-version:dkim-signature
         :arc-authentication-results;
        bh=qxNMxQcVHV0UpVulRL20IAER4EAr3Plwl/udTUWrRe8=;
        b=AodkX3yUOWoMGgNMSo7Mou4uLiusfHAIUBClO1Gni0K9S7zJRXSnyN/fVn/Mvu4Rgg
         DJnb93NcW/LdS8v+DXP12k5iso8ivhyDTEo8gzQvEcaNnoE1GKsmpc372hHzfpWD/dIS
         VeXLBkXGK0YgSJEt6NF36xseYom7+HCuYKdgT7Xaq7MztKzl1G1gVALcCzOVISqh0QcI
         XwnyAbjOr+u3PWuJmL+vItcGxHU3SJxLR18rR5QMtOkloFKLcQwaGVBU6Cu6CrLCpdCE
         17G+qo3wQ6lqMju1U2g3cP8eFdkYEQSGjmQAaJlITsZL/S3cHy7sgded3LXEjsKyDM/q
         wwjA==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=aojgvSSF;
       spf=pass (google.com: domain of tvaneerd@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tvaneerd@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id r18-v6sor6015419ota.289.2018.04.25.10.51.30
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Wed, 25 Apr 2018 10:51:30 -0700 (PDT)
Received-SPF: pass (google.com: domain of tvaneerd@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:a9d:3db6:: with SMTP id l51-v6mr18910372otc.265.1524678689979;
 Wed, 25 Apr 2018 10:51:29 -0700 (PDT)
Original-Received: by 2002:a9d:1a73:0:0:0:0:0 with HTTP; Wed, 25 Apr 2018 10:51:29
 -0700 (PDT)
X-Original-Sender: tvaneerd@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=aojgvSSF;       spf=pass
 (google.com: domain of tvaneerd@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=tvaneerd@gmail.com;       dmarc=pass (p=NONE
 sp=QUARANTINE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:38000
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/38000>

--000000000000b68473056aafeb25
Content-Type: text/plain; charset="UTF-8"

On Wed, Apr 25, 2018 at 10:40 AM, 'Matt Calabrese' via ISO C++ Standard -
Future Proposals <std-proposals@isocpp.org> wrote:

> On Tue, Apr 24, 2018 at 1:32 PM Tony V E <tvaneerd@gmail.com> wrote:
>
>> Also, it will only get into that state because some move-operation threw.
>>
>
> *cough*
>
> libc++: https://wandbox.org/permlink/0ag3V2oVa3MBcWmz
> libstdc++: https://wandbox.org/permlink/LEUsrj9ir5vyVcST
>
>
>

Why doesn't variant revert back to the int when the copy throws?  We don't
want to pay for the moves?

-- 
Be seeing you,
Tony

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAOHCbitzWkx%3D5N%3D-VOgfTL99UfismV2k2_P%2BKDHPf6zgdWarNw%40mail.gmail.com.

--000000000000b68473056aafeb25
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Apr 25, 2018 at 10:40 AM, &#39;Matt Calabrese&#39; via ISO C++ =
Standard - Future Proposals <span dir=3D"ltr">&lt;<a href=3D"mailto:std-pro=
posals@isocpp.org" target=3D"_blank">std-proposals@isocpp.org</a>&gt;</span=
> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"g=
mail_quote"><span class=3D""><div dir=3D"ltr">On Tue, Apr 24, 2018 at 1:32 =
PM Tony V E &lt;<a href=3D"mailto:tvaneerd@gmail.com" target=3D"_blank">tva=
neerd@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra">Also, it will on=
ly get into that state because some move-operation threw.</div></div></bloc=
kquote><div><br></div></span><div>*cough*=C2=A0</div><div><br></div><div>li=
bc++: <a href=3D"https://wandbox.org/permlink/0ag3V2oVa3MBcWmz" target=3D"_=
blank">https://wandbox.org/permlink/<wbr>0ag3V2oVa3MBcWmz</a></div><div>lib=
stdc++:=C2=A0<a href=3D"https://wandbox.org/permlink/LEUsrj9ir5vyVcST" targ=
et=3D"_blank">https://wandbox.<wbr>org/permlink/LEUsrj9ir5vyVcST</a></div><=
/div></div><span class=3D"">

<p></p></span><br clear=3D"all"></blockquote></div><br><br></div><div class=
=3D"gmail_extra">Why doesn&#39;t variant revert back to the int when the co=
py throws?=C2=A0 We don&#39;t want to pay for the moves?<br><br></div><div =
class=3D"gmail_extra">-- <br><div class=3D"gmail_signature" data-smartmail=
=3D"gmail_signature"><div dir=3D"ltr"><div>Be seeing you,<br></div>Tony<br>=
</div></div>
</div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAOHCbitzWkx%3D5N%3D-VOgfTL99UfismV2k=
2_P%2BKDHPf6zgdWarNw%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfoote=
r">https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAOHCbitzWk=
x%3D5N%3D-VOgfTL99UfismV2k2_P%2BKDHPf6zgdWarNw%40mail.gmail.com</a>.<br />

--000000000000b68473056aafeb25--

.
