220 4694 <CAGqM8fZ5g6cMntAvD_0SD6BNPCZmtsm1FRv_Wb8bWoaCvVzpBA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Lawrence Crowl <crowl@googlers.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Changing lambda scope
Date: Tue, 28 May 2013 17:27:06 -0700
Lines: 32
Approved: news@gmane.org
Message-ID: <CAGqM8fZ5g6cMntAvD_0SD6BNPCZmtsm1FRv_Wb8bWoaCvVzpBA@mail.gmail.com>
References: <ae01f736-d3ac-48d6-981f-702b9ab2b3b3@isocpp.org>
	<CAFk2RUax65FEaDaeKCEdBig+bq4W4u_+39R3hsdBuyiOj-rpjA@mail.gmail.com>
	<90375ba5-8005-47da-9e84-eee151d0ba0a@isocpp.org>
	<CAFk2RUZzoT4HH8FYDJqVbj4dU+s9zUQRpYX9seprDSHDxF7U6w@mail.gmail.com>
	<CAOfiQqm2hNSOmxoSAxBSS0dL6fB=ZcbxHZDxhPD5Z_Q69hrghA@mail.gmail.com>
	<2e120ca5-740b-4301-8a32-8ac5035fa108@isocpp.org>
	<0df9d0d8-a752-4841-ba02-54780590f722@isocpp.org>
	<CAGsORuB9UByzMkk8PZC67ByrvxKFmud51jgEZxWq31TAy8Zf=g@mail.gmail.com>
	<87d2sd5k77.fsf@euclid.axiomatics.org>
	<c110a614-dc6c-4464-905c-7fba2d51c211@isocpp.org>
	<CAGsORuDc4n1MeSx3qDjpA2n0FMQ5CZ38wORVh7y-JQU9jnaXAw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1369787229 7184 80.91.229.3 (29 May 2013 00:27:09 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 29 May 2013 00:27:09 +0000 (UTC)
Cc: gdr@axiomatics.org
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCY3D77DYUDBBXEWSWGQKGQESDYJ2OA@isocpp.org Wed May 29 02:27:10 2013
Return-path: <std-proposals+bncBCY3D77DYUDBBXEWSWGQKGQESDYJ2OA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vc0-f197.google.com ([209.85.220.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCY3D77DYUDBBXEWSWGQKGQESDYJ2OA@isocpp.org>)
	id 1UhUEQ-0001Si-22
	for gclcip-std-proposals@m.gmane.org; Wed, 29 May 2013 02:27:10 +0200
Original-Received: by mail-vc0-f197.google.com with SMTP id m17sf10625413vca.8
        for <gclcip-std-proposals@m.gmane.org>; Tue, 28 May 2013 17:27:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlers.com; s=googlers;
        h=x-beenthere:mime-version:in-reply-to:references:date:message-id
         :subject:from:to:cc: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=5GVgpNZ3YMSaobm9XSh3YLa6b1AHYeG17xjWIs37LK8=;
        b=BBEgj31bo/m0TLkYW06xKySwcTiFrn935Wv8XRSJXOfP2igOhX0lxGOOUKQIkvfo2V
         tMmVCToMkqjbc6q8tUJJcuxdef2q6jg7ia8fRka8RZ6wR4tENi3sLgjazitw9LQkV/uk
         /hLBwVGao4Bl/Fx21gbGvmVbMnkgr0srBnZz8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=x-beenthere:mime-version:in-reply-to:references:date:message-id
         :subject:from:to:cc:x-gm-message-state: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=5GVgpNZ3YMSaobm9XSh3YLa6b1AHYeG17xjWIs37LK8=;
        b=Veu9MWojvkeuBXaergqQWBNAnF7j1A8h3SXDOUB7XdqS1lJIxuvaeK7L7+Dv8Xsjxp
         xHQ7C/6LI0v2mzOAe+SOw2w100pF8nltV3AmjvpI+XhyMR57mn5G1LvjpOYqLYeDn2jU
         S2G8f0ohmBXfCDCENAh6WmuCytijOIWxUHQ9S2txD/djZCh+KNv0Y36yCedhiv7wbYmq
         6ro70UgAxxfYs7K5r20iR6G6kE6STd8E/XBVlydeNVVUpZuv4Sl7VqNxafwfmuDSCpMu
         IrcQ6adzdSOCJ2MDKPEu0+guoj6NM0Fz1i2JgkZzi9qaw29mY/QaMUScC6GiaRXh6Fcu
         ZRwQ== 
X-Received: by 10.224.53.198 with SMTP id n6mr478377qag.2.1369787229110;
        Tue, 28 May 2013 17:27:09 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.12.7 with SMTP id u7ls3876799qeb.54.gmail; Tue, 28 May 2013
 17:27:07 -0700 (PDT)
X-Received: by 10.224.34.198 with SMTP id m6mr789069qad.39.1369787227950;
        Tue, 28 May 2013 17:27:07 -0700 (PDT)
Original-Received: from mail-qe0-f44.google.com (mail-qe0-f44.google.com [209.85.128.44])
        by mx.google.com with ESMTPS id w8si28128405qag.68.2013.05.28.17.27.06
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 28 May 2013 17:27:06 -0700 (PDT)
Received-SPF: pass (google.com: domain of crowl@google.com designates 209.85.128.44 as permitted sender) client-ip=209.85.128.44;
Original-Received: by mail-qe0-f44.google.com with SMTP id 6so4778708qeb.31
        for <std-proposals@isocpp.org>; Tue, 28 May 2013 17:27:06 -0700 (PDT)
X-Received: by 10.224.199.3 with SMTP id eq3mr833979qab.18.1369787226762; Tue,
 28 May 2013 17:27:06 -0700 (PDT)
Original-Received: by 10.229.150.207 with HTTP; Tue, 28 May 2013 17:27:06 -0700 (PDT)
In-Reply-To: <CAGsORuDc4n1MeSx3qDjpA2n0FMQ5CZ38wORVh7y-JQU9jnaXAw@mail.gmail.com>
X-Gm-Message-State: ALoCoQnczfZ5TnOXH6eArPC5gGBdKCe3rMK4iWoHg0YY/puSYZNjkUDWaY/orgMXrsxTo8/ZbwQeAggMfMm0CpdJJRuCcmlD+JOFl29kg07BaPDhVjqXIBPVDimS6EiLTycIRrPfYVu6ifu+51nWHflKcUyP2KaVJpKLyoccoxzIpPVuLfvTd6uC59EAAApyb+BA7jtwiGuN
X-Original-Sender: crowl@googlers.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of crowl@google.com designates 209.85.128.44 as permitted sender)
 smtp.mail=crowl@google.com;       dkim=pass header.i=@googlers.com;
       dmarc=pass (p=QUARANTINE dis=none) d=googlers.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:4694
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4694>

On 5/27/13, Zhihao Yuan <lichray@gmail.com> wrote:
> On May 27, 2013 Nicol Bolas <jmckesson@gmail.com> wrote:
> > The fact that there's nothing a lambda can do which you can't
> > do yourself is a strength of C++ lambdas, not a weakness. It
> > allows you to swap a lambda for a regular class if the lambda
> > gets too complex for the lambda syntax to work.
>
> I agree lambdas should (must, actually) not go huge.  But for the
> specific case in the thread, if you replace lambda with a named
> class, you can use operators as member functions, but for lambda,
> ADL seems to be the only choice.
>
> Changing the associated namespace may affect the behavior of
> existing code, but lambda looks OK since it's unnamed.

Should you write the paper, please include example of any existing
code that changes behavior.  You get bonus points for outlining
a code migration plan.

-- 
Lawrence Crowl

-- 

--- 
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.



.
