Call enter on the associated Once object and return the result. If Once::enter returns true, set this object into the "in‐progress" state. The behavior is undefined unless this object has been associated with a Once object, either in the constructor or using setOnce, or if this object is already in the "in‐progress" state.

Synopsis

Declared in <bslmt_once.h>

bool
enter();

Created with MrDocs