MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / test_stl_allocator6

Function test_stl_allocator6

3rd/mimalloc-2.0.9/test/main-override.cpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158static bool test_stl_allocator6() {
159 std::vector<some_struct, mi_heap_destroy_stl_allocator<some_struct> > vec;
160 vec.push_back(some_struct());
161 vec.pop_back();
162 return vec.size() == 0;
163}
164
165static void test_stl_allocators() {
166 test_stl_allocator1();

Callers 1

test_stl_allocatorsFunction · 0.85

Calls 4

some_structClass · 0.70
push_backMethod · 0.45
pop_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected