QuantumLibrary
ITerminate::Guard Class Reference

RAII-style mechanism for ensuring an object is terminated at the end of a scope. Acquires an ITerminate interface on construction and terminates the object in the destructor. More...

#include <quantum_iterminate.h>

Detailed Description

RAII-style mechanism for ensuring an object is terminated at the end of a scope. Acquires an ITerminate interface on construction and terminates the object in the destructor.