38 #ifdef ICL_USE_STD_SHARED_PTR 40 using SmartArray = SmartPtrBase<T,ArrayDelOp>;
53 template<
class DerivedT>
60 template<
class DerivedT>
undocument this line if you encounter any issues!
Definition: Any.h:37
const T & operator[](int idx) const
index access operator (const, no index checks)
Definition: SmartArray.h:70
SmartArray()
creates a null pointer
Definition: SmartArray.h:50
SmartArray(T *ptData, bool bOwn=true)
gets pointer, ownership is passed optionally
Definition: SmartArray.h:57
SmartArray(DerivedT *ptData, bool bOwn=true)
gets pointer, ownership is passed optionally
Definition: SmartArray.h:54
Specialization of the SmartPtrBase class for Arrays.
Definition: SmartArray.h:46
SmartArray(const SmartPtrBase< T, ArrayDelOp > &r)
reference counting copy constructor
Definition: SmartArray.h:64
T & operator[](int idx)
index access operator (no index checks)
Definition: SmartArray.h:67
T * e
Definition: SmartPtrBase.h:224
#define ICLASSERT(X)
Definition: Macros.h:135
Base class for reference counting smart-pointers.
Definition: SmartPtrBase.h:222
SmartArray(const SmartPtrBase< DerivedT, ArrayDelOp > &r)
reference counting copy constructor
Definition: SmartArray.h:61
SmartPtrBase< T, ArrayDelOp > super
Definition: SmartArray.h:48