Returns either 0 or an identifier assigned to the buffer at 'ptr' when the buffer was returned by AllocateRaw. If non-zero, the identifier differs from every other ID assigned by this allocator. REQUIRES: TracksAllocationSizes() is true. REQUIRES: 'ptr!=nullptr' and points to a buffer previously allocated by this allocator.
| 200 | // REQUIRES: 'ptr!=nullptr' and points to a buffer previously |
| 201 | // allocated by this allocator. |
| 202 | virtual int64 AllocationId(const void* ptr) const { return 0; } |
| 203 | |
| 204 | // Returns the allocated size of the buffer at 'ptr' if known, |
| 205 | // otherwise returns 0. This method can be called when |
no outgoing calls