Re: [SG10] P0018 and P0170: lambda-related changes

2016-03-14 Thread Jason Merrill
On 03/11/2016 02:45 PM, Nelson, Clark wrote: >>> I made a couple of proposals for the name of this new macro: >>> >>> __cpp_capture_this >>> __cpp_capture_this_object >>> >>> Any preferences, or alternate suggestions? >> >> I prefer the second, or perhaps __cpp_capture_this_value. > > Hmm. I

Re: [SG10] P0018 and P0170: lambda-related changes

2016-03-11 Thread John Spicer
> On Mar 11, 2016, at 5:16 PM, Jens Maurer wrote: > > On 03/11/2016 10:02 PM, John Spicer wrote: >> Even though it doesn’t fully express the feature, I prefer >> __cpp_capture_this for its brevity. > > Agreed. > >> There is also some sentiment for getting rid of the

[SG10] P0018 and P0170: lambda-related changes

2016-03-11 Thread Nelson, Clark
> > I think it would be perfectly reasonable to bump __cpp_constexpr > again > > for lambdas. > > Fine with me. If anyone doesn't agree with this direction, please speak up. > > But I'm still leaning towards having a separate macro for > > capturing *this, at least in part for consistency