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

Method allocate

test/deadline_timer.cpp:288–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 }
287
288 pointer allocate(size_type n, const void* = 0)
289 {
290 ++(*count_);
291 return static_cast<T*>(::operator new(sizeof(T) * n));
292 }
293
294 void deallocate(pointer p, size_type)
295 {

Callers

nothing calls this directly

Calls 1

operator newFunction · 0.70

Tested by

no test coverage detected