Set the specified newAllocator as the allocator or pool to be managed by this proctor.

Synopsis

Declared in <bdlma_autoreleaser.h>

void
reset(ALLOCATOR* newAllocator);

Description

Note that this method releases from management any previously held allocator or pool, and so may be invoked with or without having called release when reusing this object.

Parameters

Name

Description

newAllocator

allocator or pool to be managed by this proctor

Created with MrDocs