DLANGUI library.
This module implements array based collection.
Synopsis:
import dlangui.core.collections; // add Collection!Widget widgets; widgets ~= new Widget("id1"); widgets ~= new Widget("id2"); Widget w3 = new Widget("id3"); widgets ~= w3; // remove by index widgets.remove(1); // foreach foreach(w; widgets) writeln("widget: ", w.id); // remove by value widgets -= w3; writeln(widgets[0].id);
array based collection of items retains item order when during add/remove operations
See Source File
Boost License 1.0.
Vadim Lopatin, 2014
Vadim Lopatin
DLANGUI library.
This module implements array based collection.
Synopsis: