220 29151 <CAFk2RUaHCWTJ7U_X2g09RwfCx9R02YjbSH=KTVNowUQE1mHuJQ@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 09:27:13 +0300
Lines: 30
Approved: news@gmane.org
Message-ID: <CAFk2RUaHCWTJ7U_X2g09RwfCx9R02YjbSH=KTVNowUQE1mHuJQ@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>
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 1477549663 20873 195.159.176.226 (27 Oct 2016 06:27:43 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 27 Oct 2016 06:27:43 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBQ54Y3AAKGQEFYWCVYI@isocpp.org Thu Oct 27 08:27:39 2016
Return-path: <std-proposals+bncBC5JHI7A7ALRBQ54Y3AAKGQEFYWCVYI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw0-f200.google.com ([209.85.161.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBQ54Y3AAKGQEFYWCVYI@isocpp.org>)
	id 1bze9h-0001g2-8W
	for gclcip-std-proposals@m.gmane.org; Thu, 27 Oct 2016 08:27:13 +0200
Original-Received: by mail-yw0-f200.google.com with SMTP id n126sf35372341ywd.4
        for <gclcip-std-proposals@m.gmane.org>; Wed, 26 Oct 2016 23:27:16 -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=OjX0IHK3autZeoqpz5o5Om3+Ibde+q0bDVMqZ4hKf6g=;
        b=zzhTZGtUhxN2soS7biC7//YLpfZycH9CWHn1E1SXrbTdLOpYDpjJUKRxOGtFbD0Q14
         ufWAUglIaBZ8BYHrj9K8LytQgs+1Zq78dzpPwH07ytJ+Nzz7ReMwZO5SpL+0WTdaXDD/
         V+5935D3Pz4VcydjAkKVqZvOUW8E0PvuZ8tE8MmP4/K7HieECwrdKQ2g35v7AwRBsgoC
         U/MtuXQoSTvO/2mrKkmedrqS7GwDmdpqywQNS5WccXvMIjz7oWLq7TynmZW8kXEiXPl+
         th8OC2jVQboNQPYvShQ0UjvodnR6fqBh2P83kyuQQ0b49Ya3PuIKPV6HOK8wQYd6ekfZ
         Y/8w==
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=OjX0IHK3autZeoqpz5o5Om3+Ibde+q0bDVMqZ4hKf6g=;
        b=BvlJfXmppZQ5idaYJSD8eUN0kNOblxheCQPPPhqS41RrtPSIlOS08p5vNTAZKHP7ha
         8K2LPvCdkRh2qtH4cUEe9FRyhf+eMwJ7okJbDBvafUWDC3x5JzBspSc+DwiMBw5xs0ut
         r9WYkU75amRz+7wMglmAgQJ1HlJUcQx+cQXZHNpkrggfn2lrBBw0d1IMKN0K3txMZb4B
         LAePnzisBtsQ6jJGsfpxC3BEwhPmeb/7kBdXs1aDf+PGIGokwZDT+wG4KN5wAFakUji/
         DL/KFydlAjiZpM9YEqNfqembtW6ZDrNTVcac3s3tUy3fDVXkQDxgXrKn1rl2k7l/11Mn
         tqVg==
X-Gm-Message-State: ABUngvdSaD02Bs7RjA1G6xvYw1PmBBGKDVPZJceb7tYkmPLa2+eTdboDvmwOj04PPiAXsg==
X-Received: by 10.129.102.6 with SMTP id a6mr2151237ywc.80.1477549635719;
        Wed, 26 Oct 2016 23:27:15 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.35.106 with SMTP id k39ls3355568otd.3.gmail; Wed, 26 Oct
 2016 23:27:15 -0700 (PDT)
X-Received: by 10.37.199.73 with SMTP id w70mr5487502ybe.4.1477549635058;
        Wed, 26 Oct 2016 23:27:15 -0700 (PDT)
Original-Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com. [2607:f8b0:4002:c05::22b])
        by mx.google.com with ESMTPS id a63si2083985ywg.217.2016.10.26.23.27.15
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 26 Oct 2016 23:27:15 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:4002:c05::22b as permitted sender) client-ip=2607:f8b0:4002:c05::22b;
Original-Received: by mail-yw0-x22b.google.com with SMTP id h14so32578597ywa.2
        for <std-proposals@isocpp.org>; Wed, 26 Oct 2016 23:27:15 -0700 (PDT)
X-Received: by 10.36.83.213 with SMTP id n204mr5470140itb.100.1477549634468;
 Wed, 26 Oct 2016 23:27:14 -0700 (PDT)
Original-Received: by 10.36.28.200 with HTTP; Wed, 26 Oct 2016 23:27:13 -0700 (PDT)
In-Reply-To: <BAC1B984-1709-4DC9-9A65-DF3DBDB1036E@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::22b 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:29151
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29151>

On 27 October 2016 at 05:21, David Krauss <potswa@gmail.com> wrote:
> 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 = {
> "foo"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 }?


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.

-- 
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/CAFk2RUaHCWTJ7U_X2g09RwfCx9R02YjbSH%3DKTVNowUQE1mHuJQ%40mail.gmail.com.

.
