std::once_flag(3cxx) std::once_flag(3cxx)

std::once_flag - once_flag

#include <mutex>


constexpr once_flag () noexcept=default
Constructor. once_flag (const once_flag &)=delete
Deleted copy constructor. once_flag & operator= (const once_flag &)=delete
Deleted assignment operator.


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

once_flag

Definition at line 628 of file mutex.

constexpr std::once_flag::once_flag () [constexpr], [default], [noexcept]

Constructor.

Deleted copy constructor.

once_flag & std::once_flag::operator= (const once_flag &) [delete]

Deleted assignment operator.

call_once

Definition at line 666 of file mutex.

Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++