220 19875 <5dc8abe1-31a9-4247-ae8a-70ca27ed4fa8@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: =?UTF-8?Q?Germ=C3=A1n_Diago?= <germandiago@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: default arguments
Date: Tue, 18 Aug 2015 02:27:03 -0700 (PDT)
Lines: 66
Approved: news@gmane.org
Message-ID: <5dc8abe1-31a9-4247-ae8a-70ca27ed4fa8@isocpp.org>
References: <ef9c7cbe-e8f1-4196-83bc-11a1c9b2798c@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_4344_1260351735.1439890023398"
X-Trace: ger.gmane.org 1439890035 27874 80.91.229.3 (18 Aug 2015 09:27:15 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 18 Aug 2015 09:27:15 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDC2VXM4YYDRB2HUZOXAKGQEBYINDUA@isocpp.org Tue Aug 18 11:27:06 2015
Return-path: <std-proposals+bncBDC2VXM4YYDRB2HUZOXAKGQEBYINDUA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f72.google.com ([209.85.213.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDC2VXM4YYDRB2HUZOXAKGQEBYINDUA@isocpp.org>)
	id 1ZRdAg-0003Ul-1S
	for gclcip-std-proposals@m.gmane.org; Tue, 18 Aug 2015 11:27:06 +0200
Original-Received: by vkm66 with SMTP id 66sf14469366vkm.2
        for <gclcip-std-proposals@m.gmane.org>; Tue, 18 Aug 2015 02:27:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :content-type:x-original-sender:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=1FAehelylGHV04k3AchuDPkOCLo63nRgMIslqjOeVqE=;
        b=z8N1ssEMXOlXcUizM0CbO7h/Rb6L67aoHpcpg3NUkVzg8lsFTtRcK4V6dsqezPy9Qb
         6Po3vqbkqVZ24VMVPOkMV/WtjS6fylNuU9ZiXjCFVmWv2xGbUakWEtnsMwxF7TXtXPJr
         84GzDMF3hdN+/u3+a0FUnZoUM3AsQmWs2Qd1lj0HMo+IlNM8vxgsT4qBrUQtfwr04nhd
         ITpq2VEh7bNkiGpc+GB0MqcBftlZ/Z3UOF5njjo1TfQ8PRVjObNsmzee4I/PG2vwqcxG
         Vy3crb5M4hqGNf3aPc/Uuktg1xqA6fEkl15g5IusherLUbXLywGpBB6nKSLTD/X2pqDI
         katQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:content-type:x-original-sender:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=1FAehelylGHV04k3AchuDPkOCLo63nRgMIslqjOeVqE=;
        b=Lu+cS2PZ3Q9bfVVJsj3pesaX3vay9IsSS2YgiMdlxO9Z6go6wXsSYTv43pEaAq4O1N
         xeJZg6vxxwdGGILF+IuZcck57ADul8FDC1FIuODwnzNK+qANgU9lGtYNhg5DeTA0P5XT
         ulCRESrevW1FNLyOsPvk5b8yhROArpOXLmvOxwv9lt1ZQJjeuUbKnjY/hHTZsyfeJx21
         tU6HudGKHURx+BjuMggGdmlzeDkSvqSROiBQ1X9ehMEKcobfFU4/T3i3Jtn8qzOZGfQm
         VwvnrlWpYf4aMbKvbUHwOqMrTS3xsPZyml4WMS77xtSTr/M1KSB+Z9StT3irQqSLdEqF
         vWZA==
X-Gm-Message-State: ALoCoQnVpLpjgefgroeLby6sFujkklq4GumzSqbiCORMTzA4pVqRW6tgl3HUcPb3NUNkDt2YO7Ll
X-Received: by 10.13.230.22 with SMTP id p22mr5097048ywe.49.1439890025295;
        Tue, 18 Aug 2015 02:27:05 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.13.69 with SMTP id 66ls1805355ion.68.gmail; Tue, 18 Aug
 2015 02:27:04 -0700 (PDT)
X-Received: by 10.50.25.199 with SMTP id e7mr317765igg.16.1439890024585;
        Tue, 18 Aug 2015 02:27:04 -0700 (PDT)
In-Reply-To: <ef9c7cbe-e8f1-4196-83bc-11a1c9b2798c@isocpp.org>
X-Original-Sender: germandiago@gmail.com
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:19875
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/19875>

------=_Part_4344_1260351735.1439890023398
Content-Type: multipart/alternative; 
	boundary="----=_Part_4345_374877958.1439890023399"

------=_Part_4345_374877958.1439890023399
Content-Type: text/plain; charset=UTF-8


>
>
> f(default,2,default,4);
>
> I think that named arguments built into the language would solve the same 
problem and in a more general way:

f(b : 2, d : 4);

I recall there was a paper about it somewhere at some point. I do not know 
if it is the last one though:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4172.htm


 

-- 

--- 
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/.

------=_Part_4345_374877958.1439890023399
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"l=
tr"><br>f(default,2,default,4);<br><br></div></blockquote><div>I think that=
 named arguments built into the language would solve the same problem and i=
n a more general way:</div><div><br></div><div>f(b : 2, d : 4);</div><div><=
br></div><div>I recall there was a paper about it somewhere at some point. =
I do not know if it is the last one though:</div><div><br></div><div>http:/=
/www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4172.htm<br></div><div><=
br></div><div><br></div><div>=C2=A0</div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_4345_374877958.1439890023399--
------=_Part_4344_1260351735.1439890023398--

.
