smart_com::operator= Method |
||||||||||||||
| Assigns another smart_com to this. | ||||||||||||||
| Syntax: | smart_com& operator=( smart_ptr op2 ); |
|||||||||||||
|
||||||||||||||
| Return value: | A reference to this. |
|||||||||||||
| Remarks: | If the target of the assignment pointed to an object before the operation, Release will be called on that object. The object will be deleted, if this instance of smart_com held the last reference. AddRef will be called on the object pointed to by the assigned smart_com. |
|||||||||||||
| See also: | smart_com | |||||||||||||