220 40845 <CAHSYqdaXi_+i6n1yk9tjPxsMZ+UdjfJV3zDJ8etnO9zBRPW5Ag@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Hyman Rosen <hyman.rosen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Named parameters
Date: Thu, 1 Nov 2018 18:03:08 -0400
Lines: 67
Approved: news@gmane.org
Message-ID: <CAHSYqdaXi_+i6n1yk9tjPxsMZ+UdjfJV3zDJ8etnO9zBRPW5Ag@mail.gmail.com>
References: <00c801d46faf$dc525450$94f6fcf0$@gmail.com> <caa51caf-2bf6-4720-8d4d-3dbe610eadb2@isocpp.org>
 <CAC+0CCPAJ7Z+O3_8bnGxuqaXM1brzeChauJsVnGJSPuUjP7gMw@mail.gmail.com>
 <prens6$1ep$1@blaine.gmane.org> <CAC+0CCNjzETCg6tgMeq2WG0yYUbSFFsfNLFsmo=3J-b0zPkaGA@mail.gmail.com>
 <CALvx3hbc7YkuFMB54RmxaQ1JdX77aAcnLckFX5M0_9pgXuxy8w@mail.gmail.com> <CAFk2RUa3OVbiZFYD4k4WHe=7hD0mFOKPLGMqcEVj109FQdhF4w@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="0000000000002da2de0579a19638"
X-Trace: blaine.gmane.org 1541109676 7501 195.159.176.226 (1 Nov 2018 22:01:16 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 1 Nov 2018 22:01:16 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDKJJPVBQMKRBKPQ5XPAKGQEBND6BRY@isocpp.org Thu Nov 01 23:01:12 2018
Return-path: <std-proposals+bncBDKJJPVBQMKRBKPQ5XPAKGQEBND6BRY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm1-f70.google.com ([209.85.128.70])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDKJJPVBQMKRBKPQ5XPAKGQEBND6BRY@isocpp.org>)
	id 1gIL1c-0001qR-89
	for gclcip-std-proposals@m.gmane.org; Thu, 01 Nov 2018 23:01:12 +0100
Original-Received: by mail-wm1-f70.google.com with SMTP id s130-v6sf385631wmd.3
        for <gclcip-std-proposals@m.gmane.org>; Thu, 01 Nov 2018 15:03:22 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1541109802; cv=pass;
        d=google.com; s=arc-20160816;
        b=wX2yc+GEx29zHc/go9OE5ucrxCYHNf6m/TG3BQyfkYBDpwpBWY28ohOwd2rLsqV+sP
         yNlS3f2Y1NoklX0fx6CSGinHFRqyGZq5cqE9QkEcDCXR0G9vOVTwM3MM6w4XyneP8SiZ
         OPn+QVBrTIBMhtmeIW9DZ++UNorIgi7lLt0t06F7Se0dc8OYDZenJkpr1aOYUOlgpxvr
         p1kVvmjbH9ZIGwrpXVDdH1Jjq5QiIsL74x+vBRGvFg1OsafZlAIeXD5vdDKaMoQFhdIn
         0OaEUZF4Fwx73Oza5Bi1IV7O5DdjF9YInEqW4aZBI3Q5eqlWfQIzvKLqnM95AhMMW6zV
         1kAw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:in-reply-to:references:mime-version:dkim-signature;
        bh=hjzjArMoKdiuo8XzYaW8YH9r+WraqXI8KFjdX4GK1og=;
        b=tchnefR1+C72AxOKzuA+u1znFR21jKbvaI1xPnRwBdefKH3YE1kDl8HkdX8mqL8FfU
         SNpIuNCP7/qPkEtlpJUALiO2AVKX63p0M62Y92kUPTolTPQyD3VdKvYIdrvH5rHV0qb4
         RxKaHs5v2J2shYukDxbOSCoDb/jNzCpysvR5Am0zniqVSbgue9YAQQoJHE/v3TYWCSZg
         lWhWkxvM582XXzO3xKsn9X3AUap8xcx1xVPc93FE9KHVQ1GfYMRov77tM1S6CRL/gnpN
         wIMEuXgxlCHfPTeg39tWgaZmtxuNv0UzY/Im9iZLvGNLOeMC5JS/tP6AZC1PxG3z3HY1
         WR4Q==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b="f+q/okRN";
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:references:in-reply-to:from:date:message-id:subject: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;
        bh=hjzjArMoKdiuo8XzYaW8YH9r+WraqXI8KFjdX4GK1og=;
        b=aSBVKcQ+coZxpJL4b9kbi8WvgM/BXCB2Fc6+RVe+kdLjoHHTHsi12CmIZMPFggHO2u
         0+kIm/d3xEP8XcPWojg33YPH0if1QruCB4mRr8cJxqeoqMzGm7HvclG2vrlPJASZfWqv
         fezC/aCD28Jgyw5WcPlvftIpfbH2HC9wdGF4AkdANm5IE7qETwSHOBaCmqntrgwtc62Q
         kMzGxPuiiAEnF1dxsw5w195BnwBRoCNchZntFxach4LX8p/y/9sfju/mEQdoGUhaKavQ
         SeQpHYJ8PofizHZOJA0LDd0/OdTwSPgmd740OeJaXqIuRDwW9d+JIGXVE0jgriq2biCT
         zB2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to: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=hjzjArMoKdiuo8XzYaW8YH9r+WraqXI8KFjdX4GK1og=;
        b=gc9KOr0qKep7DPZEJUTcNmlIojDZtI+2oo5lKYa48LiOZn/khU+7Ni0MuE4sk0uG+z
         SN6bU+y1xkR8F4Ojph/yBE5Y25DMZb9Mn4wWq/cXEEcN+B6OCLSDeT9d9CZuuJfgvu0I
         uC+ndG01oeBwaXSo1A5abcQIc3WPwMrYCUas27uQgpXKF56Tf4srRvrcYUWWQSvLZhY5
         j+/RmmTJNjuwyY+fOMrmPV0Hj6bXjVWfTDBYuaEVR5K+gRshmq1khjhgQ7HZiTSWq50i
         q9WL9w8Gsl+fIJCllE//ZvwH62lARh0RiY4KKHgtly9KA4P8egYuPl2cGZ00aYfMY/DZ
         fu9A==
X-Gm-Message-State: AGRZ1gIofnve05SOSwfjiursh2em74nCAugWie5bKcRFYJSdNTK4gvPv
	tXASXyF+D6sWkgEKM7OvX1mj1w==
X-Google-Smtp-Source: AJdET5c0WOqFvFACEfNbErMxgbg8twiA3TARGOsJMkEWyEM6fsvT1gM6ytuOAt3oOdOwarCtcYhg1A==
X-Received: by 2002:a7b:c00f:: with SMTP id c15-v6mr937231wmb.7.1541109802237;
        Thu, 01 Nov 2018 15:03:22 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a5d:5287:: with SMTP id c7-v6ls3910209wrv.14.gmail; Thu, 01
 Nov 2018 15:03:20 -0700 (PDT)
X-Received: by 2002:adf:92e6:: with SMTP id 93-v6mr8477856wrn.124.1541109800744;
        Thu, 01 Nov 2018 15:03:20 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1541109800; cv=none;
        d=google.com; s=arc-20160816;
        b=zeFdZyWSAn8VePtVqQNhoTbW5GsbxbFJnBDRWHcdNlan9tOhaZ3mDRo3nLJCkQp8gS
         xJXEAV08IVNIs3697MlZlMOvd5cfY6H/oy/7aVSVm704AyITdp4IIIvUBpf2/ob37m7w
         la73hpU+WBzB+WZvWVm9xNqYXA6UaI5/CL4s5QtaHOGFS8IyT0bCy9xRJeV277Cm2tpc
         9YJkKk9AF0sh8dsrpmJrcSgRAd9huAZdBPItXHYocfavtPYbn4le+TeEi60gJNqeyjUx
         edqK5RgC+7kV7xovCi6uRxu4+0y9GCWcDFmAV+dv6GitCiY3n4M1ApsTHRAMqqgdq7f2
         Ifgw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:in-reply-to:references:mime-version
         :dkim-signature;
        bh=+8BFKwgRB5PY3k38U7ZbOMJf68p1uwW+hc4BYMKgfj4=;
        b=EX2jOuoGGiWUzRjIFuOcaMR0wezXzbTq3leJn0Ha4demT71Zkr9n+46+KUKK4IEqwh
         RUFUxal3qWzQuhB0TNinUZ35lkhoyUb16oJ5RPH8FW0Pjh8WpJ7LkrUTZ6pM8TscqEK3
         xfNFztKFgYWB2PKnZndwRF0OM2gsaNyNWYIeRJVp11+CCczh+Sk5dH/g+q25HKi9JF1L
         skI/VU8epZXWNAKeoJPn7yyQy/svnS148l4akxMY8cd8qMdPpnBJ6/1hphW0I25Ax2rs
         ySO8/MKzA90EmBCJ7/5B/U9NhiWKE/QOnToKzy+33ROfQHOCoMHyaaW46Tn4ZYLuO2qz
         DVCw==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b="f+q/okRN";
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id j10sor4194252wrx.1.2018.11.01.15.03.20
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Thu, 01 Nov 2018 15:03:20 -0700 (PDT)
Received-SPF: pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:a5d:6389:: with SMTP id p9-v6mr7782864wru.215.1541109799820;
 Thu, 01 Nov 2018 15:03:19 -0700 (PDT)
In-Reply-To: <CAFk2RUa3OVbiZFYD4k4WHe=7hD0mFOKPLGMqcEVj109FQdhF4w@mail.gmail.com>
X-Original-Sender: hyman.rosen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b="f+q/okRN";       spf=pass
 (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;       dmarc=pass
 (p=NONE sp=QUARANTINE 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-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:40845
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/40845>

--0000000000002da2de0579a19638
Content-Type: text/plain; charset="UTF-8"

On Thu, Nov 1, 2018 at 11:51 AM Ville Voutilainen <
ville.voutilainen@gmail.com> wrote:

> 2) don't make it part of the ABI
> 3) don't try to introduce overloading by parameter name
>

Just wanted to mention that overloading by parameter name (Ada style)
does not mean that functions can have the same signature - they still have
to be unique.  That is, you can do
    void f(int a, int b = 0);
    void f(int c);
and use parameter names to distinguish f(a => 0) from f(c => 0) but you
can't do
    void f(int a);
    void f(int b);
and have those be different functions.  That's part of not changing the ABI.

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqdaXi_%2Bi6n1yk9tjPxsMZ%2BUdjfJV3zDJ8etnO9zBRPW5Ag%40mail.gmail.com.

--0000000000002da2de0579a19638
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Thu, Nov 1,=
 2018 at 11:51 AM Ville Voutilainen &lt;<a href=3D"mailto:ville.voutilainen=
@gmail.com">ville.voutilainen@gmail.com</a>&gt; wrote:</div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">
2) don&#39;t make it part of the ABI<br>
3) don&#39;t try to introduce overloading by parameter name<br></blockquote=
><div><br>Just wanted to mention that overloading by parameter name (Ada st=
yle)<br>does not mean that functions can have the same signature - they sti=
ll have<br>to be unique.=C2=A0 That is, you can do<br><font face=3D"monospa=
ce, monospace">=C2=A0 =C2=A0 void f(int a, int b =3D 0);<br>=C2=A0 =C2=A0 v=
oid f(int c);</font><br>and use parameter names to distinguish <font face=
=3D"monospace, monospace">f(a =3D&gt; 0)</font> from <font face=3D"monospac=
e, monospace">f(c =3D&gt; 0)</font> but you can&#39;t do<br><font face=3D"m=
onospace, monospace">=C2=A0 =C2=A0 void f(int a);<br>=C2=A0 =C2=A0 void f(i=
nt b);</font><br>and have those be different functions.=C2=A0 That&#39;s pa=
rt of not changing the ABI.<br></div></div></div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAHSYqdaXi_%2Bi6n1yk9tjPxsMZ%2BUdjfJV=
3zDJ8etnO9zBRPW5Ag%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter"=
>https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqdaXi_%2=
Bi6n1yk9tjPxsMZ%2BUdjfJV3zDJ8etnO9zBRPW5Ag%40mail.gmail.com</a>.<br />

--0000000000002da2de0579a19638--

.
