OmniSciDB  16c4e035a1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
std::hash< RexInput > Struct Template Reference

#include <RelAlgDagBuilder.h>

Public Member Functions

size_t operator() (const RexInput &rex_in) const
 

Detailed Description

template<>
struct std::hash< RexInput >

Definition at line 368 of file RelAlgDagBuilder.h.

Member Function Documentation

size_t std::hash< RexInput >::operator() ( const RexInput rex_in) const
inline

Definition at line 369 of file RelAlgDagBuilder.h.

References RexAbstractInput::getIndex(), and RexInput::getSourceNode().

369  {
370  auto addr = rex_in.getSourceNode();
371  return *reinterpret_cast<const size_t*>(may_alias_ptr(&addr)) ^ rex_in.getIndex();
372  }
unsigned getIndex() const
const RelAlgNode * getSourceNode() const

+ Here is the call graph for this function:


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