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

Synopses

Declared in <bslma_exceptionguard.h>

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

ExceptionGuard(
    OBJECT const* object,
    int line,
    Allocator* basicAllocator = 0);

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

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

Created with MrDocs