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

Method address

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

Source from the content-addressed store, hash-verified

492 void deallocate(void* p, size_type) { alloc_->Free(p); }
493
494 pointer address(reference x) const { return &x; }
495 const_pointer address(const_reference x) const { return &x; }
496
497 MapAllocator<T, BaseAllocatorType>& operator=(const MapAllocator& rhs) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected