"Mike Wahler" <mk******@mkwahler.net> schrieb im Newsbeitrag
news:t4*****************@newsread1.news.pas.earthl ink.net...
"Gernot Frisch" <Me@Privacy.net> wrote in message
news:3c*************@individual.net... er... I need a class that keeps the order of the elements, but does
not allow duplicates to be inserted.
That's what 'std::set' does ('std::multiset' allows
duplicates). BTW tyur question does not correspond to your
subject line: "non-sorting std::set".
Er... I thought std::set (and atd::map) will sort the data, so finding
if the item already is in the list works fater. Also, what would you
be able to provide a "sort struct" as 3rd constructor parameter for?
-Gernot