Struct is_awaitable< T, std::void_t< decltype(internal::getAwaiter(std::declval< T >()))> >

Synopsis

#include <lib/inc/drogon/utils/coroutine.h>

template <typename T>
struct is_awaitable<
    T,
    std::void_t<decltype(internal::getAwaiter(std::declval<T>()))>>
    : std::true_type

Description

No description yet.

Inheritance

Ancestors: true_type

Source

Lines 74-80 in lib/inc/drogon/utils/coroutine.h.

template <typename T>
struct is_awaitable<
    T,
    std::void_t<decltype(internal::getAwaiter(std::declval<T>()))>>
    : std::true_type
{
};





Add Discussion as Guest

Log in