MCPcopy Create free account
hub / github.com/baidu/babylon / do_deallocate

Method do_deallocate

test/reusable/test_memory_resource.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 }
31
32 virtual void do_deallocate(void* ptr, size_t bytes,
33 size_t alignment) noexcept override {
34 deallocate_called = true;
35 ::operator delete(ptr, bytes, ::std::align_val_t(alignment));
36 }
37
38 virtual bool do_is_equal(
39 const memory_resource& __other) const noexcept override {

Callers

nothing calls this directly

Calls 2

operator deleteFunction · 0.85
align_val_tEnum · 0.85

Tested by

no test coverage detected