phobos std.container example

bearophile bearophileHUGS at lycos.com
Thu Dec 30 23:40:51 PST 2010


novice2:

> 3) to search item by "name" field

Do you need an associative array then? They are built-in and they don't need template syntax.


> I tried to read docs with dmd2 distribution, but failed to understand.

dmd2 docs are not written in a easy, they often lack examples, etc.


> I never used templates.

I suggest you to start experimenting with D2 templates, because they are used often in D2 code.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list