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
195  : _Ready(!_Condition)
196  {
197  }
bool _Ready
Definition: resumable:193

Member Function Documentation

bool experimental::suspend_if::await_ready ( )
inline
200  {
201  return _Ready;
202  }
bool _Ready
Definition: resumable:193
void experimental::suspend_if::await_resume ( )
inline
209  {
210  }
void experimental::suspend_if::await_suspend ( coroutine_handle<>  )
inline
205  {
206  }

Member Data Documentation

bool experimental::suspend_if::_Ready

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