http://d.puremagic.com/issues/show_bug.cgi?id=9691


hst...@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hst...@quickfur.ath.cx


--- Comment #1 from hst...@quickfur.ath.cx 2013-03-15 10:41:30 PDT ---
I don't like the concept of void[]. It makes me think the element size is 0,
and therefore the array is always 0-sized. But it seems the element size of
void[] is 1. So then why not ubyte[]? That's basically what it is: you're
treating the data as an array of bytes instead of an array of whatever other
type it may have been.

(Yes an unsafe cast is needed but you're already doing that implicitly by
passing T[] to void[] in the first place.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to