4 May
2009
4 May
'09
4:59 a.m.
Igor R wrote:
Can boost.bind() be used to delay the call to a member function until you have gathered all the data types to populate the function parameter list?
Yes, if you mean something like this:
struct A { voif f(int a, double b, short c); };
A *a = new A; function
func = bind(&A::f, a, _1, _2, _3); // somewhere later: func(1, 2.0, 0);
Thank you!
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-use