Hi
Am I being obtuse here or is unique_count() missing ?
I would expect that given a pair of input iterators, beginning and end, it
would count and return the number of unique instances of a containers
value
(or apply a predicate). It would take for granted that the sequence is
sorted.
It is like the difference in SQL between
SELECT COUNT(field) FROM SomeTable
SELECT COUNT(DISTINCT field) FROM SomeTable
Thanks
Stephen Howe
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]