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?
