OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
std::hash< std::pair< const RelAlgNode *, int > > Struct Template Reference

Public Member Functions

size_t operator() (const std::pair< const RelAlgNode *, int > &input_col) const
 

Detailed Description

template<>
struct std::hash< std::pair< const RelAlgNode *, int > >

Definition at line 752 of file RelAlgDag.cpp.

Member Function Documentation

size_t std::hash< std::pair< const RelAlgNode *, int > >::operator() ( const std::pair< const RelAlgNode *, int > &  input_col) const
inline

Definition at line 753 of file RelAlgDag.cpp.

753  {
754  auto ptr_val = reinterpret_cast<const int64_t*>(&input_col.first);
755  auto h = static_cast<size_t>(*ptr_val);
756  boost::hash_combine(h, input_col.second);
757  return h;
758  }

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