28 Jul
2011
28 Jul
'11
3:01 p.m.
On 7/28/2011 6:28 AM, Pace, Antony [Harman Pro Group UK] wrote:
Is your second parameter the address of a class or the class itself? My usual problem with bind is forgetting the 'this' as the second parameter for a member function. Ant
From the documentation, passing the class instance itself will make a copy held inside the function object. Passing the address will store a pointer inside the function object, so it will refer to my instance (which must continue to exist as long as that function object).