C++ Logo


Advanced search

Subject: Re: [SG10] New draft of Jacksonville additions
From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2016-03-16 15:06:35

On 03/16/2016 06:14 PM, Nelson, Clark wrote:
>> On 03/14/2016 07:19 PM, Nelson, Clark wrote:
>>> The only question that doesn't seem to have been settled yet is
>> the
>>> name of the macro for this-capture. The contenders seem to be:
>>> __cpp_capture_this
>>> __cpp_capture_star_this
>>> Different people have spoken in favor of each. Let the argument
>> begin
>>> in earnest.
>> It seems to me that _star_this is clearer, since we could already
>> capture 'this'.
> Hmm. I was expecting rather more traffic on this topic. In particular,
> John seemed to have a distinct preference, with rationale, for the
> shorter, simpler name.
> Does no one else have a preference?

I like __cpp_capture_star_this , although it sounds a bit "home-made".


SG10 list run by sg10-owner@lists.isocpp.org