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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 10 13:27:44 PDT 2016


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g at gmail.com

--- Comment #3 from ag0aep6g at gmail.com ---
(In reply to Andrew Godfrey from comment #2)
> I know what a "void *" is for, but what is the intent of a "const(void)[]"?
> Does it have a valid length? Does it behave any differently than a "void[]"?

Please ask such questions in the Learn group of the forum:
http://forum.dlang.org/group/learn

Regarding void[], see http://dlang.org/spec/arrays.html (section "Void Arrays"
near the bottom). If that doesn't answer all your questions, please make a
thread in the forum.

--


More information about the Digitalmars-d-bugs mailing list