
24 Jul
2009
24 Jul
'09
12:20 p.m.
Mathias Gaunard skrev:
Andrei Alexandrescu wrote:
That would limit ranges because there are ranges that are not pairs of iterators.
All ranges can be expressed as pairs of iterators, so I hardly see how that limits anything. The issue is that expressing a range as a pair of iterators may not always be optimal.
But in C++0x there should be no problem in having different types of the begin and the end iterator. -Thorsten