[Issue 1606] Cannot insert to void[int]. void[int] should be a hash set.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 23 21:37:58 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1606
------- Comment #4 from ddparnell at bigpond.com 2007-10-23 23:37 -------
I think that the bug is that void arrays are permitted at all. What exactly is
an array of nothings? And if you had one, does it take up any memory.
If what you are asking for is a set of hashed keys, then use...
bool[int]
or
byte[int]
At least these mean something.
What exactly are you expecting to be able to set a void to?
--
More information about the D.gnu
mailing list