[Issue 16207] CTFE cast from void* to ubyte* doesn't work
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jul 10 14:04:55 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16207
--- Comment #4 from Andrew Godfrey <ag.dlang at gmail.com> ---
(In reply to ag0aep6g from comment #3)
> (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.
Thanks for the link. I've read that before but didn't retain it.
To this bug, I'm still wondering if it's specific to the const case.
--
More information about the Digitalmars-d-bugs
mailing list