220 39734 <519c2f35-c6b3-461f-89be-87ccd00f8be5@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Dimitrij Mijoski <dim.mj.p@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Readability improvement: types go on the right side
Date: Sun, 12 Aug 2018 14:06:07 -0700 (PDT)
Lines: 79
Approved: news@gmane.org
Message-ID: <519c2f35-c6b3-461f-89be-87ccd00f8be5@isocpp.org>
References: <d1e4945a-8605-4c11-99c9-5e8b30ce1186@isocpp.org>
 <a1a46362-5b3c-4611-801a-427ea6f9cac9@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1268_677895816.1534107967686"
X-Trace: blaine.gmane.org 1534107848 22120 195.159.176.226 (12 Aug 2018 21:04:08 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 12 Aug 2018 21:04:08 +0000 (UTC)
Cc: cppljevans@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCRIFJHGXANBBQGCYLNQKGQEH2QWQZA@isocpp.org Sun Aug 12 23:04:04 2018
Return-path: <std-proposals+bncBCRIFJHGXANBBQGCYLNQKGQEH2QWQZA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw1-f71.google.com ([209.85.161.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCRIFJHGXANBBQGCYLNQKGQEH2QWQZA@isocpp.org>)
	id 1foxWu-0005We-Aw
	for gclcip-std-proposals@m.gmane.org; Sun, 12 Aug 2018 23:04:04 +0200
Original-Received: by mail-yw1-f71.google.com with SMTP id t10-v6sf20336854ywc.7
        for <gclcip-std-proposals@m.gmane.org>; Sun, 12 Aug 2018 14:06:09 -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=iYB6EegGtWzxAViHubnuukrdWjV46hiikGaJHUeCCvI=;
        b=dP6Yn3m/TI3J0wtc3exiRPN/up25VcbcZZjY1Ps2XRXQL3G9pBs1Xv69VfZyJxvo5i
         CWjXN1iOUFu5K4xtjEX304yVjRSRXhXF1gDFy0lmTlPGRaWW6LjC5g3Nvvg9srruA+rY
         FpXdb3SNBRiCJMbi2lgKnbNyCkBvMotf98rJjujRiZR7YqeoYobHxpnGgps+G86Ou2SR
         5MUySfJUyBqK92Aq37WkYheHjntDlZtyPMxGguddahwxgprSI/G/rioi1d33wuIVtggN
         nk13FBXOcYoO8Z6HGvzinUpFop6C3yKFDb2dg9aVMToWRAy5SVuaNpA0PnDBF+wWImNi
         D83g==
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=iYB6EegGtWzxAViHubnuukrdWjV46hiikGaJHUeCCvI=;
        b=U+jE5GbYCRyXULjwYprji/haqokdhuUv2TAaKe3MSMSAcz0FA/gNdNKPdNAAQPeaCM
         01mWSN2nukViuf+KVcMHEkgyqNF5dKM1q+6UB6Iqdi9xaLRGgxei/OY5xPMP5JGgZwpd
         DUv+1n5jvRRxdof/TgOQLzifBuevIoadYYL0XJiCoxaG/H6lOM2Qzr8MDPSVfuQIUuft
         qbhv5+4Z5viMSzQ3LiCEuW4lusM8XFhomnQuAsGG9wQ8lHswh0+VCsikbVioHcD4NDgb
         esinI7XS3X1oe4PZRMFCVpEayrEQf/rfcq98b6syoNaydQzxsP6Xo5o2JZzBuZ+Gr+Nb
         bR3A==
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=iYB6EegGtWzxAViHubnuukrdWjV46hiikGaJHUeCCvI=;
        b=EvpViaGyThZadecbd0XcxTYmQTEtGytWoeiYn3MvMF6El2CV0LjRkqOWGbuveS1y7G
         ZQLMjtsdIcfhIDZjy/KO7nZJgjzsYgyZuz+3s7q7L53Mt9jUZ0nQRa6U1pGoJCy8IWDs
         OO+8kBIn9ShvxnNCha5s3D2u0HqKVCUp0uccamXtlD7egZZvB2DQEFwjX+/Tgx4h54Je
         CEYr7NKCnxe9jkOheSRHSSnVF+wVhSUDUAq2d2ke+DBj8KBPJhmnkhXuk3Ed6auKLIb5
         fN22uNhHAHwA/T46dg+DWC1Ew2jVSvt2KC9mdyCi7xlLnsdIVF9wzjnT95VBhANKD3Lj
         DP5Q==
X-Gm-Message-State: AOUpUlGC80UYq2LonYeKE/Qm9YQ8oBGZjSVDceMvqWIPFT7x9cE08NhE
	uwZ1v/9omLmwbQGMx+VbkhR68A==
X-Google-Smtp-Source: AA+uWPzPQ6TTAbQ3KK2qGk4nfz4GMh4tc/Cf5mMMMq8nQM5SMUfqhjOOEbPnHpMwGpQVduWGkj8I+Q==
X-Received: by 2002:a81:9ed8:: with SMTP id v207-v6mr4337551ywg.236.1534107969430;
        Sun, 12 Aug 2018 14:06:09 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a0d:d512:: with SMTP id x18-v6ls2752074ywd.28.gmail; Sun, 12
 Aug 2018 14:06:08 -0700 (PDT)
X-Received: by 2002:a81:78c6:: with SMTP id t189-v6mr320932ywc.7.1534107968326;
        Sun, 12 Aug 2018 14:06:08 -0700 (PDT)
In-Reply-To: <a1a46362-5b3c-4611-801a-427ea6f9cac9@isocpp.org>
X-Original-Sender: dim.mj.p@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:39734
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/39734>

------=_Part_1268_677895816.1534107967686
Content-Type: multipart/alternative; 
	boundary="----=_Part_1269_1727749694.1534107967687"

------=_Part_1269_1727749694.1534107967687
Content-Type: text/plain; charset="UTF-8"

On Sunday, August 12, 2018 at 10:53:22 PM UTC+2, cpplj...@gmail.com wrote:
>
>
> How would arrays be declared? Maybe:
>
> auto arr : [n_1][n_2]->result_type;
> ?
>
>
No, why complicate like that?

What about:
auto arr: int[3];


-- 
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/519c2f35-c6b3-461f-89be-87ccd00f8be5%40isocpp.org.

------=_Part_1269_1727749694.1534107967687
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Sunday, August 12, 2018 at 10:53:22 PM UTC+2, cpplj...@=
gmail.com wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin=
-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"lt=
r"><br><div>How would arrays be declared? Maybe:<br></div><div><br></div><d=
iv><div style=3D"background-color:rgb(250,250,250);border-color:rgb(187,187=
,187);border-style:solid;border-width:1px"><code><div><span style=3D"color:=
#008">auto</span><span style=3D"color:#000"> arr </span><span style=3D"colo=
r:#660">:</span><span style=3D"color:#000"> </span><span style=3D"color:#66=
0">[</span><span style=3D"color:#000">n_1</span><span style=3D"color:#660">=
][</span><span style=3D"color:#000">n_2</span><span style=3D"color:#660">]-=
&gt;</span><span style=3D"color:#000">result_type</span><span style=3D"colo=
r:#660">;</span><span style=3D"color:#000"><br></span></div></code></div>?<=
br> <br></div></div></blockquote><div><br></div><div>No, why complicate lik=
e that?</div><div><br></div><div>What about:</div><div><div style=3D"backgr=
ound-color: rgb(250, 250, 250); border-color: rgb(187, 187, 187); border-st=
yle: solid; border-width: 1px; overflow-wrap: break-word;" class=3D"prettyp=
rint"><code class=3D"prettyprint"><div class=3D"subprettyprint"><span style=
=3D"color: #008;" class=3D"styled-by-prettify">auto</span><span style=3D"co=
lor: #000;" class=3D"styled-by-prettify"> arr</span><span style=3D"color: #=
660;" class=3D"styled-by-prettify">:</span><span style=3D"color: #000;" cla=
ss=3D"styled-by-prettify"> </span><span style=3D"color: #008;" class=3D"sty=
led-by-prettify">int</span><span style=3D"color: #660;" class=3D"styled-by-=
prettify">[</span><span style=3D"color: #066;" class=3D"styled-by-prettify"=
>3</span><span style=3D"color: #660;" class=3D"styled-by-prettify">];</span=
><span style=3D"color: #000;" class=3D"styled-by-prettify"><br></span></div=
></code></div><br><br></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/519c2f35-c6b3-461f-89be-87ccd00f8be5%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/519c2f35-c6b3-461f-89be-87ccd00f8be5=
%40isocpp.org</a>.<br />

------=_Part_1269_1727749694.1534107967687--

------=_Part_1268_677895816.1534107967686--

.
