Boost logo

Boost :

Subject: Re: [boost] [iterators] Proof-of-concept for a sentinel iterator adapter
From: joaquin_at_[hidden]
Date: 2009-05-13 11:03:31

Beman Dawes escribió:
> Attached is proof-of-concept code for a sentinel iterator adapter. It
> turns a pointer to sentinel terminated sequence, such as a C-style
> string, into a forward iterator with a conforming end iterator.

Having Sentinel specified as a non-type template parameter greatly
reduces the category
of types this can work with. I'd replace it with some SentinelFactory
policy or something.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

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