carb::deleteHandler

Defined in carb/ObjectUtils.h

template<class T>
void carb::deleteHandler(T *ptr)

Default handler for carb::IObject reaching zero references, which calls delete.

Can be specialized for specific types.

Parameters

ptr – The object to delete.