| 38 | |
| 39 | private: |
| 40 | static void destructor(void* obj) |
| 41 | { |
| 42 | assert(obj == t_value_); |
| 43 | typedef char T_must_be_complete_type[sizeof(T) == 0 ? -1 : 1]; |
| 44 | T_must_be_complete_type dummy; (void) dummy; |
| 45 | delete t_value_; |
| 46 | t_value_ = 0; |
| 47 | } |
| 48 | |
| 49 | class Deleter |
| 50 | { |
nothing calls this directly
no outgoing calls
no test coverage detected