pointer cast from const(Y) to immutable(void*)** is not supported at compile time

Hakan Aras hakan.aras at live.at
Wed Aug 1 16:25:28 UTC 2018


Why does the following work in DMD 2.080 and LDC 1.10, but not in 
DMD 2.081 and LDC 1.11 beta:

https://run.dlang.io/is/dSVruv

And is there a way to enforce the cast like a static_cast in C++?


More information about the Digitalmars-d-learn mailing list