[Issue 3383] newVoid
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jun 5 08:22:47 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3383
Andrei Alexandrescu <andrei at metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|andrei at metalanguage.com |dsimcha at yahoo.com
--- Comment #1 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-06-05 08:18:18 PDT ---
Reassigning this to David. David, this is a sensible primitive. You may want to
make it into a pull request, probably in std.array or even in druntime. A few
notes:
1. newVoid is not very indicative, I'd suggest something long and
obvious-looking (as this can be an unsafe function), e.g.
makeUninitializedArray!int(100).
2. Since 0 seems to be an actually used constant of GC.BlkAttr, you may as well
give it a name, e.g. NONE.
Thanks!
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list