StateOS
Loading...
Searching...
No Matches
stateos::OnceFlag Struct Reference

use a once flag object More...

#include <osonceflag.h>

Public Member Functions

constexpr OnceFlag ()
 constructor, see the constructor parameters of the class
 OnceFlag (OnceFlag &&_src)
 move constructor
 OnceFlag (const OnceFlag &)=delete
OnceFlag & operator= (OnceFlag &&)=delete
OnceFlag & operator= (const OnceFlag &)=delete
template<typename Callable, typename... Args>
void call (Callable &&_fun, Args &&... _args)
 call _fun(_args...) once, like std::call_once (one_call())

Detailed Description

use a once flag object


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