Liquid XML Data Binder 2019
C++ operator! - CSmartPtr
Liquid XML Data Binder (C++, Java, VB6) > Reference > C++ > Reference > CSmartPtr > C++ operator! - CSmartPtr
bool operator!() const
  Property Description  
    Method Name boolean opertor  
    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