| 142 | } |
| 143 | |
| 144 | static bool test_stl_allocator4() { |
| 145 | std::vector<some_struct, mi_heap_stl_allocator<some_struct> > vec; |
| 146 | vec.push_back(some_struct()); |
| 147 | vec.pop_back(); |
| 148 | return vec.size() == 0; |
| 149 | } |
| 150 | |
| 151 | static bool test_stl_allocator5() { |
| 152 | std::vector<int, mi_heap_destroy_stl_allocator<int> > vec; |
no test coverage detected