C++ operator! - CSmartPtr
In This Topic
bool operator!() const
| |
|
Property |
Description |
|
| |
|
Method Name |
boolean operator |
|
| |
|
Returns |
true if the pointer to an object is NULL |
|
| |
|
Description |
Can be used to test the content of the smart pointer for NULL |
|
| |
|
Remarks |
|
|
| |
|
Example |
if (!spElm)
// report error - null ptr
|
|