libstdc++: std::once_flag Struct Reference (original) (raw)

#include <[mutex](a00146%5Fsource.html)>

Friends
template<typename _Callable , typename... _Args>
void call_once (once_flag &__once, _Callable &&__f, _Args &&... __args)

Flag type used by std::call_once.

Definition at line 807 of file mutex.

std::once_flag::once_flag ( const once_flag & ) delete

Deleted copy constructor.

operator=()

Deleted assignment operator.

call_once

template<typename _Callable , typename... _Args>

void call_once ( once_flag & __once, _Callable && __f, _Args &&... __args ) friend

Invoke a callable and synchronize with other calls using the same flag.

Definition at line 905 of file mutex.


The documentation for this struct was generated from the following file: