[#BloombergLP-bslmt-TimedCompletionGuard-2constructor-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/TimedCompletionGuard.adoc[TimedCompletionGuard]::TimedCompletionGuard :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bslmt_timedcompletionguard.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- TimedCompletionGuard(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#