Boost logo

Boost :

Subject: [boost] sentinels vs iterators (was: NTCTS Iterator)
From: Eric Niebler (eniebler_at_[hidden])
Date: 2014-08-20 13:51:40

On 08/20/2014 07:40 AM, Beman Dawes wrote:
> See
> or

The need for such a thing is an unfortunate side-effect of the fact that
a range's begin and end iterators must have the same type. I'm building
a range library that loosens that restriction and writing a proposal to
get it into the standard.

I'd be curious if you have experience about scenarios where using your
ntcts_iterator is faster or slower that simply finding the end of the
string first with strlen and then calling the algorithm with raw pointers.

I've blogged about my work here:

My proposal is coming together here:

Disclaimer: it's in a *very* rough, incomplete state.


Boost list run by bdawes at, gregod at, cpdaniel at, john at