1 2 3 4 5 6 7 8 9
#ifndef NULL_DELETER_H #define NULL_DELETER_H struct null_deleter { void operator()(void*) const {} void operator()(void const*) const {} }; #endif