BloombergLP::bdlma::ConcurrentFixedPool::indexFromAddress

Return an index in the range from 0 to the maximum size of this pool that uniquely identifies the memory block at the specified address. The behavior is undefined unless address corresponds to a memory block allocated from this pool.

Synopsis

Declared in <bdlma_concurrentfixedpool.h>

int
indexFromAddress(void* address) const;