26 Feb
2009
26 Feb
'09
1:05 p.m.
On Tue, Feb 24, 2009 at 5:46 PM, Sandeep Gupta
Hi, Given a collection in terms of [startIter, endIter] how can obtain [uniqBeginIter, uniqEndIter] that represents unique elements of the original container. I can always explicitly instantiate a set S of [startIter, endIter] and use [S.begin(), S.end()]. Is it possible to express this in terms of algorithms.
Hi!
I thought a bit about this issue. If you would like to use an algorithm to
just make your code more descriptive, you still can achieve it by using
typedef.
typedef std::set