[Issue 16269] add `aa.ensureAllocated` method to associative array to clear and initialize it

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 13 10:27:33 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16269

--- Comment #6 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Thanks, this looks really good. I like the returning of itself, so you just put
ensureAllocated on the call and it just works in all cases where you normally
have an AA.

When I get a chance, I'll make a PR. Thanks for the tests too!

--


More information about the Digitalmars-d-bugs mailing list