220 19862 <ef9c7cbe-e8f1-4196-83bc-11a1c9b2798c@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Arthur Tchaikovsky <atch.cpp@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: default arguments
Date: Sat, 15 Aug 2015 09:49:50 -0700 (PDT)
Lines: 61
Approved: news@gmane.org
Message-ID: <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_138_277726230.1439657390639"
X-Trace: ger.gmane.org 1439657394 21852 80.91.229.3 (15 Aug 2015 16:49:54 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 15 Aug 2015 16:49:54 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDL6FI4NYYERBL63XWXAKGQENPLPEPI@isocpp.org Sat Aug 15 18:49:54 2015
Return-path: <std-proposals+bncBDL6FI4NYYERBL63XWXAKGQENPLPEPI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qg0-f69.google.com ([209.85.192.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDL6FI4NYYERBL63XWXAKGQENPLPEPI@isocpp.org>)
	id 1ZQeeX-0002Od-L2
	for gclcip-std-proposals@m.gmane.org; Sat, 15 Aug 2015 18:49:53 +0200
Original-Received: by qgeg42 with SMTP id g42sf104191885qge.1
        for <gclcip-std-proposals@m.gmane.org>; Sat, 15 Aug 2015 09:49:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id: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=LeIgwqCGsg+zdv3yBgybaqDXJ3d9UzUFiWGtmMRC5cc=;
        b=UcdWzjjJGaybP+rj+O3PRlGAry5lJpzrbFgYwTTGps+Q/PGXIAkri2jqsorntZnnCs
         4cQS9HUa1d1owvg6T/J6g69+fCu44pU/fxRssOXo0HzEMbb4ppnwOmcmMPIhagu3QLev
         2+SJ64OV1XEGRNutmGLeJRlJhp6FkYpmT+m1+VMmo0Ga6KErsL8uEsKmH+PDogyXTSzU
         O7ElyGKntBdHwdx5+Om37+13GIQmnRuvaCUEYQek8x4/wTaWvO2Btqaj3xQUvidBf86h
         75Y84EqAKuKI5J1Ac/g20Z/8EgABa/eDrWSbL2qhmgI+ekmqUQ0HkIQPrZvSeRsjVyXM
         6LdQ==
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: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=LeIgwqCGsg+zdv3yBgybaqDXJ3d9UzUFiWGtmMRC5cc=;
        b=U6sS9M7NvZaKyrvGtJWZhxf2jRyAGeATsrV3sk+dww/bTqKAB7CH+Ohnf/8YXIFBQm
         H+eowqIMFaHkJa/YRiaHCa7gu9Q5RycmOcY7Um3lBMe+sr8Uj/uMgxZ/+cGZ2u3pAoU8
         5NgvWdPfdBDLD0OqMSVEHA1jqh7XNuBntigbn56T2JKG6BXUV71ydEuoaHM668ARhMZg
         7zoHXKIbi+jHgv7dN5DynFLyso2B9qeCG0MicXp1XQ/S0NqDvIVe9lDC068TL2DtVORH
         MkSHnVQmcktsJmeVduWp1vuUEzAwaEPXUasxwVOSOMangAEfrpHXxpIjVXmC3MRlPCc9
         2nag==
X-Gm-Message-State: ALoCoQkzonjYK5mVbhkPpW/N01kmweyPKaP4GRVxc9MbLY4LO7EWdoxXuuzCxrfdhxh2k5ggrubI
X-Received: by 10.141.28.206 with SMTP id f197mr21120591qhe.10.1439657392608;
        Sat, 15 Aug 2015 09:49:52 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.89.116 with SMTP id u107ls1682676qgd.96.gmail; Sat, 15 Aug
 2015 09:49:51 -0700 (PDT)
X-Received: by 10.140.22.167 with SMTP id 36mr504749qgn.4.1439657391362;
        Sat, 15 Aug 2015 09:49:51 -0700 (PDT)
X-Original-Sender: atch.cpp@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:19862
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/19862>

------=_Part_138_277726230.1439657390639
Content-Type: multipart/alternative; 
	boundary="----=_Part_139_1642294065.1439657390639"

------=_Part_139_1642294065.1439657390639
Content-Type: text/plain; charset=UTF-8

Hi, 
Does anyone see helpfulness of such solution:
Having fnc:

void f(int a = 0, int b = 1, int c = 2, int d = 3);

I think that it would be nice to be able to say whilst calling it and 
requiring only some of those args to be non-default:

f(default,2,default,4);

Thoughts?





-- 

--- 
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_139_1642294065.1439657390639
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi, <br>Does anyone see helpfulness of such solution:<br>H=
aving fnc:<br><br>void f(int a =3D 0, int b =3D 1, int c =3D 2, int d =3D 3=
);<br><br>I think that it would be nice to be able to say whilst calling it=
 and requiring only some of those args to be non-default:<br><br>f(default,=
2,default,4);<br><br>Thoughts?<br><br><br><br><br><br></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_139_1642294065.1439657390639--
------=_Part_138_277726230.1439657390639--

.
