C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Second draft of a __COUNTER__ proposal

From: Christof Meerwald <cmeerw_at_[hidden]>
Date: Mon, 26 Aug 2024 08:33:34 +0200
On Sun, Aug 25, 2024 at 05:38:15PM -0500, Jeremy Rifkin via Std-Proposals wrote:
> Hello,
> I appreciate all the feedback on my paper the other day. I have
> incorporated the feedback into a second draft elaborating on rationale
> for standardization, ODR, and updating the overflow behavior to an
> error: https://jeremy-rifkin.github.io/cpp-proposals/drafts/counter_draft_2.html.

Just to point out, EDG also supports __COUNTER__ in GCC and Clang
emulation modes - it just isn't enabled in standards mode.

Does this really need a separate feature test macro when you can just
test on __COUNTER__ itself?


Christof

-- 
https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

Received on 2024-08-26 06:33:38