OmniSciDB  2e3a973ef4
TypeHandler.h File Reference
#include <typeindex>
+ Include dependency graph for TypeHandler.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TypeHandler< T, U >
 

Functions

template<typename T , typename U >
bool operator< (TypeHandler< T, U > const &lhs, TypeHandler< T, U > const &rhs)
 
template<typename T , typename U >
bool operator< (TypeHandler< T, U > const &lhs, std::type_index const &rhs)
 
template<typename T , typename U >
bool operator< (std::type_index const &lhs, TypeHandler< T, U > const &rhs)
 

Function Documentation

◆ operator<() [1/3]

template<typename T , typename U >
bool operator< ( TypeHandler< T, U > const &  lhs,
TypeHandler< T, U > const &  rhs 
)

Definition at line 32 of file TypeHandler.h.

References TypeHandler< T, U >::type_index.

32  {
33  return lhs.type_index < rhs.type_index;
34 }
std::type_index type_index
Definition: TypeHandler.h:27

◆ operator<() [2/3]

template<typename T , typename U >
bool operator< ( TypeHandler< T, U > const &  lhs,
std::type_index const &  rhs 
)

Definition at line 37 of file TypeHandler.h.

37  {
38  return lhs.type_index < rhs;
39 }
std::type_index type_index
Definition: TypeHandler.h:27

◆ operator<() [3/3]

template<typename T , typename U >
bool operator< ( std::type_index const &  lhs,
TypeHandler< T, U > const &  rhs 
)

Definition at line 42 of file TypeHandler.h.

42  {
43  return lhs < rhs.type_index;
44 }
std::type_index type_index
Definition: TypeHandler.h:27