[#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&period; Optionally specify a `handler` function that is invoked when a `set` duration expires&period; If `handler` is not specified, `failByAbort` is used&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is not specified, the currently installed default allocator is used&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;timedcompletionguard&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TimedCompletionGuard();
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
