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

Method allocate

test/system_timer.cpp:295–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 }
294
295 pointer allocate(size_type n, const void* = 0)
296 {
297 ++(*count_);
298 return static_cast<T*>(::operator new(sizeof(T) * n));
299 }
300
301 void deallocate(pointer p, size_type)
302 {

Callers

nothing calls this directly

Calls 1

operator newFunction · 0.70

Tested by

no test coverage detected