LLVM  9.0.0svn
Static Public Member Functions | List of all members
llvm::orc::rpc::SerializationTraits< ChannelT, std::map< K, V >, std::map< K2, V2 > > Class Template Reference

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

Static Public Member Functions

static Error serialize (ChannelT &C, const std::map< K2, V2 > &M)
 Serialize a std::map<K, V> from std::map<K2, V2>. More...
 
static Error deserialize (ChannelT &C, std::map< K2, V2 > &M)
 Deserialize a std::map<K, V> to a std::map<K, V>. More...
 

Detailed Description

template<typename ChannelT, typename K, typename V, typename K2, typename V2>
class llvm::orc::rpc::SerializationTraits< ChannelT, std::map< K, V >, std::map< K2, V2 > >

Definition at line 652 of file RPCSerialization.h.

Member Function Documentation

◆ deserialize()

template<typename ChannelT , typename K , typename V , typename K2 , typename V2 >
static Error llvm::orc::rpc::SerializationTraits< ChannelT, std::map< K, V >, std::map< K2, V2 > >::deserialize ( ChannelT &  C,
std::map< K2, V2 > &  M 
)
inlinestatic

Deserialize a std::map<K, V> to a std::map<K, V>.

Definition at line 672 of file RPCSerialization.h.

References assert().

◆ serialize()

template<typename ChannelT , typename K , typename V , typename K2 , typename V2 >
static Error llvm::orc::rpc::SerializationTraits< ChannelT, std::map< K, V >, std::map< K2, V2 > >::serialize ( ChannelT &  C,
const std::map< K2, V2 > &  M 
)
inlinestatic

Serialize a std::map<K, V> from std::map<K2, V2>.

Definition at line 655 of file RPCSerialization.h.


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