reset_once overloads

Synopses

Declared in <folly/synchronization/CallOnce.h>

Grants the free reset_once access to the flag internals.

void
reset_once(OnceFlag&) noexcept;

[» more...]

Resets a flag.

template<typename OnceFlag>
void
reset_once(OnceFlag& flag) noexcept;

Parameters

Name

Description

flag

The once‐flag to reset.

Created with MrDocs