Searched refs:is_destructor_called (Results 1 – 2 of 2) sorted by relevance
180 class is_destructor_called { class183 is_destructor_called(bool& bb) : b(bb) { b = false; } in is_destructor_called() function in is_destructor_called184 ~is_destructor_called() { b = true; } in ~is_destructor_called()189 char space[sizeof(is_destructor_called)]; in test_destructor()192 is_destructor_called* idc = new(space) is_destructor_called(flag); in test_destructor()197 idc = new(space) is_destructor_called(flag); in test_destructor()
188 class is_destructor_called { class191 is_destructor_called(bool& bb) : b(bb) { b = false; } in is_destructor_called() function in is_destructor_called192 ~is_destructor_called() { b = true; } in ~is_destructor_called()197 char space[sizeof(is_destructor_called)]; in test_destructor()200 is_destructor_called* idc = new(space) is_destructor_called(flag); in test_destructor()205 idc = new(space) is_destructor_called(flag); in test_destructor()