220 4621 <CAFk2RUa61wcA=26qp-tR2QX4Y5hRE0j7AAahRKcJ38Nxph+WrQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Changing lambda scope
Date: Mon, 27 May 2013 14:59:27 +0300
Lines: 63
Approved: news@gmane.org
Message-ID: <CAFk2RUa61wcA=26qp-tR2QX4Y5hRE0j7AAahRKcJ38Nxph+WrQ@mail.gmail.com>
References: <ae01f736-d3ac-48d6-981f-702b9ab2b3b3@isocpp.org>
	<01190eaa-6223-4d3c-a9d3-b0d850aab98e@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7b677304698d1604ddb1e17b
X-Trace: ger.gmane.org 1369655973 11994 80.91.229.3 (27 May 2013 11:59:33 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 27 May 2013 11:59:33 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBIMVRWGQKGQEIN2VWYQ@isocpp.org Mon May 27 13:59:33 2013
Return-path: <std-proposals+bncBC5JHI7A7ALRBIMVRWGQKGQEIN2VWYQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vc0-f200.google.com ([209.85.220.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBIMVRWGQKGQEIN2VWYQ@isocpp.org>)
	id 1Ugw5K-0007a1-Dn
	for gclcip-std-proposals@m.gmane.org; Mon, 27 May 2013 13:59:30 +0200
Original-Received: by mail-vc0-f200.google.com with SMTP id hr11sf8676298vcb.11
        for <gclcip-std-proposals@m.gmane.org>; Mon, 27 May 2013 04:59:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-beenthere:mime-version:in-reply-to:references:date:message-id
         :subject:from:to:x-original-sender:x-original-authentication-results
         :reply-to:precedence:mailing-list:list-id:x-google-group-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=AfsFuZ6CQ134cjZmy6jdu0YUkiWKQfp6GZ5ObjC77jY=;
        b=IZMzioLOV+lM4Tiy+G972uwXjClyJb+uK+qmjEh5htZy3Vwz2FSwZ9arGhRNT8XGUw
         2x5MokkGdjNL3Ac36On4eKEWvTSAZfHN6CNfz0xflPMhwxz5zBdWQDk1f8YNHsgBelSc
         gBUkqrpiw00CVW723+MFz8l9i6EEHU+3WBGvMQT3klCAQ7y8Y7P17PBuGm3O65RURBbT
         1vPmbGFWoFxL0JVScGDktCZvpyqg8gZUIFPhBgMlu0rweIrAyFNvYwnN7LDc53yDelBS
         yfmOGNQ1OhYHvqplVylClSDPPsPCErFNCTN2OoVx0UsaJt7Uttf8PTM4qNkVKAOqhHB+
         qdIw==
X-Received: by 10.224.165.143 with SMTP id i15mr1839494qay.0.1369655969486;
        Mon, 27 May 2013 04:59:29 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.131.228 with SMTP id op4ls2732658qeb.99.gmail; Mon, 27 May
 2013 04:59:27 -0700 (PDT)
X-Received: by 10.224.98.65 with SMTP id p1mr4456217qan.70.1369655967721;
        Mon, 27 May 2013 04:59:27 -0700 (PDT)
Original-Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [2607:f8b0:400d:c01::22b])
        by mx.google.com with ESMTPS id gt9si24107388qab.96.2013.05.27.04.59.27
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Mon, 27 May 2013 04:59:27 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::22b as permitted sender) client-ip=2607:f8b0:400d:c01::22b;
Original-Received: by mail-qc0-f171.google.com with SMTP id n1so3445759qcx.16
        for <std-proposals@isocpp.org>; Mon, 27 May 2013 04:59:27 -0700 (PDT)
X-Received: by 10.49.26.198 with SMTP id n6mr31144270qeg.16.1369655967574;
 Mon, 27 May 2013 04:59:27 -0700 (PDT)
Original-Received: by 10.224.174.143 with HTTP; Mon, 27 May 2013 04:59:27 -0700 (PDT)
In-Reply-To: <01190eaa-6223-4d3c-a9d3-b0d850aab98e@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::22b as
 permitted sender) smtp.mail=ville.voutilainen@gmail.com;       dkim=pass header.i=@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: <http://groups.google.com/a/isocpp.org/group/std-proposals/post?hl=en>,
 <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?hl=en&topic=25838>,
 <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:4621
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4621>

--047d7b677304698d1604ddb1e17b
Content-Type: text/plain; charset=ISO-8859-1

On 27 May 2013 14:52, <potswa@gmail.com> wrote:

> It would be bad to make lambdas different from other local classes. Would
> applying the proposal so broadly break much? Before C++11 it was illegal to
> use a local class as a template argument and it we're only noticing this
> now because returning a local type is a C++14 feature.
>


You can return a lambda or a local class from a lambda in C++11, so that
doesn't count as an excuse for noticing this now because
we can return local types from a non-lambda in C++14.

-- 

--- 
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en.



--047d7b677304698d1604ddb1e17b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On 27 May 2013 14:52,  <span dir=3D"ltr">&lt;<a href=3D"mailto:pots=
wa@gmail.com" target=3D"_blank">potswa@gmail.com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
It would be bad to make lambdas different from other local classes. Would a=
pplying the proposal so broadly break much? Before C++11 it was illegal to =
use a local class as a template argument and it we&#39;re only noticing thi=
s now because returning a local type is a C++14 feature.<br>
</blockquote><div><br><br></div><div>You can return a lambda or a local cla=
ss from a lambda in C++11, so that doesn&#39;t count as an excuse for notic=
ing this now because<br>we can return local types from a non-lambda in C++1=
4.<br>
</div></div><br></div></div>

<p></p>

-- <br />
&nbsp;<br />
--- <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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
&nbsp;<br />
&nbsp;<br />

--047d7b677304698d1604ddb1e17b--

.
