BloombergLP::bsltf::StdTestAllocator_CommonUtil

This struct provides a namespace for utilities that are common to all instantiations of the StdTestAllocator class template.

Synopsis

Declared in <bsltf_stdtestallocator.h>

struct StdTestAllocator_CommonUtil;

Static Member Functions

NameDescription
maxSize Return the maximum number of objects, each taking the specified elementSize bytes of storage, that can potentially be allocated by a StdTestAllocator. Note that this function is mostly about insulating consumers of this component from a standard header, so that this test component does not hide missing header dependencies in testing scenarios.