C++ Logo


Advanced search

Re: [SG10] New draft of Jacksonville additions

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Wed, 16 Mar 2016 21:06:35 +0100
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".


Received on 2016-03-16 21:06:42