
Can you post a full example (with main, includes and all)? Jaakko On Nov 27, 2006, at 9:41 PM, Haroon Khan wrote:
Hi, How can we use the Boost::lambda::bind function to behave the same as the following
class some_class{ public: some_class& foo(int x){....} void bar() {...} }
some_class a_object; a_object.foo(x).bar(), where the call to some_class::foo returns a reference to the object.
I could use Boost.Bind library to accomplish the above as follows boost::bind(&some_class::bar, boost::bind(&some_class::foo, some_functor(), _1))
and I need to do this using boost.lambda.
Thanks, Haroon _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users