Destroy this object, completing in‐progress once work if needed.

Synopsis

Declared in <bslmt_once.h>

~OnceGuard();

Description

If this object is not in an "in‐progress" state, do nothing. If this object is in an "in‐progress" state and is being destroyed in the course of normal processing, then call leave on the associated Once object.

Created with MrDocs