220 27827 <CAGsORuAAdBg7vek7o4v7Gm3VvLBM-vWaC957iUy+y5tmhAAz4g@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Zhihao Yuan <zy@miator.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: make_array and brace-init list. Should this
 be a defect or I am wrong...?
Date: Fri, 19 Aug 2016 13:48:43 -0500
Lines: 22
Approved: news@gmane.org
Message-ID: <CAGsORuAAdBg7vek7o4v7Gm3VvLBM-vWaC957iUy+y5tmhAAz4g@mail.gmail.com>
References: <dc1a301e-26a9-4eae-ba8f-e63a444348ee@isocpp.org>
 <e0cbdf8b-ae94-4caa-bdeb-bc8009f3eee4@isocpp.org> <CAGsORuBDGtwc=Y5P45qdgUG=Gw09NHDp60eo5UCq0Mi8BpSHbA@mail.gmail.com>
 <a39e185d-7b0a-4a45-928b-bbeeefa3b223@isocpp.org>
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 1471632531 17563 195.159.176.226 (19 Aug 2016 18:48:51 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 19 Aug 2016 18:48:51 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCSKRWMD4EHBBDNJ3W6QKGQEI4JXZQA@isocpp.org Fri Aug 19 20:48:47 2016
Return-path: <std-proposals+bncBCSKRWMD4EHBBDNJ3W6QKGQEI4JXZQA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f69.google.com ([209.85.218.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCSKRWMD4EHBBDNJ3W6QKGQEI4JXZQA@isocpp.org>)
	id 1baoqT-00048H-Nm
	for gclcip-std-proposals@m.gmane.org; Fri, 19 Aug 2016 20:48:45 +0200
Original-Received: by mail-oi0-f69.google.com with SMTP id p18sf143155123oic.0
        for <gclcip-std-proposals@m.gmane.org>; Fri, 19 Aug 2016 11:48:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:sender: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=9AGiDecCyE1D3d1RCxdHfrUEBN13Ql3s1HSPZMh1XTk=;
        b=M83z2uSnQ12e4/7R0ufyqL0AH/DZ3FPDefx6l5byxfPxYSrvu1BlENeUF/Z3k0Ey69
         W0Q6kMiQCnrAaajsDlsTHxgHcXBdsjj47eYVwM3N0Mmg34zUnEOR5bCiSt1Mo2m7ZxaM
         aNZouQTBRrdNAUEzhech8i0O9hYxafqgX+gHyI6tVflbIe3W4c338t/6JV+tYJApWX88
         uTna19YGRAMUOtzcIvVbQk50L6Kmv2kpr9cYtEMCFOZZMIJhBbWuBmyl4jFyRsbcFaLO
         phLRmQ9n7/202FHMcoXIhMGzL8pOmcPpuzeEqhn1lYfwB9JMbkkXIMTjhx9yMzfN9mc7
         /1Ng==
X-Gm-Message-State: AEkoouvqjE+uOgZpbS9UC4OlGwabLjFGe9GQ1VmucQXWSXW8gFKkLEpV3w9P7zWfFf888w==
X-Received: by 10.157.46.85 with SMTP id c21mr6797943otd.24.1471632526133;
        Fri, 19 Aug 2016 11:48:46 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.24.71 with SMTP id t7ls4609261ott.5.gmail; Fri, 19 Aug
 2016 11:48:45 -0700 (PDT)
X-Received: by 10.237.37.99 with SMTP id w32mr10397148qtc.59.1471632525211;
        Fri, 19 Aug 2016 11:48:45 -0700 (PDT)
Original-Received: from mail-s68.mailgun.info (mail-s68.mailgun.info. [184.173.153.196])
        by mx.google.com with ESMTPS id y22si5490088qkb.170.2016.08.19.11.48.45
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 19 Aug 2016 11:48:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates 184.173.153.196 as permitted sender) client-ip=184.173.153.196;
Original-Sender: zy@miator.net
X-Mailgun-Sid: WyI3MTBkYiIsICJzdGQtcHJvcG9zYWxzQGlzb2NwcC5vcmciLCAiNjkxMTAiXQ==
Original-Received: from mail-ua0-f176.google.com (mail-ua0-f176.google.com [209.85.217.176])
 by mxa.mailgun.org with ESMTP id 57b7548c.7f10e42114f0-in6;
 Fri, 19 Aug 2016 18:48:44 -0000 (UTC)
Original-Received: by mail-ua0-f176.google.com with SMTP id n59so94948560uan.2
        for <std-proposals@isocpp.org>; Fri, 19 Aug 2016 11:48:44 -0700 (PDT)
X-Received: by 10.176.64.133 with SMTP id i5mr5047360uad.49.1471632523880;
 Fri, 19 Aug 2016 11:48:43 -0700 (PDT)
Original-Received: by 10.176.68.33 with HTTP; Fri, 19 Aug 2016 11:48:43 -0700 (PDT)
In-Reply-To: <a39e185d-7b0a-4a45-928b-bbeeefa3b223@isocpp.org>
X-Gmail-Original-Message-ID: <CAGsORuAAdBg7vek7o4v7Gm3VvLBM-vWaC957iUy+y5tmhAAz4g@mail.gmail.com>
X-Original-Sender: zy@miator.net
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@miator.net;       spf=pass (google.com: domain of
 bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates
 184.173.153.196 as permitted sender) smtp.mailfrom=bounce+3f9131.69110-std-proposals=isocpp.org@miator.net
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:27827
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/27827>

On Fri, Aug 19, 2016 at 12:15 PM, S.B.
<i.and.my.little.friends@gmail.com> wrote:
> I think it's CWG 1591 (Deducing array bound and element type from
> initializer list) that makes this use valid.

Interesting.  And the rvalue reference overload is really
demanded right now, to enable

  to_array<std::unique_ptr<int>>({ std::make_unique<int>(3) })

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://blog.miator.net/

-- 
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/CAGsORuAAdBg7vek7o4v7Gm3VvLBM-vWaC957iUy%2By5tmhAAz4g%40mail.gmail.com.

.
