MCPcopy Create free account
hub / github.com/boostorg/asio / deallocate

Method deallocate

test/experimental/coro/allocator.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 void deallocate(void* p, std::size_t n)
48 {
49 deallocs.emplace_back(p, n);
50 delete[] static_cast<char*>(p);
51// BOOST_ASIO_CHECK(allocs.back() == deallocs.back());
52 }
53
54 bool operator==(const tracked_allocator& rhs) const
55 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected