Constructors

Synopses

Declared in <bdlcc_objectpool.h>

Create a proxy holding a default‐constructed object of TYPE.

explicit
ObjectPool_GeneralProxy(bslma::Allocator* basicAllocator);

Create a proxy holding a copy of the specified other object.

ObjectPool_GeneralProxy(
    TYPE const& other,
    bslma::Allocator* basicAllocator);

Parameters

Name

Description

basicAllocator

allocator optionally supplied to TYPE

other

object used to copy‐construct the proxied value

Created with MrDocs