Construct a proxy for a default‐constructed proxied object.
Synopsis
Declared in <bslalg_constructorproxy.h>
explicit
ConstructorProxy(CtorAllocArgT const& allocator);
Description
Construct a proxy, passing no arguments except possibly a specified allocator to the constructor of the proxied object. If OBJECT_TYPE is allocator aware and allocator_type is a compatible allocator type, pass allocator to the proxied object constructor; otherwise ignore allocator. A compilation error will result unless OBJECT_TYPE has an (extended) default constructor.
Parameters
Name |
Description |
allocator |
allocator passed to the proxied object if it is allocator‐aware; ignored otherwise |
Created with MrDocs