Create the exception guard for the specified object at the specified line number. Optionally, specify basicAllocator used to supply memory.
Declared in <bslma_exceptionguard.h>
ExceptionGuard(
OBJECT const* object,
int line,
Allocator* basicAllocator = 0);
| 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. |