220 22875 <1959502.x2sd2TGX3b@tjmaciei-mobl4> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Designated initializer list status?
Date: Tue, 24 Nov 2015 07:22:25 -0800
Lines: 36
Approved: news@gmane.org
Message-ID: <1959502.x2sd2TGX3b@tjmaciei-mobl4>
References: <8b5cda67-8c22-41b6-b99d-ac2ab22f30d2@isocpp.org> <20118093.Wcnva6JXIr@tjmaciei-mobl4> <5c445bcf-8a39-488f-9ee0-49d12a2144bd@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1448378560 11792 80.91.229.3 (24 Nov 2015 15:22:40 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 24 Nov 2015 15:22:40 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBNMB2KZAKGQE3AOJBSA@isocpp.org Tue Nov 24 16:22:32 2015
Return-path: <std-proposals+bncBCB4TK757YBRBNMB2KZAKGQE3AOJBSA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f69.google.com ([209.85.215.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBNMB2KZAKGQE3AOJBSA@isocpp.org>)
	id 1a1FQL-0000Xy-BR
	for gclcip-std-proposals@m.gmane.org; Tue, 24 Nov 2015 16:22:29 +0100
Original-Received: by lffu14 with SMTP id u14sf11013116lff.1
        for <gclcip-std-proposals@m.gmane.org>; Tue, 24 Nov 2015 07:22:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:user-agent:in-reply-to:references
         :mime-version:content-type: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=Tc3moHVcuIvndT4ANPzHFZcRiK35GsxqBdvSLmpfn1M=;
        b=SQeVJN/9/N+lJnSsSL/xOmQE30E9m7rkJBS72Ovm6hn7PW5CaQLMCPVbV8gbpWqail
         os/pbFJj5OqWj+/E3Tp0DBeXoeoXusVs9EW5V1oLptX7KKKZcT/Fc2h1AeQIC2g22BFu
         jbzx8ej6iZDGmWyRmt+IYCmSNGwzSzu1ibVTgQLoyKIFWII187yVPgvdylMCWJw5NU4t
         EOhX11xu9NRuI/1QZa/cOf9xXjgjHCQPolY+0fjQPiE09HP5dUBUWwLmm8//xzzlzHf7
         WTqb5woLraW94RNGk9FmKdM3ULrpa7YkdrUecsUa7KzyTJ/q8HfIRFW3ZsSbTgWnycXv
         EEqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version:content-type: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=Tc3moHVcuIvndT4ANPzHFZcRiK35GsxqBdvSLmpfn1M=;
        b=iFJn8vTXfCiFroLd3tfQrbe407WrjfGwdJgNjaq/UaGe+4YurDUJud+gf/gBGSR2Gv
         n1poYvtTObTuDYKH3EhRt6fIva8CQms8YMWcBAtYMjHWmpT2TebPx65o3tOVCSWwMVbf
         7K2lSXPtuLawqEHHu5FhSruKDdCodF6RDLB9g8+YwquQLU1lM3qvGJdj8+5Q5xQRzl2n
         m/uFHHYXXV6PimoM9wY02/0okL3wTF8XdsAKvZPx+ocLS1MLRF8Z3FGn31DGONKe4vFg
         IMBud8VfHhMwiJdOHpKGbsEYNwssipNEsPI226es/yZhPQuwmLTbDxOrDrEDjkI7Uhhg
         6Uzw= 
X-Gm-Message-State: ALoCoQndl8Zycr2OZhtCwYyUsbl9mweYiM+0tGi2ZMp+VCp9VNTJ3fUKERJ5mGeE88QDwASZ9VEr
X-Received: by 10.194.93.7 with SMTP id cq7mr440481wjb.2.1448378550157;
        Tue, 24 Nov 2015 07:22:30 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.129.135 with SMTP id c129ls611495wmd.45.gmail; Tue, 24 Nov
 2015 07:22:28 -0800 (PST)
X-Received: by 10.28.216.72 with SMTP id p69mr24844761wmg.14.1448378548806;
        Tue, 24 Nov 2015 07:22:28 -0800 (PST)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [78.47.120.188])
        by mx.google.com with ESMTP id x203si27470224wme.16.2015.11.24.07.22.28
        for <std-proposals@isocpp.org>;
        Tue, 24 Nov 2015 07:22:28 -0800 (PST)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) client-ip=78.47.120.188;
Original-Received: from tjmaciei-mobl4.localnet (unknown [IPv6:2601:1c0:5803:81c9:b1ec:89f9:b28f:34af])
	by gondolin.macieira.info (Postfix) with ESMTPSA id D207511B849
	for <std-proposals@isocpp.org>; Tue, 24 Nov 2015 07:22:27 -0800 (PST)
User-Agent: KMail/4.14.10 (Linux/4.3.0-2-default; KDE/4.14.12; x86_64; ; )
In-Reply-To: <5c445bcf-8a39-488f-9ee0-49d12a2144bd@isocpp.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) smtp.mailfrom=thiago@macieira.org
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: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://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>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:22875
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/22875>

On Tuesday 24 November 2015 07:12:01 Nicol Bolas wrote:
> On Tuesday, November 24, 2015 at 12:11:57 AM UTC-5, Thiago Macieira wrote:
> > On Monday 23 November 2015 20:47:47 Nicol Bolas wrote:
> > > Why not? I already explained how to get the equivalent behavior without
> > > having actual named parameters (have the type take a struct and use an
> > > extra set of braces).
> > 
> > It's not as efficient and is much more limited.
> 
> ... so?
> 
> Designated initializers exist to make aggregates work better and nicer.
> They are *not* a way to back-door named parameters into the language, nor
> are they an attempt to make constructors work with them.
> 
> The fact that they don't solve something that they're not actually supposed
> to solve is *not* a problem with the feature. It's a problem with your
> expectations and desires projected onto the feature.

I'm merely pointing out that you can't say that designated initialisers are a 
replacement for function parameter initialisers. They are not.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

-- 

--- 
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
