Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
FutureSharedStateDetail Namespace Reference

Classes

class  Receiver
 Responsible for syncronization between the task and the receiving thread. More...
 
struct  SharedState
 The shared state between futures and packaged state. More...
 
struct  VoidSubstitution
 

Typedefs

template<typename ResultType >
using NonVoid = std::conditional_t< std::is_void_v< ResultType >, VoidSubstitution, ResultType >
 

Typedef Documentation

◆ NonVoid

template<typename ResultType >
using FutureSharedStateDetail::NonVoid = typedef std::conditional_t<std::is_void_v<ResultType>, VoidSubstitution, ResultType>