[boost] Suggestion for iterator adaptors

2002-11-18 Thread Herve Bronnimann
Dave, Jeremy: one iterator adaptor I needed often (and once again today) is the projection on the first or second member of a pair. I could make it using projection_iterator<> and select1st, except that select1st is an std extension from SGI. I haven't found any other out-of-the-box way to do this,

Re: [boost] Suggestion for iterator adaptors

2002-11-19 Thread Thomas Witt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Herve, On Tuesday 19 November 2002 07:11, Herve Bronnimann wrote: > Dave, Jeremy: one iterator adaptor I needed often (and once again today) > is the projection on the first or second member of a pair. I could make > it using projection_iterator<> an

Re: [boost] Suggestion for iterator adaptors

2002-11-19 Thread David Abrahams
Thomas Witt <[EMAIL PROTECTED]> writes: > Herve, > > On Tuesday 19 November 2002 07:11, Herve Bronnimann wrote: >> Dave, Jeremy: one iterator adaptor I needed often (and once again today) >> is the projection on the first or second member of a pair. I could make >> it using projection_iterator<> a

Re: [boost] Suggestion for iterator adaptors

2002-11-19 Thread Herve Bronnimann
On Tue, Nov 19, 2002 at 10:35:00AM -0500, David Abrahams wrote: > > On Tuesday 19 November 2002 07:11, Herve Bronnimann wrote: > >> Dave, Jeremy: one iterator adaptor I needed often (and once again today) > >> is the projection on the first or second member of a pair. I could make > >> it using pro

Re: [boost] Suggestion for iterator adaptors

2002-11-19 Thread David Abrahams
Herve Bronnimann <[EMAIL PROTECTED]> writes: > On Tue, Nov 19, 2002 at 10:35:00AM -0500, David Abrahams wrote: >> > On Tuesday 19 November 2002 07:11, Herve Bronnimann wrote: >> >> Dave, Jeremy: one iterator adaptor I needed often (and once again today) >> >> is the projection on the first or seco