A delete functor that produces a compile-time error if called on an incomplete type.
This functor is convertible to other pointer types to allow upconverting within CYIScopedPtr instances.
#include <smartptr/YiDeleteFunctors.h>
Public Member Functions | |
| CYICheckedDeleteFunctor () | |
| template<typename YI_PTR_OTHER_TYPE > | |
| CYICheckedDeleteFunctor (const CYICheckedDeleteFunctor< YI_PTR_OTHER_TYPE > &) | |
| void | operator() (YI_PTR_TYPE *pPtr) |
|
inline |
|
inline |
|
inline |