[Issue 16207] CTFE cast from void* to ubyte* doesn't work

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jun 26 16:11:23 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16207

uplink.coder at googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uplink.coder at googlemail.com

--- Comment #1 from uplink.coder at googlemail.com ---
The only way around this is passing ubyte[] instead of void[]

I actually like the rigorous type-safety at CTFE.

It's not a bug, It's a feature!

--


More information about the Digitalmars-d-bugs mailing list