|
typedef T | ValueType |
|
typedef T * | PointerType |
|
typedef T & | ReferenceType |
|
◆ ScopedPtr()
template<typename T, class DL = DefaultDeleter<T>>
template<class T2 >
◆ operator_bool()
template<typename T, class DL = DefaultDeleter<T>>
Implicit conversion operator to bool for convenience, to make checks like "if (scopedPtr) ..." possible.
◆ reset()
template<typename T, class DL = DefaultDeleter<T>>
Resets the pointer with the new value. Old object will be destroyed
◆ operator=() [1/2]
template<typename T, class DL = DefaultDeleter<T>>
◆ operator=() [2/2]
template<typename T, class DL = DefaultDeleter<T>>
template<class T2 >
◆ get()
template<typename T, class DL = DefaultDeleter<T>>
Returns the plain pointer value.
- Returns
- the pointer the ScopedPtr manages
◆ release()
template<typename T, class DL = DefaultDeleter<T>>
Returns the plain pointer value and releases ScopedPtr. After release() call you need to delete object yourself
- Returns
- the pointer the ScopedPtr manages
The documentation for this class was generated from the following file: