Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-12-12 10:12:36


From: "Jeremy Siek" <jsiek_at_[hidden]>
> Any chance the arg=0,1, and 2 versions of bind could be somehow
> specialized to create "Adaptable" function objects so that they could be
> used with Boost.Compose?

1. There are no 0, 1, 2 versions of bind. Function objects returned by bind
don't know in advance their argument types (or even arity.)

2. bind can compose. See libs/bind/bind_as_compose.cpp.

;-)

--
Peter Dimov
Multi Media Ltd.

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