phobos std.container example

novice2 sorry at noem.ail
Thu Dec 30 22:04:22 PST 2010


Hi.
Woud anybody please show phobos std.container usage sample?
I need list/array of objects/structures.
Every item have list/array of another objects/structures.
I need possibility:
1) to construct such lists/arrays;
2) to enumerate items
3) to search item by "name" field
4) insert/remove/replace item

I tried to read docs with dmd2 distribution, but failed to understand. I never used templates. Sorry my dumbness.

Tanks.



More information about the Digitalmars-d-learn mailing list