Boost logo

Boost :

From: John E. Potter (jpotter_at_[hidden])
Date: 2001-05-15 04:17:05


On Tue, 15 May 2001, Daniel Frey wrote:

> I haven't seen any function in the STL or in boost's compose.hpp to
> select just the first or second parameter. If they exists and I missed
> them, please point me to the right header. If they don't exist: Should
> we add 'select1st' and 'select2nd' to compose.hpp? Or are there better
> names?

If you look at gcc stl_function.h you will find them. Select picks a
part of a pair<>. Project picks a parameter. There may be better
names, but inertia.

John


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