CTFE casts of delegates

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 4 08:06:11 PST 2017


On Wednesday, 4 January 2017 at 08:45:59 UTC, Eyal Lotem wrote:
> On Tuesday, 3 January 2017 at 09:44:38 UTC, Stefan Koch wrote:
>
>> I think that I can provide a dmd patch that would allow the 
>> casts you want at ctfe.
>> However I would not propose it for inclusion myself.
>
> A cast that only fiddles with function attributes like @nogc 
> should be perfectly safe, shouldn't it?

Honestly I am not sure about it.
I guess I could enable this back-door for you and others.
Patch will follow in the next days, I am not sure if it will be 
merged though.


More information about the Digitalmars-d mailing list