[SG10] P0018 and P0170: lambda-related changes

Nevin Liber nevin at eviloverlord.com
Sat Mar 12 02:23:32 CET 2016


On Friday, 11 March 2016, Jens Maurer <Jens.Maurer at gmx.net> wrote:
>
>
> > There is also some sentiment for getting rid of the existing “capture
> this by value” semantics that we decided aren’t what people really want
> (i.e., at some point making capture this by value the same thing as the new
> capture of *this).


> The current "surprising" case is when you do [=] as that still effectively
catches non-static member variables by reference. Personally, I'd be
happy with future C++ failing to compile for member access (including
non-static member functions) w/o explicitly capturing this or *this, but I
have no proposal at this time.

-- 
 Nevin ":-)" Liber  <mailto:nevin at eviloverlord.com>  +1-847-691-1404
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open-std.org/pipermail/features/attachments/20160311/702b0c79/attachment.html 


More information about the Features mailing list