BloombergLP::bdlma::Factory::createObject

Create an instance of the specified TYPE using default arguments. Return the address of the newly-created object on success, and 0 otherwise. The instance must be destroyed using the deleteObject method of this object factory.

Synopsis

Declared in <bdlma_factory.h>

virtual
TYPE*
createObject() = 0;