220 7128 <CAFk2RUYNLpFb3v2d2hV1x8ti0BQEPLFPE6iQ=xEKbbc16ocoJA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Named arguments proposal
Date: Tue, 8 Oct 2013 16:29:37 +0300
Lines: 103
Approved: news@gmane.org
Message-ID: <CAFk2RUYNLpFb3v2d2hV1x8ti0BQEPLFPE6iQ=xEKbbc16ocoJA@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>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c35c289d2f3804e83ac2bb
X-Trace: ger.gmane.org 1381238977 11055 80.91.229.3 (8 Oct 2013 13:29:37 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 8 Oct 2013 13:29:37 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBQUR2CJAKGQE7VKYFIA@isocpp.org Tue Oct 08 15:29:39 2013
Return-path: <std-proposals+bncBC5JHI7A7ALRBQUR2CJAKGQE7VKYFIA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qe0-f72.google.com ([209.85.128.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBQUR2CJAKGQE7VKYFIA@isocpp.org>)
	id 1VTXM3-0004W5-Ft
	for gclcip-std-proposals@m.gmane.org; Tue, 08 Oct 2013 15:29:39 +0200
Original-Received: by mail-qe0-f72.google.com with SMTP id 1sf10960356qee.7
        for <gclcip-std-proposals@m.gmane.org>; Tue, 08 Oct 2013 06:29:38 -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
         :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=spcxtenpdA/AGnUmhapIt8hJKWa2dbPwO7vcN3RFjKo=;
        b=AYec07P44kqPFtsrYZ+T/eKFqQMw8gtdg6jcUenwoUR033yM+cv9fPeX7pNv7SGtJP
         x57S3j8QfJegW5g38R2sdiWK17jYy68vmE5ayXbLpviN60TtTJgN6Sod12ytAye2mQJR
         uhol63i1HTAL5uECdpOaeBRoT86R/WUu5ehzbJ9uLbACEymPt0d+MC4563F8MwitAZNi
         xwjp2vBypuCsN1U818ooO5MYTIKTPJeOi/Ht/2IPwK2hm26rEzle0ZaF9QwsrerZ7kt5
         V+hez4uV2fEKcw0dWsayvoDJDX/QzKpC2xaBAuj6lRUKcO6bttGg5Md/p6NudklPWzVd
         1iYw==
X-Received: by 10.236.145.34 with SMTP id o22mr1500822yhj.22.1381238978521;
        Tue, 08 Oct 2013 06:29:38 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.116.135 with SMTP id jw7ls217590qeb.58.gmail; Tue, 08 Oct
 2013 06:29:37 -0700 (PDT)
X-Received: by 10.49.3.3 with SMTP id 3mr2089806qey.56.1381238977884;
        Tue, 08 Oct 2013 06:29:37 -0700 (PDT)
Original-Received: from mail-qe0-x22b.google.com (mail-qe0-x22b.google.com [2607:f8b0:400d:c02::22b])
        by mx.google.com with ESMTPS id q10si15620852qab.111.1969.12.31.16.00.00
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 08 Oct 2013 06:29:37 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c02::22b as permitted sender) client-ip=2607:f8b0:400d:c02::22b;
Original-Received: by mail-qe0-f43.google.com with SMTP id nc12so1589368qeb.30
        for <std-proposals@isocpp.org>; Tue, 08 Oct 2013 06:29:37 -0700 (PDT)
X-Received: by 10.224.45.136 with SMTP id e8mr1189825qaf.123.1381238977661;
 Tue, 08 Oct 2013 06:29:37 -0700 (PDT)
Original-Received: by 10.224.76.135 with HTTP; Tue, 8 Oct 2013 06:29:37 -0700 (PDT)
In-Reply-To: <CAAKdH+HSBe_mMYd1vFyNFuqGQ7PHM8XqTcOeu0BsA3R+VMLc-Q@mail.gmail.com>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c02::22b as
 permitted sender) smtp.mail=ville.voutilainen@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
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:7128
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7128>

--001a11c35c289d2f3804e83ac2bb
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 8 October 2013 16:14, Diego S=E1nchez <dsde71@gmail.com> wrote:

>
>
>
> A final note about the syntax. I like the use of the colon in the functio=
n
> declaration, that turns the argument name into a label; but on function
> calls I would prefer the equal sign; it makes the purpose clearer:
>
> write_datagram(buf, size, is_reliable: true);
>
> vs
>
> write_datagram(buf, size, is_reliable=3Dtrue);
>
>
>
>
'fraid we can't have that. This is already valid:

void f(bool x) {}
int main()
{
    bool x=3Dfalse;
    f(x=3Dtrue);
}

--=20

---=20
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 e=
mail 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-proposa=
ls/.

--001a11c35c289d2f3804e83ac2bb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On 8 October 2013 16:14, Diego S=E1nchez <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:dsde71@gmail.com" target=3D"_blank">dsde71@gmail.com</a>&gt;<=
/span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><br><div=
><br></div><div><br></div><div>A final note about the syntax. I like the us=
e of the colon in the function declaration, that turns the argument name in=
to a label; but on function calls I would prefer the equal sign; it makes t=
he purpose clearer:</div>

<div><br></div><div><pre style=3D"font-family:Consolas,&#39;Liberation Mono=
&#39;,Courier,monospace;font-size:13px;margin-top:15px;margin-bottom:15px;b=
ackground-color:rgb(248,248,248);border:1px solid rgb(221,221,221);line-hei=
ght:19px;overflow:auto;padding:6px 10px;border-radius:3px 3px 3px 3px;color=
:rgb(51,51,51)">
<code style=3D"font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monos=
pace;font-size:12px;margin:0px;padding:0px;border:medium none;background-co=
lor:transparent;border-radius:3px 3px 3px 3px">write_datagram(buf, size, is=
_reliable: true);</code></pre>

</div><div>vs</div><div><pre style=3D"font-family:Consolas,&#39;Liberation =
Mono&#39;,Courier,monospace;font-size:13px;margin-top:15px;margin-bottom:15=
px;background-color:rgb(248,248,248);border:1px solid rgb(221,221,221);line=
-height:19px;overflow:auto;padding:6px 10px;border-radius:3px 3px 3px 3px;c=
olor:rgb(51,51,51)">
<code style=3D"font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monos=
pace;font-size:12px;margin:0px;padding:0px;border:medium none;background-co=
lor:transparent;border-radius:3px 3px 3px 3px">write_datagram(buf, size, is=
_reliable=3Dtrue);</code></pre>

</div>

</div><div class=3D""><div class=3D"h5"><div class=3D"gmail_extra"><br><br>=
</div></div></div></blockquote><div><br></div><div>&#39;fraid we can&#39;t =
have that. This is already valid:<br><br>void f(bool x) {} <br>int main() <=
br>
{<br>=A0=A0=A0 bool x=3Dfalse; <br>=A0=A0=A0 f(x=3Dtrue);<br>}<br></div></d=
iv></div></div>

<p></p>

-- <br />
&nbsp;<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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<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 />

--001a11c35c289d2f3804e83ac2bb--

.
