[Issue 10535] Add a function to druntime which returns an empty AA
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 17 13:11:49 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10535
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at quickfur.ath.cx
--- Comment #2 from hsteoh at quickfur.ath.cx 2013-08-17 13:11:48 PDT ---
(In reply to comment #1)
> Not to hijack this, but before we add that AA specific function, we should take
> into account that a LOT of other objects require this. Basically, every
> reference semantic object in Phobos: Containers, Appender, PRNGs...
>
> There might be a better "generic" solution to the "empty initialization" (eg:
> "arg-less-constructor") problem.
This does not preclude adding a function to aaA.d that returns an empty but
non-null AA, since that will be needed anyway no matter what generic solution
is provided to the end-user.
--
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