Constructors
Declared in <bslmt_timedcompletionguard.h>
Create the guard. Optionally specify a handler function that is invoked when a set duration expires. If handler is not specified, failByAbort is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is not specified, the currently installed default allocator is used.
TimedCompletionGuard();
» more...
Create the guard using the specified basicAllocator to supply memory. failByAbort is used when a set duration expires.
explicit
TimedCompletionGuard(allocator_type const& basicAllocator);
» more...
Create the guard using the specified function handler invoked when a set duration expires. Optionally specify a basicAllocator used to supply memory. If basicAllocator is not specified, the currently installed default allocator is used.
TimedCompletionGuard(
Handler function,
allocator_type const& basicAllocator = allocator_type());
» more...