Boost logo

Boost Users :

Subject: Re: [Boost-users] Still not there yet...
From: Pace, Antony [Harman Pro Group UK] (antony.pace_at_[hidden])
Date: 2011-07-28 11:26:03

>> 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.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at