28 Jul
2011
28 Jul
'11
3:26 p.m.
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).
Oh yes. I didn't realise you could do that. I've learnt something at least! Thanks. Ant