STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Macros | Typedefs | Functions
pplawait.h File Reference
#include <experimental/resumable>
#include <ppltasks.h>
#include <allocators>
#include <type_traits>
#include <ppltaskscheduler.h>
#include <utility>

Go to the source code of this file.

Classes

struct  std::experimental::coroutine_traits< ::concurrency::task< _Ty >, _Whatever...>
 
struct  std::experimental::coroutine_traits< ::concurrency::task< _Ty >, _Whatever...>::promise_type
 
struct  std::experimental::coroutine_traits< ::concurrency::task< void >, _Whatever...>
 
struct  std::experimental::coroutine_traits< ::concurrency::task< void >, _Whatever...>::promise_type
 
struct  std::experimental::awaitable_traits< _Ty >
 
class  Concurrency::await_resume_context
 
class  Concurrency::await_resume_context::ThreadpoolContext
 
class  Concurrency::await_resume_context::_CallbackChain< _Ty >
 
class  Concurrency::await_resume_context::_Callback
 

Namespaces

 std::experimental
 
 std::experimental::details
 
 std::experimental::details::awaitabletraitsimpl
 
 Concurrency
 The Concurrency namespace provides classes and functions that provide access to the Concurrency Runtime, a concurrent programming framework for C++. For more information, see Concurrency Runtime.
 

Macros

#define _PPLAWAIT_H
 
#define __resumable
 

Typedefs

template<typename _Ty >
using std::experimental::is_awaitable = awaitable_traits< _Ty >
 
template<typename _Ty >
using std::experimental::is_awaitable_t = typename awaitable_traits< _Ty >::type
 

Functions

template<typename _Ty >
bool std::experimental::details::awaitabletraitsimpl::_TryAwaitReady (_Ty &_Obj, decltype(std::declval< _Ty >().await_ready(), 0), int)
 
template<typename _Ty >
bool std::experimental::details::awaitabletraitsimpl::_TryAwaitReady (_Ty &_Obj, decltype(await_ready(std::declval< _Ty >()), 0),...)
 
template<typename _Ty , typename _Handle >
void std::experimental::details::awaitabletraitsimpl::_TryAwaitSuspend (_Ty &_Obj, _Handle _Hnd, decltype(std::declval< _Ty >().await_suspend(std::declval< _Handle >()), 0), int)
 
template<typename _Ty , typename _Handle >
void std::experimental::details::awaitabletraitsimpl::_TryAwaitSuspend (_Ty &_Obj, _Handle _Hnd, decltype(await_suspend(std::declval< _Ty >(), std::declval< _Handle >()), 0),...)
 
template<typename _Ty >
auto std::experimental::details::awaitabletraitsimpl::_TryAwaitResume (_Ty &_Obj, decltype(std::declval< _Ty >().await_resume(), 0), int)
 
template<typename _Ty >
auto std::experimental::details::awaitabletraitsimpl::_TryAwaitResume (_Ty &_Obj, decltype(await_resume(std::declval< _Ty >()), 0),...)
 
template<typename _Ty >
std::true_type std::experimental::details::awaitabletraitsimpl::_TryAwaitable (_Ty, decltype(_TryAwaitReady(std::declval< std::decay_t< _Ty >>(), 0, 0), _TryAwaitSuspend(std::declval< std::decay_t< _Ty >>(), std::experimental::coroutine_handle<>(), 0, 0), _TryAwaitResume(std::declval< std::decay_t< _Ty >>(), 0, 0), 0))
 
std::false_type std::experimental::details::awaitabletraitsimpl::_TryAwaitable (...)
 
template<class _Ty >
bool Concurrency::await_ready (const task< _Ty > &_Task)
 
template<class _Ty , typename _Handle >
void Concurrency::await_suspend (task< _Ty > &_Task, _Handle _ResumeCb)
 
template<class _Ty >
auto Concurrency::await_resume (const task< _Ty > &_Task)
 

Macro Definition Documentation

#define __resumable
#define _PPLAWAIT_H