BloombergLP::bdljsn::Error::allocator

Return the allocator used by this object to supply memory.

Synopsis

Declared in <bdljsn_error.h>

bslma::Allocator*
allocator() const;

Description

Note that if no allocator was supplied at construction the default allocator in effect at construction is used.

Return Value

the allocator used by this object to supply memory