Hi,I have trouble understanding the use of this-> .
Can someone please explain to me when this-> is used.In ass3 it whas used in the constructor for Account_impl but it was not used in the deposit function.Why?
In the constructor it is this->m_balance.
In the deposit function it is just m_balance.
Registered: 14 years ago
I seem to remember that in using this causes the server object to activate if it has the implicit activation policy. maybe in the first case the author of the code wanted to activate the object and in the second he might have been sure that the object must be activated by now. that might also have been _this-> though. hope this helps...