220 29612 <CAFk2RUZpzgM+CFYAj_HeknB1-c1ZAg_L5e29BjSWdnKM4PW2jg@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: compiler should infer last semicolon of culy
 brace block... it makes lambas look better....
Date: Fri, 2 Dec 2016 17:01:00 +0200
Lines: 26
Approved: news@gmane.org
Message-ID: <CAFk2RUZpzgM+CFYAj_HeknB1-c1ZAg_L5e29BjSWdnKM4PW2jg@mail.gmail.com>
References: <99df401b-562e-424f-9c17-01575f8b47e1@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: blaine.gmane.org 1480690867 7413 195.159.176.226 (2 Dec 2016 15:01:07 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 2 Dec 2016 15:01:07 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBLMZQ3BAKGQEAXZCC2A@isocpp.org Fri Dec 02 16:00:59 2016
Return-path: <std-proposals+bncBC5JHI7A7ALRBLMZQ3BAKGQEAXZCC2A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb0-f198.google.com ([209.85.213.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBLMZQ3BAKGQEAXZCC2A@isocpp.org>)
	id 1cCpKc-0000ps-CJ
	for gclcip-std-proposals@m.gmane.org; Fri, 02 Dec 2016 16:00:58 +0100
Original-Received: by mail-yb0-f198.google.com with SMTP id v132sf250188474yba.3
        for <gclcip-std-proposals@m.gmane.org>; Fri, 02 Dec 2016 07:01:02 -0800 (PST)
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:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=geS22YkNOHTh/vjaBB5kiLqFx7UQKhunjMo54ObFfPY=;
        b=gjP0pbh5Z5MP4GGodbm6ezWXtaU2QmciNBj32zYXKjgNTyPl3o/U7jhhu6bDfjQ8wL
         wzwJ8Bc+epa2GMDA37gSgURQkKWwav2y1SNDaX9rl4PaXZqkZQQ9ILYmzpuLllxqCSJS
         gEOEzWtuv3KXy59m7eUfyNh4yh84vT8nj+Vsw53aBLRW2lPH9dIUUAk8NInghDCqWFzQ
         gcWl9aWs3R9uYSmkK/vvLSW2YBGRDH0JpYf65uFLLqyWlju5YwD2jet4w478TwUxEcZP
         OzmL8miPd5VKF5ZrMPXGnPNx2XRn7oShXBA4t2v+IJXykK61Rn2e0sBO31ubV9sFqlCm
         fsKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        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=geS22YkNOHTh/vjaBB5kiLqFx7UQKhunjMo54ObFfPY=;
        b=NmQSl9ikZUk2XcVAR0Md9bp2/Lz7vTsV2laMt63ceaIWpQFgJtSNBp1eSDUQSxcy68
         kNeiBO3gn2Ixj8/U382yJQelFJC+vwSdo/IGzQGkBbN+Cispr1fWXHHDmbpDJvFjpeX1
         Ie/hn/SlGADxpVJ0zlhkZRRBFaZhDblTWbc1FfMOpSPvxpli3yndCbKxAYW/6RwGT5DS
         h92fMLJFTaR4lA3gUeUfYFePnOeeFrlvat/OP49ojRBGDEGNT/8WY/JgMnCYd2GedBsG
         NxcEatIwWzXXMC1NuEZ5ADysEyiY3+77hU9Kb2DK0+I/qIxAq7Fmv92vJ1AsN/EyW8+f
         HApw==
X-Gm-Message-State: AKaTC017u4dmQrflV6duO8vspUDXF5U9CoT/uXDQFJsTwYtNZs95afkHBCgv2fCRCqLOBw==
X-Received: by 10.129.70.132 with SMTP id t126mr10583232ywa.108.1480690862201;
        Fri, 02 Dec 2016 07:01:02 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.33.22 with SMTP id i22ls2176414otb.6.gmail; Fri, 02 Dec
 2016 07:01:01 -0800 (PST)
X-Received: by 10.31.196.132 with SMTP id u126mr17201742vkf.77.1480690861460;
        Fri, 02 Dec 2016 07:01:01 -0800 (PST)
Original-Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com. [2607:f8b0:400c:c08::229])
        by mx.google.com with ESMTPS id w197si1328766vkd.205.2016.12.02.07.01.01
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 02 Dec 2016 07:01:01 -0800 (PST)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400c:c08::229 as permitted sender) client-ip=2607:f8b0:400c:c08::229;
Original-Received: by mail-ua0-x229.google.com with SMTP id 20so283733461uak.0
        for <std-proposals@isocpp.org>; Fri, 02 Dec 2016 07:01:01 -0800 (PST)
X-Received: by 10.176.65.33 with SMTP id j30mr34023416uad.94.1480690861105;
 Fri, 02 Dec 2016 07:01:01 -0800 (PST)
Original-Received: by 10.103.50.74 with HTTP; Fri, 2 Dec 2016 07:01:00 -0800 (PST)
In-Reply-To: <99df401b-562e-424f-9c17-01575f8b47e1@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 ville.voutilainen@gmail.com designates 2607:f8b0:400c:c08::229 as permitted
 sender) smtp.mailfrom=ville.voutilainen@gmail.com;       dmarc=pass (p=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:29612
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29612>

On 2 December 2016 at 16:49,  <wm2015email@gmail.com> wrote:
> GOOD:  (thank you perl)
>   vector<string> blah {
>     "one",
>     "two",
>     "three",  // <= extra comma ok... ignored without warn
>   };
>
> BAD: (no thanks c++: lighten up a little bit c++ compiler... )
>   vector<string> blah {
>     "one",
>     "two",
> .    "three"  // <=== no comma allowed here... now all of my loops need
> extra if block to detect end of list when writing programs that write
> programs...
>   };


A comma is allowed there.

-- 
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/CAFk2RUZpzgM%2BCFYAj_HeknB1-c1ZAg_L5e29BjSWdnKM4PW2jg%40mail.gmail.com.

.
