Proposal for new compiler built-ins: __CTX__ and __CONTEXT__

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Jun 24 08:46:13 UTC 2023


On Thursday, 22 June 2023 at 17:49:00 UTC, Ernesto Castellotti 
wrote:
> On Thursday, 22 June 2023 at 17:18:25 UTC, Andrej Mitrovic 
> wrote:
>> This isn't a DIP but I'd like to start this conversation to 
>> see what people think.
>>
>> [...]
>
> I don't think it's a good idea to add another special keyword, 
> isn't it possible to rethink the proposal using traits?

Something like `__traits(getContext)`?


More information about the Digitalmars-d mailing list