BloombergLP::bslmt::OnceGuard::setOnce

Set this object to guard the specified once object. The behavior is undefined if this object is currently in the "in-progress" state.

Synopsis

Declared in <bslmt_once.h>

void
setOnce(Once* once);