Boost logo

Boost :

Subject: Re: [boost] AlRangeExandrescu?
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-07-24 14:32:36


2009/7/24 Mathias Gaunard <mathias.gaunard_at_[hidden]>:
> The only gains there might be
> are ease-of-defining (but then, if you accept my argument iterators are
> needed anyway, that gain is moot) and efficiency (which becomes moot too if
> you allow the two iterators of the pair to be of different types).

Ranges are safer than iterators, and fully checked versions are much
more efficient. Simpler templates will result in faster compiles and
nicer error messages - especially without concepts.

Daniel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk