using a binary tree container

Dominic Jones dominic.jones at qmul.ac.uk
Fri Feb 11 03:15:18 PST 2011


Hello,

I have a list of strings and I want to determine whether or not a particular
string in the is in that list. Assuming I should store the list of strings in
a binary tree to facilitate fast searching, I had a look at the std.container
documentation and found RedBlackTree, but the documentation for it has no
examples. May someone offer an example of how to use it?

Thank you,
Dominic Jones


More information about the Digitalmars-d-learn mailing list