STLdoc
STLdocumentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
experimental::suspend_if Struct Reference

Public Member Functions

 suspend_if (bool _Condition) _NOEXCEPT
 
bool await_ready () _NOEXCEPT
 
void await_suspend (coroutine_handle<>) _NOEXCEPT
 
void await_resume () _NOEXCEPT
 

Public Attributes

bool _Ready
 

Constructor & Destructor Documentation

experimental::suspend_if::suspend_if ( bool  _Condition)
inlineexplicit
193  : _Ready(!_Condition)
194  {
195  }
bool _Ready
Definition: resumable:191

Member Function Documentation

bool experimental::suspend_if::await_ready ( )
inline
198  {
199  return _Ready;
200  }
bool _Ready
Definition: resumable:191
void experimental::suspend_if::await_resume ( )
inline
207  {
208  }
void experimental::suspend_if::await_suspend ( coroutine_handle<>  )
inline
203  {
204  }

Member Data Documentation

bool experimental::suspend_if::_Ready

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