> On Mar 11, 2016, at 2:45 PM, Nelson, Clark <[email protected]> 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 definitely don't prefer your suggestion. It's ambiguous in a way
> that mine is not. (Although, now that you point it out I can see that
> mine could be misinterpreted.)
> 
> I'll go ahead and throw out another idea that has been in the back of
> my head:
> 
> __cpp_capture_star_this

I was wondering about the names too.

Even though it doesn’t fully express the feature, I prefer __cpp_capture_this 
for its brevity.

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). 
  At that point, we could bump the value of __cpp_capture_this (and all would 
be right with the world :-)

John.

> 
> Clark
> _______________________________________________
> Features mailing list
> [email protected]
> http://www.open-std.org/mailman/listinfo/features

_______________________________________________
Features mailing list
[email protected]
http://www.open-std.org/mailman/listinfo/features

Reply via email to