Return a pointer to an object from this object pool. When the last shared pointer to the object is destroyed, the object will be reset as specified at construction and then returned to the pool. If this pool is empty, it is replenished according to the strategy specified at construction.

Synopsis

Declared in <bdlcc_sharedobjectpool.h>

bsl::shared_ptr<TYPE>
getObject();

Created with MrDocs