220 19877 <CANu6V4VWB6s3UZjmgXUJoiDeTj2Gq+_nzOy+WaSAKTGRFW5zeg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: "'Johannes Schaub' via ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: default arguments
Date: Tue, 18 Aug 2015 11:34:37 +0200
Lines: 90
Approved: news@gmane.org
Message-ID: <CANu6V4VWB6s3UZjmgXUJoiDeTj2Gq+_nzOy+WaSAKTGRFW5zeg@mail.gmail.com>
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/alternative; boundary=047d7b10ca837cfd79051d92a0ce
X-Trace: ger.gmane.org 1439890487 2453 80.91.229.3 (18 Aug 2015 09:34:47 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 18 Aug 2015 09:34:47 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCQPNCEZSQNBBLXYZOXAKGQEYTOKZUI@isocpp.org Tue Aug 18 11:34:41 2015
Return-path: <std-proposals+bncBCQPNCEZSQNBBLXYZOXAKGQEYTOKZUI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f70.google.com ([209.85.220.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCQPNCEZSQNBBLXYZOXAKGQEYTOKZUI@isocpp.org>)
	id 1ZRdI0-0007uJ-GH
	for gclcip-std-proposals@m.gmane.org; Tue, 18 Aug 2015 11:34:40 +0200
Original-Received: by pabyb7 with SMTP id yb7sf367376459pab.2
        for <gclcip-std-proposals@m.gmane.org>; Tue, 18 Aug 2015 02:34:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to: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=V97HemLdnkzGNDAae4Q/8ssyjfbqm26UHuqe9rLXPo0=;
        b=CHrDveR/p4rDsJz0j/G0Y1TJQ23UjxPE+zz2GrAm06KHmuUIR3gdt6IaU8mly5HQV4
         YyfHJ/BL6AL/WCTndOiSb3TRQ2cO/FM27yUmgC/c0r6fS4Vl+jFvrRx7B7Ynze91B9Dx
         ozG3e9el4GnhhiD87u6KiFQDCbu/vlw4TtqEl4qxvVdQ2JrGAZnrXEwWGfgc7sXvQk8C
         x+Yh3YrYt4om1Wwx0t0i4x/2G276yilX5Zprnlxjo/t6L7Onx40hCq0TadjQfVqx+qLe
         qbmcl1LCQVGd/6YduG/cWBTx+fI0fekrH8pHe9zxtmFnBbzwxItgdqVZNBijuxdUHPUe
         FPig==
X-Gm-Message-State: ALoCoQnAf4KLYaEFFM68m7z9DKrrUFBxWDrF5kKquI4UhuBJ77bIyGhAuO38FyU8iIdxnpnxrJE1
X-Received: by 10.68.168.1 with SMTP id zs1mr5045764pbb.6.1439890479473;
        Tue, 18 Aug 2015 02:34:39 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.62.106 with SMTP id x10ls327199igr.23.gmail; Tue, 18 Aug
 2015 02:34:38 -0700 (PDT)
X-Received: by 10.50.147.35 with SMTP id th3mr21543138igb.83.1439890478701;
        Tue, 18 Aug 2015 02:34:38 -0700 (PDT)
Original-Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com. [2607:f8b0:4001:c05::232])
        by mx.google.com with ESMTPS id 23si9294639ioj.119.2015.08.18.02.34.38
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 18 Aug 2015 02:34:38 -0700 (PDT)
Received-SPF: pass (google.com: domain of schaub.johannes@googlemail.com designates 2607:f8b0:4001:c05::232 as permitted sender) client-ip=2607:f8b0:4001:c05::232;
Original-Received: by igui7 with SMTP id i7so77974688igu.1
        for <std-proposals@isocpp.org>; Tue, 18 Aug 2015 02:34:38 -0700 (PDT)
X-Received: by 10.50.128.169 with SMTP id np9mr21926919igb.37.1439890478527;
 Tue, 18 Aug 2015 02:34:38 -0700 (PDT)
Original-Received: by 10.79.81.199 with HTTP; Tue, 18 Aug 2015 02:34:37 -0700 (PDT)
Original-Received: by 10.79.81.199 with HTTP; Tue, 18 Aug 2015 02:34:37 -0700 (PDT)
In-Reply-To: <ef9c7cbe-e8f1-4196-83bc-11a1c9b2798c@isocpp.org>
X-Original-Sender: schaub.johannes@googlemail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of schaub.johannes@googlemail.com designates 2607:f8b0:4001:c05::232
 as permitted sender) smtp.mailfrom=schaub.johannes@googlemail.com;
       dkim=pass header.i=@googlemail.com;       dmarc=pass (p=QUARANTINE
 dis=NONE) header.from=googlemail.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>
X-Original-From: Johannes Schaub <schaub.johannes@googlemail.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:19877
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/19877>

--047d7b10ca837cfd79051d92a0ce
Content-Type: text/plain; charset=UTF-8

Am 15.08.2015 18:49 schrieb "Arthur Tchaikovsky" <atch.cpp@gmail.com>:
>
> 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?

And if you support the default indicator here, please allow it in aggregate
initialization aswell to mean either value initialize or take the inclass
initializer.

>
>
>
>
>
> --
>
> ---
> 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/.

-- 

--- 
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/.

--047d7b10ca837cfd79051d92a0ce
Content-Type: text/html; charset=UTF-8

<p dir="ltr"><br>
Am 15.08.2015 18:49 schrieb &quot;Arthur Tchaikovsky&quot; &lt;<a href="mailto:atch.cpp@gmail.com">atch.cpp@gmail.com</a>&gt;:<br>
&gt;<br>
&gt; Hi, <br>
&gt; Does anyone see helpfulness of such solution:<br>
&gt; Having fnc:<br>
&gt;<br>
&gt; void f(int a = 0, int b = 1, int c = 2, int d = 3);<br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; f(default,2,default,4);<br>
&gt;<br>
&gt; Thoughts?</p>
<p dir="ltr">And if you support the default indicator here, please allow it in aggregate initialization aswell to mean either value initialize or take the inclass initializer.</p>
<p dir="ltr">&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -- <br>
&gt;<br>
&gt; --- <br>
&gt; You received this message because you are subscribed to the Google Groups &quot;ISO C++ Standard - Future Proposals&quot; group.<br>
&gt; To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:std-proposals%2Bunsubscribe@isocpp.org">std-proposals+unsubscribe@isocpp.org</a>.<br>
&gt; To post to this group, send email to <a href="mailto:std-proposals@isocpp.org">std-proposals@isocpp.org</a>.<br>
&gt; Visit this group at <a href="http://groups.google.com/a/isocpp.org/group/std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/</a>.<br>
</p>

<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 email to <a href="mailto:std-proposals+unsubscribe@isocpp.org">std-proposals+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href="mailto:std-proposals@isocpp.org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href="http://groups.google.com/a/isocpp.org/group/std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/</a>.<br />

--047d7b10ca837cfd79051d92a0ce--

.
