[#BloombergLP-bdlcc-ObjectPool_DefaultProxy]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::ObjectPool&lowbar;DefaultProxy
:relfileprefix: ../../
:mrdocs:

Proxy for a creator that default&hyphen;constructs objects of `TYPE`&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;objectpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
class ObjectPool&lowbar;DefaultProxy;
----

== Description

This private class template provides a default constructor that creates a proxied `bsl&colon;&colon;function` object that invokes the default constructor of the parameterized `TYPE` with placement `new`&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/ObjectPool_DefaultProxy/2constructor-040.adoc[`ObjectPool&lowbar;DefaultProxy`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlcc/ObjectPool_DefaultProxy/2destructor.adoc[`&#126;ObjectPool&lowbar;DefaultProxy`] [.small]#[destructor]#
| Destroy this proxy and the underlying object&period;
| xref:BloombergLP/bdlcc/ObjectPool_DefaultProxy/object.adoc[`object`] 
| Return a reference to the modifiable function object held by this proxy&period;
| xref:BloombergLP/bdlcc/ObjectPool_DefaultProxy/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;ObjectPool&lowbar;DefaultProxy, UsesBslmaAllocator&gt;`] 
| Declare that this type uses a `bslma` allocator&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
