Return true if this object is in the "in‐progress" state.

Synopsis

Declared in <bslmt_once.h>

bool
isInProgress() const;

Description

The object is in‐progress if enter has been called and returned true and neither leave nor cancel have been called. The one‐time code controlled by this object should only be executing if this object is in the "in‐progress" state.

Return Value

true if this object is in the "in‐progress" state, and false otherwise

Created with MrDocs