Call function at most once across all threads for this object.
Declared in <bslmt_once.h>
Call function at most once across all threads for this object.
template<class FUNC>
void
callOnce(FUNC& function);
» more...
Call function at most once across all threads for this object.
template<class FUNC>
void
callOnce(FUNC const& function);
» more...
| Name | Description |
|---|---|
| function | no-argument function or functor to invoke at most once |