Public Member Functions | Private Attributes | List of all members
grpc_core::ArenaPromise< T > Class Template Reference

#include <arena_promise.h>

Public Member Functions

 ArenaPromise ()=default
 
 ArenaPromise (ArenaPromise &&other) noexcept
 
template<typename Callable , typename Ignored = absl::enable_if_t<!std::is_same<Callable, ArenaPromise>::value>>
 ArenaPromise (Callable &&callable)
 
 ArenaPromise (const ArenaPromise &)=delete
 
bool has_value () const
 
Poll< Toperator() ()
 
ArenaPromiseoperator= (ArenaPromise &&other) noexcept
 
ArenaPromiseoperator= (const ArenaPromise &)=delete
 
 ~ArenaPromise ()
 

Private Attributes

arena_promise_detail::ImplInterface< T > * impl_
 

Detailed Description

template<typename T>
class grpc_core::ArenaPromise< T >

Definition at line 152 of file arena_promise.h.

Constructor & Destructor Documentation

◆ ArenaPromise() [1/4]

template<typename T >
grpc_core::ArenaPromise< T >::ArenaPromise ( )
default

◆ ArenaPromise() [2/4]

template<typename T >
template<typename Callable , typename Ignored = absl::enable_if_t<!std::is_same<Callable, ArenaPromise>::value>>
grpc_core::ArenaPromise< T >::ArenaPromise ( Callable &&  callable)
inline

Definition at line 162 of file arena_promise.h.

◆ ArenaPromise() [3/4]

template<typename T >
grpc_core::ArenaPromise< T >::ArenaPromise ( const ArenaPromise< T > &  )
delete

◆ ArenaPromise() [4/4]

template<typename T >
grpc_core::ArenaPromise< T >::ArenaPromise ( ArenaPromise< T > &&  other)
inlinenoexcept

Definition at line 170 of file arena_promise.h.

◆ ~ArenaPromise()

template<typename T >
grpc_core::ArenaPromise< T >::~ArenaPromise ( )
inline

Definition at line 181 of file arena_promise.h.

Member Function Documentation

◆ has_value()

template<typename T >
bool grpc_core::ArenaPromise< T >::has_value ( ) const
inline

Definition at line 186 of file arena_promise.h.

◆ operator()()

template<typename T >
Poll<T> grpc_core::ArenaPromise< T >::operator() ( )
inline

Definition at line 184 of file arena_promise.h.

◆ operator=() [1/2]

template<typename T >
ArenaPromise& grpc_core::ArenaPromise< T >::operator= ( ArenaPromise< T > &&  other)
inlinenoexcept

Definition at line 173 of file arena_promise.h.

◆ operator=() [2/2]

template<typename T >
ArenaPromise& grpc_core::ArenaPromise< T >::operator= ( const ArenaPromise< T > &  )
delete

Member Data Documentation

◆ impl_

template<typename T >
arena_promise_detail::ImplInterface<T>* grpc_core::ArenaPromise< T >::impl_
private
Initial value:

Definition at line 192 of file arena_promise.h.


The documentation for this class was generated from the following file:
grpc_core::arena_promise_detail::NullImpl::Get
static ImplInterface< T > * Get()
Definition: arena_promise.h:63


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