BDE 4.14.0 Production release
|
#include <bdlcc_objectpool.h>
Public Member Functions | |
BSLMF_NESTED_TRAIT_DECLARATION (ObjectPool_DefaultProxy, bslma::UsesBslmaAllocator) | |
ObjectPool_DefaultProxy (bslma::Allocator *basicAllocator) | |
ObjectPool_DefaultProxy (const Creator &rhs, bslma::Allocator *basicAllocator) | |
~ObjectPool_DefaultProxy () | |
Destroy this proxy and the underlying object. | |
Creator & | object () |
This private class template provides a default constructor that creates a proxied bsl::function
object that invokes the default constructor of the parameterized TYPE
with placement new
.
See bdlcc_objectpool
|
inlineexplicit |
Create a new proxy for a function object which invokes the default constructor of TYPE. Use the specified basicAllocator
to supply memory.
|
inline |
Create a proxy for a newly created function object constructed from the specified rhs
creator. Use the specified basicAllocator
to supply memory.
|
inline |
bdlcc::ObjectPool_DefaultProxy< TYPE >::BSLMF_NESTED_TRAIT_DECLARATION | ( | ObjectPool_DefaultProxy< TYPE > | , |
bslma::UsesBslmaAllocator | |||
) |
|
inline |
Return a reference to the modifiable function object held by this proxy.