25 #ifndef COMMON_DEALLOCATOR_H 26 #define COMMON_DEALLOCATOR_H 42 typedef char type_must_be_complete[
sizeof(T) ? 1 : -1];
43 (void)
sizeof(type_must_be_complete);
53 typedef char type_must_be_complete[
sizeof(T) ? 1 : -1];
54 (void)
sizeof(type_must_be_complete);
69 #endif // COMMON_DEALLOCATOR_H
static void destroy(T *x)
static void destroy(T *x)
Deallocate a normal pointer.
static void destroy(T *x)
Deallocate a pointer to an array.
Deallocate a pointer using free().