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

Method deallocate

example/cpp11/allocation/server.cpp:158–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 }
157
158 void deallocate(void* pointer)
159 {
160 if (pointer == &storage_)
161 {
162 in_use_ = false;
163 }
164 else
165 {
166 ::operator delete(pointer);
167 }
168 }
169
170private:
171 // Storage space used for handler-based custom memory allocation.

Callers

nothing calls this directly

Calls 1

operator deleteFunction · 0.85

Tested by

no test coverage detected