Initialize an object of type bsls::BslOnce.

Synopsis

Declared in <bsls_bslonce.h>

#define BSLS_BSLONCE_INITIALIZER

Description

Use this macro to initialize an object of type bsls::Once. E.g.: ` bsls::Once once = BSLS_BSLONCE_INITIALIZER; ` Note that we use an unlikely arbitrary value to permit effectively asserting a BslOnce for correct initialization.

Created with MrDocs