|
Boost : |
Subject: Re: [boost] AlRangeExandrescu?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-07-24 08:20:09
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk