220 29146 <BAC1B984-1709-4DC9-9A65-DF3DBDB1036E@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: David Krauss <potswa@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Initializer list for move-only types
Date: Thu, 27 Oct 2016 10:21:17 +0800
Lines: 84
Approved: news@gmane.org
Message-ID: <BAC1B984-1709-4DC9-9A65-DF3DBDB1036E@gmail.com>
References: <34f09dd5-e231-4a0b-a218-48c8eabe73c5@isocpp.org> <CACGiwhFZMkmBHsfhOZXzthKhw8+kGkiiwGNu+LtXCOWHP5DOFA@mail.gmail.com> <6030c88d-626c-4cf9-a0e6-963ae3fbe708@isocpp.org> <ebe45369-2d16-4e75-802a-ea0a930aff73@isocpp.org> <CAFk2RUaVN2W9BvfzF8b4LwPOthTrz47bvqNkE8QzY7biGBfFxg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_B68F19EB-4591-442C-BBC7-104F0528A7F0"
X-Trace: blaine.gmane.org 1477534879 31606 195.159.176.226 (27 Oct 2016 02:21:19 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 27 Oct 2016 02:21:19 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCW25A7E3QCRBCWJYXAAKGQENL3PGRY@isocpp.org Thu Oct 27 04:21:14 2016
Return-path: <std-proposals+bncBCW25A7E3QCRBCWJYXAAKGQENL3PGRY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qk0-f197.google.com ([209.85.220.197])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCW25A7E3QCRBCWJYXAAKGQENL3PGRY@isocpp.org>)
	id 1bzaJO-0005lZ-Vk
	for gclcip-std-proposals@m.gmane.org; Thu, 27 Oct 2016 04:20:59 +0200
Original-Received: by mail-qk0-f197.google.com with SMTP id x11sf26152779qka.5
        for <gclcip-std-proposals@m.gmane.org>; Wed, 26 Oct 2016 19:21:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:mime-version:subject:date:references:to:in-reply-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=Rbz92w5ZkcB5Hb93rhVr7tvUujIQ0WppAQRVZfOGKRE=;
        b=sEz+X5pdudpGcxJXlYRNxtajl6fPYyD1/6GB12NijostZZ96IbY3kiwNqhyBErMD5R
         XIN8b7PERuzxtCL7KvAGact5CZhsrjyjx5/JUQPXqGAudNK8fnWVzrwjPI0Xvnu5B+yq
         73ca/MfQPxVe/i+RJbXz3MjhBVOiMX4OUxRLkACRzMvGPJqxR0TWKCCsO4KAiEr/vay0
         PkKGgy4wE8XO5SUpDO6Xx2VgE+WF9WImBdoyVVO1nPpBH0KusxZ6Dh37WwhqNyjBUUyB
         WSpVId97uXA+azY+D8ukY99GvYlkkzmyCVPl5LjZ0xY2MKvAy0YyLUqI9q8MTvg0N5e+
         Dg2A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:mime-version:subject:date
         :references:to:in-reply-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=Rbz92w5ZkcB5Hb93rhVr7tvUujIQ0WppAQRVZfOGKRE=;
        b=OMLxM0FIlC9iA3wldfj9sPdHY+gsMIVRKXM+7JT5/O7OQ+SZjGz+uyoajYvJkhVT2a
         aW1zg4vWc/IpKjGRcpEr9LPHQZkizOx4+qU2FlgsJ4H+G3FdP7rrLGBP1vKZoFKAgEm+
         wNynOCByh1Q8cJAI55MkqphOD5d5isaRgNolQLLxeWKrvYy/JW05LgzA5evuvuwDsszn
         FYfqOgdZ6sX3BocZIxTyirilxLgK0XlN6Fr5ryg176b3XluLx29QVuVdgFkZxETSg9Yl
         g1XWTgydq0s5Gb5hCH7dgKuL3dRfGuRt1vpqLEwRIunUzS7fS0wZAf3dnGboBZjMHsOC
         j5AQ==
X-Gm-Message-State: ABUngvcKDkNK1gv8izfGCyXCE0zEZCg0wnrvWpvGUuowjqPVxoGH6Bph7W4xbkh2IPXQsw==
X-Received: by 10.200.52.112 with SMTP id v45mr1676004qtb.36.1477534861378;
        Wed, 26 Oct 2016 19:21:01 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.36.254.74 with SMTP id w71ls2371040ith.19.canary-gmail; Wed,
 26 Oct 2016 19:20:58 -0700 (PDT)
X-Received: by 10.99.51.133 with SMTP id z127mr842783pgz.41.1477534857951;
        Wed, 26 Oct 2016 19:20:57 -0700 (PDT)
Original-Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com. [2607:f8b0:400e:c00::232])
        by mx.google.com with ESMTPS id 73si5467080pfq.159.2016.10.26.19.20.57
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 26 Oct 2016 19:20:57 -0700 (PDT)
Received-SPF: pass (google.com: domain of potswa@gmail.com designates 2607:f8b0:400e:c00::232 as permitted sender) client-ip=2607:f8b0:400e:c00::232;
Original-Received: by mail-pf0-x232.google.com with SMTP id 197so7368988pfu.0
        for <std-proposals@isocpp.org>; Wed, 26 Oct 2016 19:20:57 -0700 (PDT)
X-Received: by 10.98.76.194 with SMTP id e63mr9733604pfj.95.1477534857545;
        Wed, 26 Oct 2016 19:20:57 -0700 (PDT)
Original-Received: from [172.20.10.2] ([175.158.200.92])
        by smtp.gmail.com with ESMTPSA id e6sm6945207pfb.57.2016.10.26.19.20.55
        for <std-proposals@isocpp.org>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 26 Oct 2016 19:20:56 -0700 (PDT)
In-Reply-To: <CAFk2RUaVN2W9BvfzF8b4LwPOthTrz47bvqNkE8QzY7biGBfFxg@mail.gmail.com>
X-Mailer: Apple Mail (2.3096.5)
X-Original-Sender: potswa@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of potswa@gmail.com
 designates 2607:f8b0:400e:c00::232 as permitted sender) smtp.mailfrom=potswa@gmail.com;
       dmarc=pass (p=NONE 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-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:29146
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29146>


--Apple-Mail=_B68F19EB-4591-442C-BBC7-104F0528A7F0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8


> On 2016=E2=80=9310=E2=80=9326, at 10:04 PM, Ville Voutilainen <ville.vout=
ilainen@gmail.com> wrote:
>=20
> Interesting trip report, but the objection is that it changes the
> meaning of existing cases. It's possible
> that a proposal for a movable_initializer_list that is used only if
> the traditional one can't would fare
> better,

Are you referring to deduction of local variables, e.g. auto list =3D { "fo=
o"s, "bar"s, "baz"s } or for ( auto && str : { "foo"s, "bar"s, "baz"s } )?

Or something to do with overloading, e.g. std::vector< std::string > list {=
 "foo"s, "bar"s, "baz"s }?

> but the author didn't agree to such an approach.


??

--=20
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 e=
mail 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/BAC1B984-1709-4DC9-9A65-DF3DBDB1036E%40gmail.com=
..

--Apple-Mail=_B68F19EB-4591-442C-BBC7-104F0528A7F0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;" class=3D""><br class=3D""><di=
v><blockquote type=3D"cite" class=3D""><div class=3D"">On 2016=E2=80=9310=
=E2=80=9326, at 10:04 PM, Ville Voutilainen &lt;<a href=3D"mailto:ville.vou=
tilainen@gmail.com" class=3D"">ville.voutilainen@gmail.com</a>&gt; wrote:</=
div><br class=3D"Apple-interchange-newline"><div class=3D""><div class=3D""=
>Interesting trip report, but the objection is that it changes the<br class=
=3D"">meaning of existing cases. It's possible<br class=3D"">that a proposa=
l for a movable_initializer_list that is used only if<br class=3D"">the tra=
ditional one can't would fare<br class=3D"">better,</div></div></blockquote=
><div><br class=3D""></div><div class=3D"">Are you referring to deduction o=
f local variables, e.g.&nbsp;<font face=3D"Courier" class=3D"">auto list =
=3D {&nbsp;"foo"s,&nbsp;</font><span style=3D"font-family: Courier;" class=
=3D"">"bar"s</span><font face=3D"Courier" class=3D"">,&nbsp;"baz"s&nbsp;}</=
font>&nbsp;or&nbsp;<font face=3D"Courier" class=3D"">for ( auto &amp;&amp; =
str :&nbsp;{&nbsp;"foo"s,&nbsp;"bar"s,&nbsp;"baz"s&nbsp;}&nbsp;)</font>?</d=
iv><div class=3D""><br class=3D""></div><div class=3D"">Or something to do =
with overloading, e.g. <font face=3D"Courier" class=3D"">std::vector&lt; st=
d::string &gt; list {&nbsp;"foo"s,&nbsp;"bar"s,&nbsp;"baz"s&nbsp;}</font>?<=
/div><div class=3D""><br class=3D""></div><blockquote type=3D"cite" class=
=3D""><div class=3D""><div class=3D"">but the author didn't agree to such a=
n approach.<br class=3D""></div></div></blockquote></div><div class=3D""><b=
r class=3D""></div><div class=3D"">??</div><div class=3D""><div class=3D"">=
<br class=3D""></div></div></body></html>

<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/BAC1B984-1709-4DC9-9A65-DF3DBDB1036E%=
40gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/BAC1B984-1709-4DC9-9A65-DF3DBDB1036E%=
40gmail.com</a>.<br />

--Apple-Mail=_B68F19EB-4591-442C-BBC7-104F0528A7F0--

.
