[#BloombergLP-bdlcc-Deque-DequeThrowGuard-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Deque.adoc[Deque]::xref:BloombergLP/bdlcc/Deque.adoc[DequeThrowGuard]::DequeThrowGuard
:relfileprefix: ../../../../
:mrdocs:

Create a guard that restores `&ast;monoDeque&lowbar;p` if an exception escapes&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;deque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
DequeThrowGuard(xref:bsl/deque-0c.adoc[bsl::deque&lt;TYPE&gt;]* monoDeque&lowbar;p);
----


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