|
BDE 4.14.0 Production release
|
#include <bdlcc_objectpool.h>
Public Member Functions | |
| BSLMF_NESTED_TRAIT_DECLARATION (ObjectPool_GeneralProxy, bslma::UsesBslmaAllocator) | |
| ObjectPool_GeneralProxy (bslma::Allocator *basicAllocator) | |
| ObjectPool_GeneralProxy (const TYPE &other, bslma::Allocator *basicAllocator) | |
| ~ObjectPool_GeneralProxy () | |
| Destroy this proxy and the underlying object. | |
| TYPE & | object () |
| Return a reference to the modifiable object held by this proxy. | |
This private class template provides a default constructor which simply invokes the default constructor of the parameterized TYPE.
See bdlcc_objectpool
|
inlineexplicit |
Create a new proxy and a new object of the parameterized TYPE. If TYPE declares the "Uses Allocator" trait, the specified basicAllocator is supplied to its default constructor; otherwise basicAllocator is ignored.
|
inline |
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.
|
inline |
| bdlcc::ObjectPool_GeneralProxy< TYPE >::BSLMF_NESTED_TRAIT_DECLARATION | ( | ObjectPool_GeneralProxy< TYPE > | , |
| bslma::UsesBslmaAllocator | |||
| ) |
|
inline |