220 29154 <CAFk2RUZ10e+3_PG+yiHrOj1NxuC4W_sd5ia5tR2H43cJtA5hxQ@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Initializer list for move-only types
Date: Thu, 27 Oct 2016 10:16:05 +0300
Lines: 35
Approved: news@gmane.org
Message-ID: <CAFk2RUZ10e+3_PG+yiHrOj1NxuC4W_sd5ia5tR2H43cJtA5hxQ@mail.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>
 <BAC1B984-1709-4DC9-9A65-DF3DBDB1036E@gmail.com> <CAFk2RUaHCWTJ7U_X2g09RwfCx9R02YjbSH=KTVNowUQE1mHuJQ@mail.gmail.com>
 <CANu6V4UtYph6qt0_251PaUjAHV4Py5TjeCXvL8qMix4zaYq8hw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: blaine.gmane.org 1477552582 13207 195.159.176.226 (27 Oct 2016 07:16:22 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 27 Oct 2016 07:16:22 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBNWTY3AAKGQEUE5LFHY@isocpp.org Thu Oct 27 09:16:17 2016
Return-path: <std-proposals+bncBC5JHI7A7ALRBNWTY3AAKGQEUE5LFHY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qt0-f199.google.com ([209.85.216.199])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBNWTY3AAKGQEUE5LFHY@isocpp.org>)
	id 1bzeuy-0001IB-HJ
	for gclcip-std-proposals@m.gmane.org; Thu, 27 Oct 2016 09:16:04 +0200
Original-Received: by mail-qt0-f199.google.com with SMTP id g32sf16298490qta.2
        for <gclcip-std-proposals@m.gmane.org>; Thu, 27 Oct 2016 00:16:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references: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=g/vNLI0tap38Q2J2yNvsXjQTLH/lmIVndiu/g6UR0Vc=;
        b=wkGlEEaVnPcQ4BrFmI57VakwkptS0Z47Iglin1MrjLI6AvWw5RbK38W1QEROEKLbU3
         Hm6R4NM7TvZ6pPmtYzvKTtbszRxMwS/QlIO5jCU+7yd4/oLPI1QMRYit466BSQBl2vQh
         3T8qs++DRTcpuYHwK+jPr8+HJHAhqcQplREIKW6Ls7e8de8xzCIkdE0DJMIETIYV8vEi
         Tr6AWr/qL4BlCVrG3YJ0vOpxByR/YSHU3WLCPO07rMyfD7iw2o3xdNf+iJ61RhPcSLfG
         ZVe/1UzTI72jpWJUWHhibQw07l0/4SLlrafSCpmhIPlzyv7opPySf9wVjBA7d5FbesCm
         xt0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references: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=g/vNLI0tap38Q2J2yNvsXjQTLH/lmIVndiu/g6UR0Vc=;
        b=P4YY1XTt8Uchuwm8PlSPc3XHe4PryRtMcSjRzOR7u/CztU/dLajb3jR1DsTOd75BTk
         Es9IhoGANUIvpaOqJd5a4uvCJ68QXI8MjoD0G1SqsQv0RZM3M39JPZgrpweFCrJ/iy1Z
         jnNPxs3mAz1b8G5v0NXTSMQcWk+5ACgyeDJQWVT4e77kXm/z52VCIG47I2pgjJOZMt21
         8W0h378HqFutS/Pji5MP3k+XOB3SkGIRUY5Wx68dCfdOGsVBpMraaXddWDdjU/I1Gj9S
         A8jtzHPM10E/xsFbNESfQtyHJ1ToNFzJo/KtbCkFvCf49dMVF6xRCQDQR93EkzHZBvnb
         ZgxQ==
X-Gm-Message-State: ABUngvewQOVklPgA8Z4m3S5OKw1wUpbW/aENiAS9joUvl2AlQm3ZbJp56S7EiQtCH3R++w==
X-Received: by 10.200.52.23 with SMTP id u23mr1844801qtb.80.1477552566915;
        Thu, 27 Oct 2016 00:16:06 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.15.174 with SMTP id d43ls3303594otd.11.gmail; Thu, 27 Oct
 2016 00:16:06 -0700 (PDT)
X-Received: by 10.129.103.86 with SMTP id b83mr6166149ywc.217.1477552566150;
        Thu, 27 Oct 2016 00:16:06 -0700 (PDT)
Original-Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com. [2607:f8b0:4002:c05::230])
        by mx.google.com with ESMTPS id e129si2154409ywd.209.2016.10.27.00.16.06
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 27 Oct 2016 00:16:06 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:4002:c05::230 as permitted sender) client-ip=2607:f8b0:4002:c05::230;
Original-Received: by mail-yw0-x230.google.com with SMTP id h14so33885560ywa.2
        for <std-proposals@isocpp.org>; Thu, 27 Oct 2016 00:16:06 -0700 (PDT)
X-Received: by 10.36.127.10 with SMTP id r10mr5028317itc.14.1477552565771;
 Thu, 27 Oct 2016 00:16:05 -0700 (PDT)
Original-Received: by 10.36.28.200 with HTTP; Thu, 27 Oct 2016 00:16:05 -0700 (PDT)
In-Reply-To: <CANu6V4UtYph6qt0_251PaUjAHV4Py5TjeCXvL8qMix4zaYq8hw@mail.gmail.com>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 ville.voutilainen@gmail.com designates 2607:f8b0:4002:c05::230 as permitted
 sender) smtp.mailfrom=ville.voutilainen@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:29154
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29154>

On 27 October 2016 at 10:07, 'Johannes Schaub' via ISO C++ Standard -
Future Proposals <std-proposals@isocpp.org> wrote:
>> Neither. I'm referring to filling the functionality gap without
>> changing the meaning
>> of existing code, so that
>>
>> vector<unique_ptr<int>> vec{make_unique<int>(42), make_unique<int>(666)};
>>
>> works but there's no change to any currently valid cases.
>>
>
> I don't see the utility of changing the meaning of deduction yet. I think in
> the deducing cases, we could stay with const shallow initializer list (if
> only for backward compatibility).
>
> However outside of those two examples, what are cases that change meaning,
> and what were the cases that caused evolution to reject the paper? It
> appears to me that even David himself doesn't know about them yet (?)

I don't necessarily know of cases outside those two examples, because those
two examples are what changes meaning. The paper provides a similar example,

auto ls = { std::string( "hello" ) }; // ls has type
std::own_initializer_list< std::string >

and also

std::vector< std::string > vs = { "yizzo" }; // OK: move from sequence

-- 
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/CAFk2RUZ10e%2B3_PG%2ByiHrOj1NxuC4W_sd5ia5tR2H43cJtA5hxQ%40mail.gmail.com.

.
