220 31152 <ac336593-4659-30b9-9d93-1d93820e8379@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Andrey Semashev <andrey.semashev@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: new operators (dot, cross, wedge, exponent)
Date: Sun, 26 Feb 2017 15:14:08 +0300
Lines: 44
Approved: news@gmane.org
Message-ID: <ac336593-4659-30b9-9d93-1d93820e8379@gmail.com>
References: <53de9adb-1e05-46fc-8ac9-75fb331720fa@isocpp.org>
 <1860166.65xQ725G03@tjmaciei-mobl1> <o8t49b$gga$1@blaine.gmane.org>
 <1582114.YO2EXH4VTc@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1488111255 10190 195.159.176.226 (26 Feb 2017 12:14:15 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 26 Feb 2017 12:14:15 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCXY5TXHWYJRBE4NZPCQKGQE33BNCOA@isocpp.org Sun Feb 26 13:14:08 2017
Return-path: <std-proposals+bncBCXY5TXHWYJRBE4NZPCQKGQE33BNCOA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f69.google.com ([209.85.215.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCXY5TXHWYJRBE4NZPCQKGQE33BNCOA@isocpp.org>)
	id 1chxiJ-0001xQ-EO
	for gclcip-std-proposals@m.gmane.org; Sun, 26 Feb 2017 13:14:07 +0100
Original-Received: by mail-lf0-f69.google.com with SMTP id a198sf28491132lfb.6
        for <gclcip-std-proposals@m.gmane.org>; Sun, 26 Feb 2017 04:14:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-transfer-encoding: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=wAt5bG3jFxMNb7G9vJ+P2ZuFZH8HDVcfGzX2aE6ts3o=;
        b=h6KSCiLtuQiD5WXLVXDEPWRqknmun6+McEGWBlwMS/S6yOj0DeZZoHPPwOQsSjxoAj
         6AnK3aG6zF/YGLASZvt6726+FYpUOVJJ3MnTZ69oPX5V/d0IZPb7heMg8usbnuXh+y7m
         gIEBBky09uoTQ9wLW5m9YkrFB1745XF1LemQzTczp0mvZmgnR813URFe9fMsjoH0iV07
         l24WY9jDiY2nU7mxW+tlDRtUdlt8jMWVXSCeaiajzMQopd92WroyXI3xsaOW7929CUDJ
         XrTC9HCJZ9UoTQ56zx+asJV7hWos84ZBRMXyziQo6Q0yW7rdrCzBbfAOgBcj3RpVV54S
      
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding
         :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=wAt5bG3jFxMNb7G9vJ+P2ZuFZH8HDVcfGzX2aE6ts3o=;
        b=ofqzwH0p4mtFEy+nHoXU/KL+hNVwCoV0J89+Wrf+z6ccRMOhZdLhT96NUVQXpgaZju
         icZoP142YIxBAyXgzIEvgHLw6hWPwZilSz8VXw2H8CSPiSW8CX9IF1ZVAlxjObE4Xa+e
         ixPRIui5p44xT8KazxLBo3E4Qd7qt4SdWR6hbk6nBY947+iylYC+3aP0gkLIe6uu/QbA
         J4Jw839BvH3fUMYNRXDuIkHE95DzoTXEVA9Q07omZ6yvBbDMLIHUhymhf9iiMNj9P63y
         Yq9+6arPquE4R7o4/C0ur9qsCYd0fHmnWk/eS6CzEmGv0+XXUIs4U3e3QEGY/arx/nik
  
X-Gm-Message-State: AMke39l54xDf8A3T69G5ndw2MCuvdUTGYJ0bjEkl9p0eiFJcN5s0DJwzfVQJmfYpLW04Gg==
X-Received: by 10.46.8.74 with SMTP id g10mr1207702ljd.1.1488111252999;
        Sun, 26 Feb 2017 04:14:12 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.25.40.17 with SMTP id o17ls654385lfo.23.gmail; Sun, 26 Feb
 2017 04:14:11 -0800 (PST)
X-Received: by 10.25.161.208 with SMTP id k199mr3048044lfe.165.1488111251211;
        Sun, 26 Feb 2017 04:14:11 -0800 (PST)
Original-Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com. [2a00:1450:4010:c07::235])
        by mx.google.com with ESMTPS id b142si5768704lfd.151.2017.02.26.04.14.11
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 26 Feb 2017 04:14:11 -0800 (PST)
Received-SPF: pass (google.com: domain of andrey.semashev@gmail.com designates 2a00:1450:4010:c07::235 as permitted sender) client-ip=2a00:1450:4010:c07::235;
Original-Received: by mail-lf0-x235.google.com with SMTP id z127so23613532lfa.2
        for <std-proposals@isocpp.org>; Sun, 26 Feb 2017 04:14:11 -0800 (PST)
X-Received: by 10.46.71.198 with SMTP id u189mr2853884lja.97.1488111250449;
        Sun, 26 Feb 2017 04:14:10 -0800 (PST)
Original-Received: from [192.168.1.2] (broadband-178-140-146-214.moscow.rt.ru. [178.140.146.214])
        by smtp.googlemail.com with ESMTPSA id l14sm9892498ljb.66.2017.02.26.04.14.09
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 26 Feb 2017 04:14:09 -0800 (PST)
In-Reply-To: <1582114.YO2EXH4VTc@tjmaciei-mobl1>
X-Original-Sender: andrey.semashev@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 andrey.semashev@gmail.com designates 2a00:1450:4010:c07::235 as permitted
 sender) smtp.mailfrom=andrey.semashev@gmail.com;       dmarc=pass (p=NONE
 sp=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: <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:31152
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31152>

On 02/26/17 03:15, Thiago Macieira wrote:
> Em s=C3=A1bado, 25 de fevereiro de 2017, =C3=A0s 15:34:08 PST, Bo Persson=
 escreveu:
>> On 2017-02-25 20:46, Thiago Macieira wrote:
>>> Em s=C3=A1bado, 25 de fevereiro de 2017, =C3=A0s 03:37:57 PST, Bo Perss=
on escreveu:
>>>>> int =C2=B7 =3D 0;
>>>>>
>>>>> But this isn't valid C++:
>>>>>
>>>>> int =E2=8B=85 =3D 0;
>
>> I don't know if this is an argument for or against the proposal, but as
>> my news reader doesn't want to show hex codes, I copied the text to
>> another program. There they both showed up as B7.
>
> That's weird. U+00B7 is listed in "see also" for U+22C5, but it should ne=
ver
> have been normalised to it. Nothing in the Unicode data files call for it=
.. So
> the problem is in your MUA.
>
> I'm glad we're not developing C++ in email clients.
>
> Homography by itself is not a reason for the C++ committee to deny the us=
e
> requested by the OP.

I think on the contrary - it is a very good reason to prohibit such=20
characters in identifiers, keywords and operators. Anywhere where a=20
wrong character is able to subvert the program meaning, the character=20
should be clearly distinguishable from any other allowed character. If=20
this is not currently the case, I consider it a mistake.

--=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/ac336593-4659-30b9-9d93-1d93820e8379%40gmail.com=
..

.
