Create a proxy holding a copy of the specified other object.
Declared in <bdlcc_objectpool.h>
ObjectPool_GeneralProxy(
TYPE const& other,
bslma::Allocator* basicAllocator);
Create a new proxy and a new object constructed from the specified other object. If TYPE declares the "Uses Allocator" trait, the specified basicAllocator is supplied to its copy constructor; otherwise basicAllocator is ignored.
| Name | Description |
|---|---|
| other | object used to copy-construct the proxied value |
| basicAllocator | allocator optionally supplied to TYPE |