STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
Concurrency::_Continuation_func_transformer< _InpType, _OutType > Class Template Reference

A helper class template that transforms a continuation lambda that either takes or returns void, or both, into a lambda that takes and returns a non-void type (details::_Unit_type is used to substitute for void). This is to minimize the special handling required for 'void'. More...

#include <ppltasks.h>

Static Public Member Functions

static auto _Perform (std::function< _OutType(_InpType)> _Func) -> decltype(_Func)
 

Detailed Description

template<typename _InpType, typename _OutType>
class Concurrency::_Continuation_func_transformer< _InpType, _OutType >

A helper class template that transforms a continuation lambda that either takes or returns void, or both, into a lambda that takes and returns a non-void type (details::_Unit_type is used to substitute for void). This is to minimize the special handling required for 'void'.

Member Function Documentation

template<typename _InpType , typename _OutType >
static auto Concurrency::_Continuation_func_transformer< _InpType, _OutType >::_Perform ( std::function< _OutType(_InpType)>  _Func) -> decltype(_Func)
inlinestatic
2809  {
2810  return _Func;
2811  }

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