TBD: fix comment to mention that mechanism has to be a test allocator. Convert a bslma::Allocator pointer to an test allocator object which forwards allocation calls to the object pointed to by the specified mechanism. If mechanism is 0, then the currently installed default allocator is used instead. Postcondition: 0 == mechanism || this‐>mechanism() == mechanism.

Synopsis

Declared in <bslma_stdtestallocator.h>

StdTestAllocator(Allocator* mechanism);

Created with MrDocs