220 7149 <CAGsORuCDyswiF=5W1EJORYujAv+6AQxNOdBmW+tEL=tEJK3QKg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Zhihao Yuan <zy@miator.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Named arguments proposal
Date: Tue, 8 Oct 2013 15:18:14 -0400
Lines: 26
Approved: news@gmane.org
Message-ID: <CAGsORuCDyswiF=5W1EJORYujAv+6AQxNOdBmW+tEL=tEJK3QKg@mail.gmail.com>
References: <74166da9-20f4-49b0-a9e6-47bf5be92e35@isocpp.org>	<CAFk2RUbEaRhfAgu-hPD6vGjJoaeW6VjV1qHNK_foVXAm50ByjQ@mail.gmail.com>	<6ba6b273-76df-4037-9851-4a2ab98f0b68@isocpp.org>	<c602e3e5-4e64-43a1-a392-2bd3f7e2c1df@isocpp.org>	<CAGUrrs69eOi4aX=h7YTkoNTZZPCQ995f03bnoiWEvfVRsJi1PA@mail.gmail.com>	<CAAKdH+HSBe_mMYd1vFyNFuqGQ7PHM8XqTcOeu0BsA3R+VMLc-Q@mail.gmail.com>	<CAGUrrs7P6VPw0J=-3diVWicLHOhWykH9+YVjXLUOq0Ji8==-kA@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1381259899 11133 80.91.229.3 (8 Oct 2013 19:18:19 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 8 Oct 2013 19:18:19 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCSKRWMD4EHBB7FU2GJAKGQECZZP45A@isocpp.org Tue Oct 08 21:18:23 2013
Return-path: <std-proposals+bncBCSKRWMD4EHBB7FU2GJAKGQECZZP45A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qe0-f70.google.com ([209.85.128.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCSKRWMD4EHBB7FU2GJAKGQECZZP45A@isocpp.org>)
	id 1VTcnW-00045Y-FD
	for gclcip-std-proposals@m.gmane.org; Tue, 08 Oct 2013 21:18:22 +0200
Original-Received: by mail-qe0-f70.google.com with SMTP id 8sf2695062qea.5
        for <gclcip-std-proposals@m.gmane.org>; Tue, 08 Oct 2013 12:18:21 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :sender:x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=KMIUEHnyQ4KL9QiJOJmv6R2lunIigI21E/Yg3IfFk5s=;
        b=mCcS6DpVPjAQSDCCHNJgoMuc3bQ0AtgXiFUDSOK9x9gSUoAtEPDyDqEcJ8KQtbC5+T
         RHVBCej2yDW1Ug3Vm+tpS415k1427t0Xh+5LIOJUOJCio0wwsTYo/qV4fexNftyH2YCP
         oJLjJd5ilb5s/lynhm5EVLd1P0e/UI8RTIVx0BZJVjZkNjfwewXFOnTz2L7O580OUe03
         CEvwq1BFL3uYD/ejOnNvhl/EyrAlrPNHkUEzh/EwvOD34/Ehb1TUG6bvtaIqHllRxvxX
         aqjIN1i7insYrXPSXRyD7rCTgOvC4ISnJ7mejebWHbhGNH6dEkQjL4GxgEeyVsW1IxBY
         Yy4w==
X-Received: by 10.236.14.100 with SMTP id c64mr3349902yhc.38.1381259901121;
        Tue, 08 Oct 2013 12:18:21 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.27.199 with SMTP id v7ls350270qeg.85.gmail; Tue, 08 Oct
 2013 12:18:20 -0700 (PDT)
X-Received: by 10.236.133.193 with SMTP id q41mr2688146yhi.51.1381259900734;
        Tue, 08 Oct 2013 12:18:20 -0700 (PDT)
Original-Received: from mail-s68.mailgun.info (mail-s68.mailgun.info. [184.173.153.196])
        by mx.google.com with ESMTP id a46si13746009yhb.394.1969.12.31.16.00.00;
        Tue, 08 Oct 2013 12:18:20 -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-Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com
 [209.85.212.43]) by mxa.mailgun.org with ESMTP id 52545a76.735ef30-in2;
 Tue, 08 Oct 2013 19:18:14 -0000 (UTC)
Original-Received: by mail-vb0-f43.google.com with SMTP id h11so4579766vbh.16 for
 <std-proposals@isocpp.org>; Tue, 08 Oct 2013 12:18:14 -0700 (PDT)
X-Received: by 10.52.22.110 with SMTP id c14mr1871474vdf.28.1381259894484;
 Tue, 08 Oct 2013 12:18:14 -0700 (PDT)
Original-Received: by 10.220.250.6 with HTTP; Tue, 8 Oct 2013 12:18:14 -0700 (PDT)
In-Reply-To: <CAGUrrs7P6VPw0J=-3diVWicLHOhWykH9+YVjXLUOq0Ji8==-kA@mail.gmail.com>
X-Mailgun-Sid: WyI3MTBkYiIsICJzdGQtcHJvcG9zYWxzQGlzb2NwcC5vcmciLCAiNjkxMTAiXQ==
Original-Sender: zy@miator.net
X-Original-Sender: zy@miator.net
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates
 184.173.153.196 as permitted sender) smtp.mail=bounce+3f9131.69110-std-proposals=isocpp.org@miator.net;
       dkim=pass header.i=@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: <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: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:7149
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7149>

On Tue, Oct 8, 2013 at 3:15 PM, Brendon Costa <brendon.j.costa@gmail.com> wrote:
> Why do we need to decorate the declaration at all?
>
> Why cant we have:
> void f(int x, int y=0, int z=0);
>
> and be able to call it like:
> f(x:3, z:12);

Python has it and receives lots of criticisms.  Parameter
names are implementation details unless explicitly exposed.

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/

-- 

--- 
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/.

.
