P99

◆ P99_DECLARE_DELETE

#define P99_DECLARE_DELETE (   T)
Value:
\ \ \ \ \
void P99_PASTE2(T, _delete)(T const*p00_el) { }

Declare a ‘delete’ operator for type T.

This supposes that type T has a ‘destructor’, i.e a destroy function, that just takes a pointer to the element that is to be initialized.

Other arguments after the type argument are interpreted as storage class specifiers for the functions. Default is p99_inline.

Remarks
argument 0 should correspond to a type that is not a VLA.

Definition at line 328 of file p99_new.h.

P99_PASTE2
#define P99_PASTE2(_1, _2)
Paste two token sequences at their junction.
Definition: p99_paste.h:82