[C++-sig] [boost.python] Interoperability with boost.bind
markus.schoepflin at comsoft.de
Mon Jul 4 13:17:19 CEST 2005
Ralf W. Grosse-Kunstleve wrote:
> I don't know where David is...
> Until he replies a potentially silly suggestion (since I don't understand
> boost::bind very much): is it besides the point to make a thin wrapper
> bound_foo(int bar)
> boost::bind(foo, _1)(bar);
> and to
> .def("foo", bound_foo);
Thanks for the suggestion, but the use of bind was meant to avoid the need
for a wrapper function.
More information about the Cplusplus-sig