Main Page   Packages   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals  

__Destruct.h

Go to the documentation of this file.
00001 
00007 #ifndef __CLAW_OBJECT_H__
00008 #error "Don't include this file directly, instead include Object"
00009 #endif
00010 
00011 #ifndef ____CLAW_DESTRUCT_H__
00012 #define ____CLAW_DESTRUCT_H__
00013 namespace clawsoft{
00017 template<class __ttype_x>
00018 inline void claw_delete(__ttype_x &ptr){
00019         delete ptr;
00020         ptr = 0;
00021 }
00022 
00026 template<class __ttype_y>
00027 inline void claw_delete_array(__ttype_y &array){
00028         delete[] array;
00029         array = 0;
00030 }
00031 
00032 
00033 }
00034 #endif

Powered by:

SourceForge Logo