MCPcopy Create free account
hub / github.com/boostorg/json / do_deallocate

Method do_deallocate

test/doc_storage_ptr.cpp:144–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 void do_deallocate( void* ptr, std::size_t bytes, std::size_t align ) override
145 {
146 std::cout << "Deallocating " << bytes << " bytes with alignment " << align << " @ address " << ptr << '\n';
147
148 return ::operator delete( ptr );
149 }
150
151 bool do_is_equal( memory_resource const& other ) const noexcept override
152 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected