[#BloombergLP-bslmt-TimedCompletionGuard-2constructor-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/TimedCompletionGuard.adoc[TimedCompletionGuard]::TimedCompletionGuard
:relfileprefix: ../../../
:mrdocs:

Create the guard using the specified `basicAllocator` to supply memory&period; `failByAbort` is used when a set duration expires&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
TimedCompletionGuard(xref:BloombergLP/bslmt/TimedCompletionGuard/allocator_type.adoc[allocator&lowbar;type] const& basicAllocator);
----


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