An implementation of the CountedPtrCast that always returns 0 cast to the original pointer type. Reached by putting CastNoneReturnZero in the ReferenceCountTraits of the target class. More...
#include <countedptr.h>
Static Public Member Functions | |
static ReturnPointer | Cast (OriginalPointer) |
This accepts a parameter solely for compatibility with other templates and always returns 0. More... | |
An implementation of the CountedPtrCast that always returns 0 cast to the original pointer type. Reached by putting CastNoneReturnZero in the ReferenceCountTraits of the target class.
ReturnPointer | The type of the NULL pointer to create. |
OriginalPointer | The type of the pointer prior to casting. |
Definition at line 551 of file countedptr.h.
|
inlinestatic |
This accepts a parameter solely for compatibility with other templates and always returns 0.
Definition at line 557 of file countedptr.h.