CTFE limitation on reinterpreting cast

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Oct 3 20:03:58 UTC 2026


On 03/10/2026 11:19 PM, Kagamin wrote:
> Your case looks too exotic for that. Whether a pointer can be 
> dereferenced is determined by the type system, `void*` does that.

Nah you can taint the value and then CTFE will error if you try.



More information about the Digitalmars-d mailing list