MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / MapAllocator

Method MapAllocator

include/sonic/allocator.h:485–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483 typedef T value_type;
484
485 MapAllocator(BaseAllocatorType* a) : alloc_(a) {}
486 MapAllocator(const MapAllocator& rhs) : alloc_(rhs.alloc_) {}
487
488 pointer allocate(size_type n, const void* = nullptr) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected