[Issue 4821] std.array.insert on string[]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 28 09:11:11 PDT 2012


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


Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh at gmail.com


--- Comment #1 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2012-09-28 09:11:36 PDT ---
insert probably got deprecated with time. But this code works for me:

import std.array: insertInPlace;

void main() {
    string[] a;
    a.insertInPlace(0, "hello");
}

-- 
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