Classes | Namespaces | Typedefs | Functions
promise_factory.h File Reference
#include <grpc/support/port_platform.h>
#include <type_traits>
#include <utility>
#include "absl/meta/type_traits.h"
#include "src/core/lib/promise/detail/promise_like.h"
Include dependency graph for promise_factory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  grpc_core::promise_detail::Curried< F, Arg >
 
struct  grpc_core::promise_detail::IsVoidCallable< T, Ignored >
 
struct  grpc_core::promise_detail::IsVoidCallable< F, absl::void_t< decltype(std::declval< F >()())> >
 
class  grpc_core::promise_detail::PromiseFactory< A, F >
 
class  grpc_core::promise_detail::PromiseFactory< void, F >
 
struct  grpc_core::promise_detail::ResultOfT< T, Ignored >
 
struct  grpc_core::promise_detail::ResultOfT< F(Args...), absl::void_t< decltype(std::declval< RemoveCVRef< F >>()(std::declval< Args >()...))> >
 

Namespaces

 grpc_core
 
 grpc_core::promise_detail
 

Typedefs

template<typename T >
using grpc_core::promise_detail::ResultOf = typename ResultOfT< T >::T
 

Functions

template<typename F >
absl::enable_if_t< IsVoidCallable< ResultOf< F()> >::value, PromiseLike< decltype(std::declval< F >)())> > grpc_core::promise_detail::PromiseFactoryImpl (F &&f)
 
template<typename A , typename F >
absl::enable_if_t< IsVoidCallable< ResultOf< F()> >::value, PromiseLike< decltype(std::declval< F >)())> > grpc_core::promise_detail::PromiseFactoryImpl (F &&f, A &&)
 
template<typename A , typename F >
absl::enable_if_t<!IsVoidCallable< ResultOf< F(A)> >::value, PromiseLike< Curried< RemoveCVRef< F >, A > > > grpc_core::promise_detail::PromiseFactoryImpl (F &&f, A &&arg)
 
template<typename A , typename F >
absl::enable_if_t< IsVoidCallable< ResultOf< F(A)> >::value, PromiseLike< decltype(std::declval< F >)(std::declval< A >)))> > grpc_core::promise_detail::PromiseFactoryImpl (F &&f, A &&arg)
 
template<typename F >
absl::enable_if_t<!IsVoidCallable< ResultOf< F()> >::value, PromiseLike< RemoveCVRef< F > > > grpc_core::promise_detail::PromiseFactoryImpl (F f)
 
template<typename A , typename F >
absl::enable_if_t<!IsVoidCallable< ResultOf< F()> >::value, PromiseLike< RemoveCVRef< F > > > grpc_core::promise_detail::PromiseFactoryImpl (F f, A &&)
 


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:26