On Wednesday, 9 March 2016 at 04:37:47 UTC, maik klein wrote:
Does this mean I could do any cast at compile time?

No, compile time has other restrictions.

http://dlang.org/spec/function.html#interpretation

"Any pointer may be cast to void * and from void * back to its original type. Casting between pointer and non-pointer types is prohibited. "


I don't think compile time execution allows unions, either.

Reply via email to