220 31949 <59cae011-1553-417a-940a-a15e45e14b92@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: hun.nemethpeter@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Improved variable declaration syntax
Date: Mon, 3 Apr 2017 08:47:02 -0700 (PDT)
Lines: 103
Approved: news@gmane.org
Message-ID: <59cae011-1553-417a-940a-a15e45e14b92@isocpp.org>
References: <62e66de4-7c7a-4e1c-8343-b173b49cb594@isocpp.org>
 <CAFk2RUYEgoxs-9K8mNgCdbn0_WFD_JLyuu46Rp3UkFiiqbPtWQ@mail.gmail.com>
 <d2823c58-f983-49fc-963a-c7d00064e5dd@isocpp.org> <CAFk2RUbZoaYFvcRT2joafBNGchz9mR=sX2n+ZUdHW5QD5==BXg@mail.gmail.com>
 <c61fc6d5-ceca-454c-9fe1-97091fca4b26@isocpp.org>
 <CAFk2RUZofVkxUMMzaY4-87UzAHPR83RqFB1T9koAWAFokLtZOQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1436_1919123055.1491234422578"
X-Trace: blaine.gmane.org 1491234427 1282 195.159.176.226 (3 Apr 2017 15:47:07 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 3 Apr 2017 15:47:07 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBD3YT6VHQYIBB564RHDQKGQE2MI3JEQ@isocpp.org Mon Apr 03 17:46:59 2017
Return-path: <std-proposals+bncBD3YT6VHQYIBB564RHDQKGQE2MI3JEQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb0-f199.google.com ([209.85.213.199])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBD3YT6VHQYIBB564RHDQKGQE2MI3JEQ@isocpp.org>)
	id 1cv4C2-0007rq-3X
	for gclcip-std-proposals@m.gmane.org; Mon, 03 Apr 2017 17:46:58 +0200
Original-Received: by mail-yb0-f199.google.com with SMTP id l201sf55243243ybf.22
        for <gclcip-std-proposals@m.gmane.org>; Mon, 03 Apr 2017 08:47:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to: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=sPWar9QQSqxYR04m/2WBYHL2jFpuPZvYGX899GsI9dk=;
        b=OAXtfKSVySY2wIxpmudFQG11RsD1Ha+ZepB4NeXNB92SMrghasHxLcMUO+F838ZA81
         E+TpJRZPR8Wq2MbaazD1rmkJDJ5miUUani9Yy4Tg/Me7JAmHK901FOScoP+iADt12NKB
         KFqEa7C7luET0GqUrPkUtBrIOGeQE16dVRJZwpZEsYMwSGakePq4f7ZJJbS92fmUEeLQ
         601FRYlLK4SEKY1RTcgBDFYdMX5xGU7CtgdKpO6ZHyvYXtPPU3wGRYtNJuBksC53jlWn
         GzC6mNkweYCUBN2fWG3J62AOeI7Q34XruU86FIGLVL+3qRozh4QBwdPMgi70MJ1q9PjC
         Lp4Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to: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=sPWar9QQSqxYR04m/2WBYHL2jFpuPZvYGX899GsI9dk=;
        b=COpn5YbV+dFlcautyqyUJBaAYDd4GLhPjrXBXFKV5e30pIU+YtCqxE9n2sKLEXnlox
         7cg4PPGQYjk0UqK9lzswSeuvnziEUIpEwYtxW+Gxw9YPN99SR5rTFp5UP6ZvLOCbBgu6
         yyzggBeOxILFUL05vjKs47dEvmTTGwMCd7YU4fRxM9K8xWZPdfCX4mZIVvJOuv/UbvSg
         o4/dGoaD26egSb8oSK8aFoFwtSqunK0fs7MtJeIzG6KqMnTZ2L9PF0JWb4+6nOwa6taY
         pcCO+Hak/lNAp3ebwyR3HU0fZ6wK1PLLlIDwi/Nv5d86Md4JIg7obqpXtGAIk1k2Xf3Z
         pHVw==
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: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=sPWar9QQSqxYR04m/2WBYHL2jFpuPZvYGX899GsI9dk=;
        b=JwK1nGURZPHe9gkjy1c+qFyOSc+jooSSa4dXikz1itQmSTB9gh5pcOt8/f+zl1K7pS
         gyyZQXdYanhBOfqi8kM+Dp/62CHJRbEozvANOUEvWOi8ouOSoVysheE3yNtFsLixm1ez
         v3MoiSgJR6OItrrm8xlg5iV8o3i9v3B3wa/wPQ8v4NLb9Ad0OOtIECaDXtU4qMcrpBqy
         3xk1yq5BJIypFsPG4ZK6EJEkwK9FFV63DsYajI4xsjSpHylmw/svzEgHuuhzK/OfFjzp
         I4CDLR65lYkwPCeiM1o+I3ub/lAuAKv1jDWprv04tq4tJsCvlXz2x8LV/8eDX+N+XMxK
         nR2g==
X-Gm-Message-State: AFeK/H254uC5cABfwTdZWp+R59aAkojjD59PR4zvTaUgLziC1ST0+0Pm4EIZHcWl6XsAwg==
X-Received: by 10.129.167.137 with SMTP id e131mr7718944ywh.89.1491234423959;
        Mon, 03 Apr 2017 08:47:03 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.33.39 with SMTP id i36ls1494238otb.35.gmail; Mon, 03 Apr
 2017 08:47:03 -0700 (PDT)
X-Received: by 10.157.45.133 with SMTP id g5mr731843otb.4.1491234423100;
        Mon, 03 Apr 2017 08:47:03 -0700 (PDT)
In-Reply-To: <CAFk2RUZofVkxUMMzaY4-87UzAHPR83RqFB1T9koAWAFokLtZOQ@mail.gmail.com>
X-Original-Sender: hun.nemethpeter@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: <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:31949
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31949>

------=_Part_1436_1919123055.1491234422578
Content-Type: multipart/alternative; 
	boundary="----=_Part_1437_749992391.1491234422579"

------=_Part_1437_749992391.1491234422579
Content-Type: text/plain; charset=UTF-8



On Monday, April 3, 2017 at 5:37:04 PM UTC+2, Ville Voutilainen wrote:
>
> On 3 April 2017 at 18:27,  <hun.nem...@gmail.com <javascript:>> wrote: 
> > Nowadays we have tool like clang refactoring tool. With the help of a 
> tool 
> > you can mechanically transform your code base. 
>
> No I can't, since my code must work on older compilers, and I have no 
> time to spend on pointless 
> changes that add nothing to the code. 
>
Adding new features will break compatibility. If you declare your code 
needs the -std=c++20 flag then this kind of issue will happen.
 

>
> > Implementing this new syntax in compilers isn't really a huge task. 
>
>
> I'm sure you've done it for gcc, clang and msvc already, not to 
> mention every non-compiler tool 
> that parses C++. Where are your patches? Never mind, don't tell me, I 
> don't want them. 
>
I wrote some compiler extension in clang. So I think it won't really be a 
huge change in the parse. And I don't think that my task is to patch every 
compiler.


Peter

-- 
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/59cae011-1553-417a-940a-a15e45e14b92%40isocpp.org.

------=_Part_1437_749992391.1491234422579
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Monday, April 3, 2017 at 5:37:04 PM UTC+2, Vill=
e Voutilainen wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;ma=
rgin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">On 3 April=
 2017 at 18:27, =C2=A0&lt;<a href=3D"javascript:" target=3D"_blank" gdf-obf=
uscated-mailto=3D"1as0Nj-XCQAJ" rel=3D"nofollow" onmousedown=3D"this.href=
=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39;javascri=
pt:&#39;;return true;">hun.nem...@gmail.com</a>&gt; wrote:
<br>&gt; Nowadays we have tool like clang refactoring tool. With the help o=
f a tool
<br>&gt; you can mechanically transform your code base.
<br>
<br>No I can&#39;t, since my code must work on older compilers, and I have =
no
<br>time to spend on pointless
<br>changes that add nothing to the code.
<br></blockquote><div>Adding new features will break compatibility. If you =
declare your code needs the -std=3Dc++20 flag then this kind of issue will =
happen.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
<br>&gt; Implementing this new syntax in compilers isn&#39;t really a huge =
task.
<br>
<br>
<br>I&#39;m sure you&#39;ve done it for gcc, clang and msvc already, not to
<br>mention every non-compiler tool
<br>that parses C++. Where are your patches? Never mind, don&#39;t tell me,=
 I
<br>don&#39;t want them.
<br></blockquote><div>I wrote some compiler extension in clang. So I think =
it won&#39;t really be a huge change in the parse. And I don&#39;t think th=
at my task is to patch every compiler.</div><div><br></div><div><br></div><=
div>Peter</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/59cae011-1553-417a-940a-a15e45e14b92%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/59cae011-1553-417a-940a-a15e45e14b92=
%40isocpp.org</a>.<br />

------=_Part_1437_749992391.1491234422579--

------=_Part_1436_1919123055.1491234422578--

.
