Decayed callable and arguments, allocated on Base's heap. More...
#include <StormByte/safe/thread.hxx>
Public Member Functions | |
| STORMBYTE_FORCE_INLINE | ThreadState (Callable &&fn, Args &&... args) |
| Capture the entry. | |
Static Public Member Functions | |
| static STORMBYTE_FORCE_INLINE void | Run (void *raw) |
| Invoke and destroy the state. | |
Public Attributes | |
| Callable | callable |
| Entry. | |
| std::tuple< Args... > | arguments |
| Arguments captured before the execution starts. | |
Decayed callable and arguments, allocated on Base's heap.
| Callable | Decayed callable. |
| Args | Decayed arguments. |
|
inline |
Capture the entry.
| fn | Entry. |
| args | Arguments. |
|
inlinestatic |
Invoke and destroy the state.
| raw | State address. Not null. |
| std::tuple<Args...> StormByte::Safe::Detail::ThreadState< Callable, Args >::arguments |
Arguments captured before the execution starts.
| Callable StormByte::Safe::Detail::ThreadState< Callable, Args >::callable |
Entry.