Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2001-05-15 07:31:47


"John E. Potter" wrote:
>
> 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.

Found them, thanks. For now, my problem is solved but others may miss
these extensions or have different compilers, so I'd prefer them to be
part of boost (a library) rather than a compiler (OK, technically not
correct, but you know what I mean, right?). Probably this is not worth
to create a complete review cycle for compose.hpp, but if there will be
other extensions, this one should IMHO be considered too.

Regards, Daniel

--
Daniel Frey
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de

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