Public Types | Public Member Functions | Private Attributes | List of all members
grpc_core::promise_detail::Curried< F, Arg > Class Template Reference

#include <promise_factory.h>

Public Types

using Result = decltype(std::declval< F >()(std::declval< Arg >()))
 

Public Member Functions

 Curried (const F &f, Arg &&arg)
 
 Curried (F &&f, Arg &&arg)
 
Result operator() ()
 

Private Attributes

GPR_NO_UNIQUE_ADDRESS Arg arg_
 
GPR_NO_UNIQUE_ADDRESSf_
 

Detailed Description

template<typename F, typename Arg>
class grpc_core::promise_detail::Curried< F, Arg >

Definition at line 84 of file promise_factory.h.

Member Typedef Documentation

◆ Result

template<typename F , typename Arg >
using grpc_core::promise_detail::Curried< F, Arg >::Result = decltype(std::declval<F>()(std::declval<Arg>()))

Definition at line 89 of file promise_factory.h.

Constructor & Destructor Documentation

◆ Curried() [1/2]

template<typename F , typename Arg >
grpc_core::promise_detail::Curried< F, Arg >::Curried ( F &&  f,
Arg &&  arg 
)
inline

Definition at line 86 of file promise_factory.h.

◆ Curried() [2/2]

template<typename F , typename Arg >
grpc_core::promise_detail::Curried< F, Arg >::Curried ( const F &  f,
Arg &&  arg 
)
inline

Definition at line 88 of file promise_factory.h.

Member Function Documentation

◆ operator()()

template<typename F , typename Arg >
Result grpc_core::promise_detail::Curried< F, Arg >::operator() ( )
inline

Definition at line 90 of file promise_factory.h.

Member Data Documentation

◆ arg_

template<typename F , typename Arg >
GPR_NO_UNIQUE_ADDRESS Arg grpc_core::promise_detail::Curried< F, Arg >::arg_
private

Definition at line 94 of file promise_factory.h.

◆ f_

template<typename F , typename Arg >
GPR_NO_UNIQUE_ADDRESS F grpc_core::promise_detail::Curried< F, Arg >::f_
private

Definition at line 93 of file promise_factory.h.


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


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