LLVM  6.0.0svn
Public Types | Static Public Member Functions | List of all members
llvm::orc::rpc::detail::ResultTraits< RetT > Class Template Reference

#include "llvm/ExecutionEngine/Orc/RPCUtils.h"

Inheritance diagram for llvm::orc::rpc::detail::ResultTraits< RetT >:
Inheritance graph
[legend]

Public Types

using ErrorReturnType = Expected< RetT >
 
using ReturnPromiseType = std::promise< ErrorReturnType >
 
using ReturnFutureType = std::future< ErrorReturnType >
 

Static Public Member Functions

static ErrorReturnType createBlankErrorReturnValue ()
 
static void consumeAbandoned (ErrorReturnType RetOrErr)
 

Detailed Description

template<typename RetT>
class llvm::orc::rpc::detail::ResultTraits< RetT >

Definition at line 289 of file RPCUtils.h.

Member Typedef Documentation

◆ ErrorReturnType

template<typename RetT >
using llvm::orc::rpc::detail::ResultTraits< RetT >::ErrorReturnType = Expected<RetT>

Definition at line 292 of file RPCUtils.h.

◆ ReturnFutureType

template<typename RetT >
using llvm::orc::rpc::detail::ResultTraits< RetT >::ReturnFutureType = std::future<ErrorReturnType>

Definition at line 305 of file RPCUtils.h.

◆ ReturnPromiseType

template<typename RetT >
using llvm::orc::rpc::detail::ResultTraits< RetT >::ReturnPromiseType = std::promise<ErrorReturnType>

Definition at line 302 of file RPCUtils.h.

Member Function Documentation

◆ consumeAbandoned()

template<typename RetT >
static void llvm::orc::rpc::detail::ResultTraits< RetT >::consumeAbandoned ( ErrorReturnType  RetOrErr)
inlinestatic

◆ createBlankErrorReturnValue()

template<typename RetT >
static ErrorReturnType llvm::orc::rpc::detail::ResultTraits< RetT >::createBlankErrorReturnValue ( )
inlinestatic

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