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>
ExceptionGuard(
OBJECT const* object,
int line,
Allocator* basicAllocator = 0);
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