Where dynamic array remove function to go?

master via Digitalmars-d digitalmars-d at puremagic.com
Sun Dec 13 19:15:45 PST 2015


Dynamic Arrays
Socket[] a;

a ~= new Socket;
a ~= new Socket;
a ~= new Socket;

a.remove(1);

Error: function core.stdc.stdio.remove (const(char*) filename) is 
not callable using argument types (Socket[], uint)

why?


More information about the Digitalmars-d mailing list