You.i Engine
CYICheckedDeleteFunctor< YI_PTR_TYPE > Struct Template Reference

Detailed Description

template<typename YI_PTR_TYPE>
struct CYICheckedDeleteFunctor< YI_PTR_TYPE >

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)
 

Constructor & Destructor Documentation

template<typename YI_PTR_TYPE >
CYICheckedDeleteFunctor< YI_PTR_TYPE >::CYICheckedDeleteFunctor ( )
inline
template<typename YI_PTR_TYPE >
template<typename YI_PTR_OTHER_TYPE >
CYICheckedDeleteFunctor< YI_PTR_TYPE >::CYICheckedDeleteFunctor ( const CYICheckedDeleteFunctor< YI_PTR_OTHER_TYPE > &  )
inline

Member Function Documentation

template<typename YI_PTR_TYPE >
void CYICheckedDeleteFunctor< YI_PTR_TYPE >::operator() ( YI_PTR_TYPE *  pPtr)
inline

The documentation for this struct was generated from the following file: