Boost C++ Libraries

PrevUpHomeNext

Struct template awaitable_result

boost::taar::awaitable_result — What T produces once awaited: U for awaitable<U, E>, otherwise T itself.

Synopsis

// In header: <boost/taar/core/is_awaitable.hpp>

template<typename T> 
struct awaitable_result {
  // types
  typedef T type;
};

PrevUpHomeNext