220 35978 <CAC+0CCPh3nTKbGWHVoVXw-W8HMLC5DEhH2eSMmp_Ycv_SbUteg@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Jake Arkinstall <jake.arkinstall@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: operator[](...)
Date: Mon, 18 Dec 2017 17:04:39 +0000
Lines: 65
Approved: news@gmane.org
Message-ID: <CAC+0CCPh3nTKbGWHVoVXw-W8HMLC5DEhH2eSMmp_Ycv_SbUteg@mail.gmail.com>
References: <ea8aec36-305c-48ca-aedc-0db120fd8fcc@isocpp.org>
 <8bbeac1f-f698-4e49-9e1f-4cb1ab389b09@isocpp.org> <acd594ce-5289-44de-b760-19e655d84a7b@isocpp.org>
 <0aeb1cbe-dbdf-4d66-bbe6-2a127b0c1a6c@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="001a113db95482b6c70560a0586f"
X-Trace: blaine.gmane.org 1513616571 14854 195.159.176.226 (18 Dec 2017 17:02:51 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 18 Dec 2017 17:02:51 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDCZX3WUUQFRBKHK37IQKGQE7C4X6XA@isocpp.org Mon Dec 18 18:02:42 2017
Return-path: <std-proposals+bncBDCZX3WUUQFRBKHK37IQKGQE7C4X6XA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f71.google.com ([209.85.218.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDCZX3WUUQFRBKHK37IQKGQE7C4X6XA@isocpp.org>)
	id 1eQyoJ-0002sp-4n
	for gclcip-std-proposals@m.gmane.org; Mon, 18 Dec 2017 18:02:39 +0100
Original-Received: by mail-oi0-f71.google.com with SMTP id v63sf7313319oif.7
        for <gclcip-std-proposals@m.gmane.org>; Mon, 18 Dec 2017 09:04:41 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1513616681; cv=pass;
        d=google.com; s=arc-20160816;
        b=KjLTsmFXWavJ6cVMPQ8ZaW3tTyapWA4D+hqd3GWSusZ7+RRvjlHpMAcRfINL9AZx7v
         CAc9MhpkBhmS1YZgAMvANRm209FkHdsqYf1WzkVIk3zc0JI6DYuVEE+J/ADkkH8f0mrQ
         Lr3DLpYiPEiZZP3I7mK+Wwxhkc1EEFJCJVS2gV1sZUNnznstoU+FNapbGDJjIlCQ0s/s
         yWn31WKqEDo8/jDB7UblDv1nDvJlrdmBUna87fPbQf26Z5sMGK6hGRI4TxO5ufLXCbK/
         jNSAGASCzaSvx2Ut0G+sCM0U9aONkux0/2wYgOO7XoPqZbUl5jCbSIxK05uZ7lxgeHyw
         rn5g==
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:references:in-reply-to:mime-version:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=nP+pMmPkvbgp0wc6ZmP02hpTPCbuIFkTdo6dIihkhlY=;
        b=Zhreo/9XtASGu8iisrblO+8YJhKQof1Kqqia3eHAQo43wdFOuQW1shdr+JyMjEk5ct
         XoOkE5QXHDoonIEs+HFUSfqfvS1HapZsVQYN4kP8RJEFz65Gf27cBP/WS4zj9Tu2EU0s
         TJpVHYD8V1tQeKzjMDUGgsVDjOi81EJmaxYutU1XcEYxglolFOeQmQx4fHNkxRfgck6Q
         pLQZ2pNeu+1zB2yK/LfWAxEbAEFiO2gu3rn1W7T+3ZP3KiHwjDHcjyhSKVmQd3dnFQ+r
         Vyc/wyyCpMnr8OmJRCbLedwTRzO+L4n5g3FdtLNqWLaVl/syu9VltZmfYQh8zwl8Nyis
         bOsA==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=uNT3PA4p;
       spf=pass (google.com: domain of jake.arkinstall@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jake.arkinstall@gmail.com;
       dmarc=pass (p=NONE sp=NONE 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:in-reply-to:references: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=nP+pMmPkvbgp0wc6ZmP02hpTPCbuIFkTdo6dIihkhlY=;
        b=sVOLr8O7TeqT3c1lrzioc8Bdpm6r7Bj9oTFUywbiXOFeY6on7RqX6wFWdg7A40M4GA
         2dFcox+531ASFhzk3YVGZuRjql3WWzDVF5N//vU7yth53HPb5MuEc0hLkyrn+wZpdt44
         rsHOp5oHzGR4iaGJIpQtiMlgqOOjbBE/5zXBV8/55/xR4fde39Z7+LIcsWwEmh6t4u6/
         hdoVmYItnoHFDC1gg73MrTngo4FYn+l7wiJ+xPEQK2nAU+NXB4d9xKtPUR6DAZuPxa6r
         ILver7AeZZhcRzckr/9tHRrXADCqtQFtdhJe1AiDG0k9pnUL6vqVMqvorXCBRbGw6Wmn
         oA3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references: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=nP+pMmPkvbgp0wc6ZmP02hpTPCbuIFkTdo6dIihkhlY=;
        b=VDVoHI1mpcYD6j/LS/o9EgtQgu4svXgHL5KxyHDunnj79Vkwpwt6+Ed8CtnM+3aNho
         6ScdA10fbAV69fQ9nyqwAlVpS58rHE4kCwYVszSJ+z/Nzs3IfFKbm6mr/4eOLUzWED2I
         Cs70phlj/KFStIyZzZQy3VRvyX+dIdBGXoAO6QLyv9l8jQ2ApDZl0NE5LZR+Avivw14e
         widbl97NG9loia40xNB7NTvKLt71Gp5R1GmZS9LXS0uF7rmiArKuq3E0PUmfByyd27yy
         pNSk2SK5Lmbv50/T20YvjgGyl0DHEQhKsa1ekhTviwh2YMvvkz9A+CeFKM2gQg8y8Bif
         iYGQ==
X-Gm-Message-State: AKGB3mLixcTvOb0DRrIeD25SnHox6uo7Mt9fM6KvoJFFirWqwJtKbpia
	L4xMA9kcydwwEebrkFRzcsQGpA==
X-Google-Smtp-Source: ACJfBouCLxzpmrg8elbMz1EKeC6KAnepy+IroaJIHi/V3afd3V+DuuvFjJ+U9bu9FHqUXwBl2RvvMA==
X-Received: by 10.157.9.252 with SMTP id 57mr189826otz.63.1513616681213;
        Mon, 18 Dec 2017 09:04:41 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.82.173 with SMTP id f45ls210357oth.18.gmail; Mon, 18 Dec
 2017 09:04:40 -0800 (PST)
X-Received: by 10.202.104.218 with SMTP id o87mr344753oik.169.1513616680076;
        Mon, 18 Dec 2017 09:04:40 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1513616680; cv=none;
        d=google.com; s=arc-20160816;
        b=poxelYg8c0LbXyUtrqM4ZbMBqRHQe14uETTFhgHLRTosEb6CDzq6hOx2dLHtgCnQqI
         9/GSX436okcMenb0wArwTsyRvpj7iEHLD0fgcz7Nbosw/LTQqc+RYC/Y34LbMBJCJ/hR
         cSGXBDZbknOA11fWM7vgIhuHHdgxovpTJbCf1JKE4bWjtuVD/raSrlOj3JNG95sBFSha
         q9Zd0GJa3yrarUVrAn3mLEQnVWFocOUWt141EbMcFNFIFSLHQI31S1VjFbpzZ3czcLAO
         KZeITcG1Y2VDOGuSOXZwxhC56kK6uz5YJ3C33064nGcHSkfF3kRy0qYQ4Hnf/7ZPAX5z
         h1CQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:references:in-reply-to:mime-version
         :dkim-signature:arc-authentication-results;
        bh=Dy9eFZbnW75lHU4Zh3xI7j5uyE79rlxT5aeyUZtqHus=;
        b=fGIC/WU2dTu+MR1iu/pjU56FKqHcCpaNr00yl9YLqSrqMHCl7xLqbfmiTcGPy+0KD8
         B//jJOrXQDWdqFzK+dePZnT0zwTIwFPwqbQV5FHkvIAhSWE9ngRCvMZRHd4pGIhR0Lt9
         e08o7MdggixzwGC8Gq0VWQ6ObSC+xsUVrn3f886DJsugxUPdHx02l0dzPuAQaPUF+evf
         BXhgth49ixgZw96v05AacwiPhEoY8yUCkBC3xcH8NYkdW+3CIhr0IXApUxLyNCSUAryM
         JacN6ScJM3sEoor8xA8to7x19KUqHWjUYyo8IemUUNplsMnWaRGH8cYqW/WQui1YzlMA
         OwLQ==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=uNT3PA4p;
       spf=pass (google.com: domain of jake.arkinstall@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jake.arkinstall@gmail.com;
       dmarc=pass (p=NONE sp=NONE 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 l51sor447742otb.220.2017.12.18.09.04.40
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Mon, 18 Dec 2017 09:04:40 -0800 (PST)
Received-SPF: pass (google.com: domain of jake.arkinstall@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 10.157.14.56 with SMTP id c53mr224244otc.81.1513616679546; Mon,
 18 Dec 2017 09:04:39 -0800 (PST)
Original-Received: by 10.168.69.140 with HTTP; Mon, 18 Dec 2017 09:04:39 -0800 (PST)
Original-Received: by 10.168.69.140 with HTTP; Mon, 18 Dec 2017 09:04:39 -0800 (PST)
In-Reply-To: <0aeb1cbe-dbdf-4d66-bbe6-2a127b0c1a6c@isocpp.org>
X-Original-Sender: jake.arkinstall@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=uNT3PA4p;       spf=pass
 (google.com: domain of jake.arkinstall@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=jake.arkinstall@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-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:35978
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/35978>

--001a113db95482b6c70560a0586f
Content-Type: text/plain; charset="UTF-8"

On 16 Dec 2017 16:45, "Nicol Bolas" <jmckesson@gmail.com> wrote:

It is legal code today, so changing its meaning is a breaking change.


Not necessarily though. If the array access operator accepts N arguments
and M > N arguments are provided, the comma operator can apply. If it
accepts N arguments and N arguments are provided, it handles them
accordingly.

If we follow that rule, then this is not a breaking change - simply because
we have no multi-dimensional array access operator.

If this proposal does gain some traction, I'd like to see a rectangular
array class to go along with it, both as a usage example and for the
standard library.

-- 
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/CAC%2B0CCPh3nTKbGWHVoVXw-W8HMLC5DEhH2eSMmp_Ycv_SbUteg%40mail.gmail.com.

--001a113db95482b6c70560a0586f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><br><div class=3D"gmail_extra" dir=3D"auto"><br><div clas=
s=3D"gmail_quote">On 16 Dec 2017 16:45, &quot;Nicol Bolas&quot; &lt;<a href=
=3D"mailto:jmckesson@gmail.com">jmckesson@gmail.com</a>&gt; wrote:<br type=
=3D"attribution"><blockquote class=3D"quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"qu=
oted-text"><div>It is legal code today, so changing its meaning is a breaki=
ng change.<br></div></div></div></blockquote></div></div><div dir=3D"auto">=
<br></div><div dir=3D"auto">Not necessarily though. If the array access ope=
rator accepts N arguments and M &gt; N arguments are provided, the comma op=
erator can apply. If it accepts N arguments and N arguments are provided, i=
t handles them accordingly.=C2=A0</div><div dir=3D"auto"><br></div><div dir=
=3D"auto">If we follow that rule, then this is not a breaking change - simp=
ly because we have no multi-dimensional array access operator.</div><div di=
r=3D"auto"><br></div><div dir=3D"auto">If this proposal does gain some trac=
tion, I&#39;d like to see a rectangular array class to go along with it, bo=
th as a usage example and for the standard library.</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/CAC%2B0CCPh3nTKbGWHVoVXw-W8HMLC5DEhH2=
eSMmp_Ycv_SbUteg%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAC%2B0CCPh3nTK=
bGWHVoVXw-W8HMLC5DEhH2eSMmp_Ycv_SbUteg%40mail.gmail.com</a>.<br />

--001a113db95482b6c70560a0586f--

.
