220 29621 <da79b48a-99ac-4f12-86ff-28792fccf5d6@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Jakob Riedle <jakob.riedle@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 12:15:43 -0800 (PST)
Lines: 60
Approved: news@gmane.org
Message-ID: <da79b48a-99ac-4f12-86ff-28792fccf5d6@isocpp.org>
References: <99df401b-562e-424f-9c17-01575f8b47e1@isocpp.org>
 <a09f1541-1574-4eed-a030-60a485510436@isocpp.org>
 <5876fa59-f31f-4b93-969a-8ab0437f2f55@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_928_1144731838.1480709743415"
X-Trace: blaine.gmane.org 1480709747 28243 195.159.176.226 (2 Dec 2016 20:15:47 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 2 Dec 2016 20:15:47 +0000 (UTC)
Cc: wm2015email@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCX2XNFO6MPRB35MQ7BAKGQEBDO6BOQ@isocpp.org Fri Dec 02 21:15:42 2016
Return-path: <std-proposals+bncBCX2XNFO6MPRB35MQ7BAKGQEBDO6BOQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw0-f199.google.com ([209.85.161.199])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCX2XNFO6MPRB35MQ7BAKGQEBDO6BOQ@isocpp.org>)
	id 1cCuFA-00069r-NQ
	for gclcip-std-proposals@m.gmane.org; Fri, 02 Dec 2016 21:15:40 +0100
Original-Received: by mail-yw0-f199.google.com with SMTP id t125sf295822129ywc.4
        for <gclcip-std-proposals@m.gmane.org>; Fri, 02 Dec 2016 12:15:45 -0800 (PST)
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:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=DM5A49K7E8coPeTslTrO+ySMB6Uuxn/SBF+q5skHdsM=;
        b=DIqlPsmzxu6t1GiSOPUWcWJ3aeHdoqKHovv3O0IeCuBckEGJ32Q3qBNEu1jETgYIJu
         AeXgYmqiOCQFRME9FjLxzx+KAE75jsfUnzSzqZxJUBSEIAPrbg5iec/33RdjZZ0SW0Mm
         a6u/CrfJ+2T3dE0E30k36AhtUGSBYWjPFL0bToGlO3ybu6eqEO5O54YWgoTIgpHD0Ok0
         hRfLQfcxLGMdgXiDdf65P+s4gEfAwFVy54F24f1KI8xyn2dEfCqrthdryo0BC66IHC6+
         bn5MYRVTl+gsRx6X5BiVvbDpXa/TOQfnBU2mGP9bp2Uw7W93iXNhFydhwcSaqD325eQW
         59/A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=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=DM5A49K7E8coPeTslTrO+ySMB6Uuxn/SBF+q5skHdsM=;
        b=bwL7K9i6Kx3fx2ZRBKh/QSsTCL+JgNM/1bVNuyzhcHPAWjwdrKSY/jzH25k0rrVDi2
         QsNNg4t/CeNWUrgZpcRsZcxm1Mo8dMp2+6WMwklVoj1Ttygyt0BG+ZfhjLUOn8SvQMNp
         WusL2kjN+/EmYDEnsR2KgT/W9cU6whQHGV9+0H0f1C1e/8hU63iyOCcoNpSAP9+gRN94
         sOLrUgMarebQcdfqI/bNoFd6y2hDZ7ax7njDn0OYxke3Xxt4jybBoM5Kpmsx/Z2XeY9D
         OOp9vGOQ2qXCkOVVd/t5wx8vub0TomlmaNrUE1zvX/p/+wmXIuKYWfx8+A9Yb8LYXUa2
         V1cQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        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=DM5A49K7E8coPeTslTrO+ySMB6Uuxn/SBF+q5skHdsM=;
        b=cKQj7Tsn2Aukci7bhbBYUn+xf094x1ptsvBWJEB2qkpywUnjUdMSuKZQy1Jnb6NKqw
         OwPvVRLDeYgUU2BcS2Cl+Mhp1g5EY828cjrrCng6NhhTa6hwOkD0DaVz9AYJcD8NHHUy
         cz5+jZOM5j7iXXhJ0N+7RsCBbT9KnBt7CrwxE9+M6KN3m8pIYQx5gmOZsR7V8dEFlhRO
         bGIyDZeWZwuceruhRMKvKPhq+K1Gw+T6UxaY1jyR/6RFpckHZcydqhR5zU6nW+ubGDjB
         oPPRoOSRx6vLZsWRnMAN3XqiqmyX6h8A90wIR56jEvT0tc6I2iVhVChWc7YXIs2ASzDo
         d0dQ==
X-Gm-Message-State: AKaTC00LaiDzA0EljJ0C40KP10rwN//uRUxlNVS9x6NAka8jpUOZ0KRsPH7QcouHTIHgcA==
X-Received: by 10.129.81.3 with SMTP id f3mr11239487ywb.131.1480709744458;
        Fri, 02 Dec 2016 12:15:44 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.59.227 with SMTP id k90ls2659257otc.8.gmail; Fri, 02 Dec
 2016 12:15:43 -0800 (PST)
X-Received: by 10.157.37.247 with SMTP id q110mr3174218ota.5.1480709743791;
        Fri, 02 Dec 2016 12:15:43 -0800 (PST)
In-Reply-To: <5876fa59-f31f-4b93-969a-8ab0437f2f55@isocpp.org>
X-Original-Sender: jakob.riedle@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:29621
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29621>

------=_Part_928_1144731838.1480709743415
Content-Type: multipart/alternative; 
	boundary="----=_Part_929_956700343.1480709743415"

------=_Part_929_956700343.1480709743415
Content-Type: text/plain; charset=UTF-8


>
> That might be `void` or it might not. There's no way to tell.


Well, there is also no way to tell, whether "return dosomething2()" is void.
Look here for an Example <http://ideone.com/TLAqSY>.
Does this even answer the concerns that you had?

Well, you're right, that single-expression-lambdas are THE solution.

Jakob

-- 
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/da79b48a-99ac-4f12-86ff-28792fccf5d6%40isocpp.org.

------=_Part_929_956700343.1480709743415
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D"margin: 0px 0px=
 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">=
That might be `void` or it might not. There&#39;s no way to tell.</blockquo=
te><div><br></div><div>Well, there is also no way to tell, whether &quot;re=
turn dosomething2()&quot; is void.</div><div>Look here for an=C2=A0<a href=
=3D"http://ideone.com/TLAqSY">Example</a>.</div><div>Does this even answer =
the concerns that you had?</div><div><br></div><div>Well, you&#39;re right,=
 that single-expression-lambdas are THE solution.</div><div><br></div><div>=
Jakob</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/da79b48a-99ac-4f12-86ff-28792fccf5d6%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/da79b48a-99ac-4f12-86ff-28792fccf5d6=
%40isocpp.org</a>.<br />

------=_Part_929_956700343.1480709743415--

------=_Part_928_1144731838.1480709743415--

.
