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

Function test_stl_allocator5

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

Source from the content-addressed store, hash-verified

149}
150
151static bool test_stl_allocator5() {
152 std::vector<int, mi_heap_destroy_stl_allocator<int> > vec;
153 vec.push_back(1);
154 vec.pop_back();
155 return vec.size() == 0;
156}
157
158static bool test_stl_allocator6() {
159 std::vector<some_struct, mi_heap_destroy_stl_allocator<some_struct> > vec;

Callers 1

test_stl_allocatorsFunction · 0.85

Calls 3

push_backMethod · 0.45
pop_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected