Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / CSmartPtr / C++ operator* - CSmartPtr
In This Topic
    C++ operator* - CSmartPtr
    In This Topic
    T& operator*() const
      Property Description  
        Returns A reference to the underlying object held in the smart pointer  
        Description Allows the smart pointer to be dereferenced  
        Remarks Useful if you ever need to get a reference to the actual object (which is relatively unlikely).
    Undefined behavior if the smart pointer does not wrapper an object
     
        Example


    ElmSequence::CElmSequencePtr spElm = ElmSequence::CElmSequence::CreateInstance();

    (*spElm).GetBasicElement();