Date: Mon, 26 Aug 2024 11:11:22 +0200
On 26/08/2024 10.44, Andrey Semashev via Std-Proposals wrote:
> On 8/26/24 11:43, Andrey Semashev wrote:
>> On 8/26/24 09:33, Christof Meerwald via Std-Proposals wrote:
>>>
>>> Does this really need a separate feature test macro when you can just
>>> test on __COUNTER__ itself?
>>
>> __COUNTER__ may be defined by user.
No. See [lex.name] p3.1
> ...or have non-standard semantics.
Improbable, given the implementation experience we've seen here.
I'm in favor of not having a feature-test macro.
Jens
> On 8/26/24 11:43, Andrey Semashev wrote:
>> On 8/26/24 09:33, Christof Meerwald via Std-Proposals wrote:
>>>
>>> Does this really need a separate feature test macro when you can just
>>> test on __COUNTER__ itself?
>>
>> __COUNTER__ may be defined by user.
No. See [lex.name] p3.1
> ...or have non-standard semantics.
Improbable, given the implementation experience we've seen here.
I'm in favor of not having a feature-test macro.
Jens
Received on 2024-08-26 09:11:30