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<> 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, did I miss something? > > Not as far as I can see.
Can't you just use make_projection_iterator with bind(&pair<X,Y>::first) ? -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost