Create the exception guard for the specified object at the specified line number. Optionally, specify basicAllocator used to supply memory.

Synopsis

Declared in <bslma_exceptionguard.h>

template<class ALLOCATOR>
ExceptionGuard(
    OBJECT const* object,
    int line,
    ALLOCATOR const& basicAllocator);

Parameters

Name

Description

object

The address of the object under test.

line

The source line number associated with this guard.

basicAllocator

The allocator used to supply memory.

Created with MrDocs