220 39924 <3fc9fb1a-8803-4bcf-b928-c855e76f880e@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: mihailnajdenov@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Named Parameters for C++
Date: Sun, 19 Aug 2018 10:22:52 -0700 (PDT)
Lines: 181
Approved: news@gmane.org
Message-ID: <3fc9fb1a-8803-4bcf-b928-c855e76f880e@isocpp.org>
References: <CAPuuy5eBx1ybcPjS6dNsk7n1_c2uhdRBS19qr=q5cj3cTURnLQ@mail.gmail.com>
 <1708615.QdClGnisbJ@tjmaciei-mobl1>
 <60fba045-252b-486e-92e0-03c08b6d5a35@wanadoo.fr>
 <1925737.EHUJpxQoH7@tjmaciei-mobl1>
 <4df1f86f-cdee-5275-bdd1-b53f2f10bef8@wanadoo.fr>
 <plb9h7$r0c$1@blaine.gmane.org>
 <7e07b857-8be0-f0b4-79e2-32d0f2d8e823@wanadoo.fr>
 <7d28cd24-b43d-4e24-876b-a04adcbbe867@isocpp.org>
 <19c6eb56-2188-b849-6ea1-87b37cb546de@wanadoo.fr>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1212_2000730272.1534699372483"
X-Trace: blaine.gmane.org 1534699249 6838 195.159.176.226 (19 Aug 2018 17:20:49 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 19 Aug 2018 17:20:49 +0000 (UTC)
Cc: mihailnajdenov@gmail.com, bop@gmb.dk
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCUJ3A7GRAPRB3OO43NQKGQEG5BNN7A@isocpp.org Sun Aug 19 19:20:45 2018
Return-path: <std-proposals+bncBCUJ3A7GRAPRB3OO43NQKGQEG5BNN7A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb0-f197.google.com ([209.85.213.197])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCUJ3A7GRAPRB3OO43NQKGQEG5BNN7A@isocpp.org>)
	id 1frRNc-0001gc-Ae
	for gclcip-std-proposals@m.gmane.org; Sun, 19 Aug 2018 19:20:44 +0200
Original-Received: by mail-yb0-f197.google.com with SMTP id o18-v6sf6407251ybp.13
        for <gclcip-std-proposals@m.gmane.org>; Sun, 19 Aug 2018 10:22:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=oDR8mFy/xU8zaR0bIHOp/4+8Lj3mN3H7FoWx+SCVR7c=;
        b=m/IiMwOFZU3p/FSObd11qDxQEhEXflf2aM811pnW7+3rIHvNtit4XajSvYJ8r/KrmF
         0RkfhlhiP93rh4+XElJDdf7/PuiTOu4uwHM0W6scqqLw1LrdN0kCpye+YIVqfxG0LV4D
         U7o5ZxU4YD6Zo3wUNNlHw2ixSrRKVA0iwKYwDM7i/a7z7l1ee/ROBPVGBnyw46PII7V9
         TOWUMf5zu8Px6K0ha9K0PXbUXtuKkddJwYLju4/zPxWaa3a7u2KPFOnpR/n0QRSG1Tu1
         BnPYaXNY7Ajn/jJDn2SC2uH7q28HT9ojAQ8PPOa5g5UG/BbfP0VIcN8DChGG5jMZbLNQ
         KHDQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=oDR8mFy/xU8zaR0bIHOp/4+8Lj3mN3H7FoWx+SCVR7c=;
        b=odAQBHaewVL9mcDh2LX7asQ88qeLvLKRDtwxT4jBYRNu9lRMHSaGmp7DItxZIKFPg7
         ypon/kJYUqSuOR3Yc9NVzzYZFMV8p+eWSltj7ocx7OUnSOOtmN0X0mT8CU1n9oYISUPL
         ZvSMcFJikCXpkxKGddgfttqGQofDkRAr/O8xsQMuJAQRzVqKJDg1oqQA/k4cxlspFOpz
         WTchcHWm8CaQ44/hE3MiKvdJYE9ETtxvNbSBHPL/tbnaWzP7C1D66v7Q0RObyeTafK4o
         MbGBMvjPGyxLgt25Zli+/V6yW2aQmTbSRBNBw94N+164nNiXOMUkWzvFZJCvnfLTd2kg
         mcXg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to
         :references:subject:mime-version: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=oDR8mFy/xU8zaR0bIHOp/4+8Lj3mN3H7FoWx+SCVR7c=;
        b=KJ++dRWDrJOPRqiX94AWvubdUUyL7a8Dv/xBYJg0goMUzg06BhYPzaAa7aOak8PwKk
         o7b1RLVrxaq0rfzydCXCsE/2zaZgYuGg1bwKPL2Owy3g3sRl90LauCH6B3dgy10rtMg1
         /+B0iqHePKQHtfU3zhi2y1a+WCpnMc+f3+u6fRoWJiq69qLGXE/2XO/wY0vaiQkf/wy/
         KhcmtjQCX+9dQbkPjNhClEcPmHRW2qZz/ZXhXqLWUPTi/qiLnsay2R79GBuEuWymsAr3
         hMzO5UoBJtJtWkDItCA0Smri0bKT2oEXDeAeXDXu9hZ/mdyWAmzLJaXOjVtJSoxHt4OI
         xqdA==
X-Gm-Message-State: AOUpUlHy8eWlCxXvoaNC1hi8/VBpBo/CMl1tBr0eHXSXBHJYZBvEWKGD
	HccqpAU6o7qLiboleof7Q/S/wQ==
X-Google-Smtp-Source: AA+uWPweaR47VcXVElON9mZ73s+NcHgyvqSCOpRjwXXU+B8FTq+RlN+lAd2Ng1XqnVBunD7jGovCsg==
X-Received: by 2002:a81:98cb:: with SMTP id p194-v6mr12951463ywg.9.1534699374540;
        Sun, 19 Aug 2018 10:22:54 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a81:b1c8:: with SMTP id p191-v6ls1815537ywh.3.gmail; Sun, 19
 Aug 2018 10:22:53 -0700 (PDT)
X-Received: by 2002:a81:3807:: with SMTP id f7-v6mr704947ywa.4.1534699373102;
        Sun, 19 Aug 2018 10:22:53 -0700 (PDT)
In-Reply-To: <19c6eb56-2188-b849-6ea1-87b37cb546de@wanadoo.fr>
X-Original-Sender: MihailNajdenov@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:39924
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/39924>

------=_Part_1212_2000730272.1534699372483
Content-Type: multipart/alternative; 
	boundary="----=_Part_1213_286806137.1534699372483"

------=_Part_1213_286806137.1534699372483
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable



On Sunday, August 19, 2018 at 7:46:58 PM UTC+3, Vicente J. Botet Escriba=20
wrote:
>
> Le 19/08/2018 =C3=A0 15:04, mihailn...@gmail.com <javascript:> a =C3=A9cr=
it :
>
>
>
> On Sunday, August 19, 2018 at 3:26:12 PM UTC+3, Vicente J. Botet Escriba=
=20
> wrote:=20
>>
>> Independently of the language feature, using a tag type allows to=20
>> transport the tag between different functions. In addition, you cannot=
=20
>> change the class constructor name, so you will need a tag to be able to=
=20
>> overload it. Take for example the in_place_t tag.=20
>>
>
> I have thoroughly explored that idea a month back:=20
> https://groups.google.com/a/isocpp.org/d/msg/std-proposals/tPtdQE2GXb0/4O=
jT5Z4pBQAJ
>
> Feel free to comment there, I am undecided on the topic.=20
>
> =20
>
> I'm not sure yet we need some syntactic sugar for this tag dispatching=20
> feature neither.
> I'm just trying to separate the named parameter part from the overload=20
> part as orthogonal features.
> You go too far for my taste in your proposal and you propose to have all=
=20
> at once. I'll be against such a feature.
>

Can you elaborate a bit more, what are your expectations and where should a=
=20
line be drawn? As you can see in the comments to the post, there are=20
similar concerns.
In any case it is not a proposal, but an investigation. It is clear tags=20
have overlap with strong names, and if we can get an attractive=20
proposition, based on tags, we can mark at least one part (the harder=20
part?) of the named arguments equation "fixed".=20


> Vicente
>

--=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.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/3fc9fb1a-8803-4bcf-b928-c855e76f880e%40isocpp.or=
g.

------=_Part_1213_286806137.1534699372483
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Sunday, August 19, 2018 at 7:46:58 PM UTC+3, Vi=
cente J. Botet Escriba wrote:<blockquote class=3D"gmail_quote" style=3D"mar=
gin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div>Le 19/08/2018 =C3=A0 15:04,
      <a onmousedown=3D"this.href=3D&#39;javascript:&#39;;return true;" onc=
lick=3D"this.href=3D&#39;javascript:&#39;;return true;" href=3D"javascript:=
" target=3D"_blank" rel=3D"nofollow" gdf-obfuscated-mailto=3D"oYhg1WhGAAAJ"=
>mihailn...@gmail.com</a> a =C3=A9crit=C2=A0:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr"><br>
        <br>
        On Sunday, August 19, 2018 at 3:26:12 PM UTC+3, Vicente J. Botet
        Escriba wrote:
        <blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8=
ex;border-left:1px #ccc solid;padding-left:1ex">Independently
          of the language feature, using a tag type allows to <br>
          transport the tag between different functions. In addition,
          you cannot <br>
          change the class constructor name, so you will need a tag to
          be able to <br>
          overload it. Take for example the in_place_t tag.
          <br>
        </blockquote>
        <div><br>
        </div>
        <div>I have thoroughly explored that idea a month
back:=C2=A0<a onmousedown=3D"this.href=3D&#39;https://groups.google.com/a/i=
socpp.org/d/msg/std-proposals/tPtdQE2GXb0/4OjT5Z4pBQAJ&#39;;return true;" o=
nclick=3D"this.href=3D&#39;https://groups.google.com/a/isocpp.org/d/msg/std=
-proposals/tPtdQE2GXb0/4OjT5Z4pBQAJ&#39;;return true;" href=3D"https://grou=
ps.google.com/a/isocpp.org/d/msg/std-proposals/tPtdQE2GXb0/4OjT5Z4pBQAJ" ta=
rget=3D"_blank" rel=3D"nofollow">https://groups.google.<wbr>com/a/isocpp.or=
g/d/msg/std-<wbr>proposals/tPtdQE2GXb0/<wbr>4OjT5Z4pBQAJ</a></div>
        <div><br>
        </div>
        <div>Feel free to comment there, I am undecided on the topic.=C2=A0=
</div>
        <div><br>
        </div>
        <div>=C2=A0</div>
      </div>
    </blockquote>
    I&#39;m not sure yet we need some syntactic sugar for this tag
    dispatching feature neither.<br>
    I&#39;m just trying to separate the named parameter part from the
    overload part as orthogonal features.<br>
    You go too far for my taste in your proposal and you propose to have
    all at once. I&#39;ll be against such a feature.<br></div></blockquote>=
<div><br></div><div>Can you elaborate a bit more, what are your expectation=
s and where should a line be drawn? As you can see in the comments to the p=
ost, there are similar concerns.</div><div>In any case it is not a proposal=
, but an <span style=3D"display: inline !important; float: none; background=
-color: transparent; color: rgb(34, 34, 34); font-family: &quot;Arial&quot;=
,&quot;Helvetica&quot;,sans-serif; font-size: 13px; font-style: normal; fon=
t-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; te=
xt-align: left; text-decoration: none; text-indent: 0px; text-transform: no=
ne; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;=
">investigation. </span><span style=3D"display: inline !important; float: n=
one; background-color: transparent; color: rgb(34, 34, 34); font-family: &q=
uot;Arial&quot;,&quot;Helvetica&quot;,sans-serif; font-size: 13px; font-sty=
le: normal; font-variant: normal; font-weight: 400; letter-spacing: normal;=
 orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; tex=
t-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; wor=
d-spacing: 0px;">It is clear tags have overlap with strong names, and if we=
 can get an attractive proposition, based on tags, we can mark at least one=
 part (the harder part?) of the named arguments equation &quot;fixed&quot;.=
=C2=A0</span></div><div><span style=3D"display: inline !important; float: n=
one; background-color: transparent; color: rgb(34, 34, 34); font-family: &q=
uot;Arial&quot;,&quot;Helvetica&quot;,sans-serif; font-size: 13px; font-sty=
le: normal; font-variant: normal; font-weight: 400; letter-spacing: normal;=
 orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; tex=
t-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; wor=
d-spacing: 0px;"><br></span></div><div></div><blockquote class=3D"gmail_quo=
te" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;paddi=
ng-left: 1ex;"><div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <br>
    Vicente<br>
  </div>

</blockquote></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/3fc9fb1a-8803-4bcf-b928-c855e76f880e%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/3fc9fb1a-8803-4bcf-b928-c855e76f880e=
%40isocpp.org</a>.<br />

------=_Part_1213_286806137.1534699372483--

------=_Part_1212_2000730272.1534699372483--

.
