Причина, почему бы не иметь макрос DELETE для C ++
Здесьany good reasons (за исключением "макросов - это зло", может быть)NOT to use the following macros ?
#define DELETE( ptr ) \
if (ptr != NULL) \
{ \
delete ptr; \
ptr = NULL; \
}
#define DELETE_TABLE( ptr ) \
if (ptr != NULL) \
{ \
delete[] ptr; \
ptr = NULL; \
}