OmniSciDB  29e35f4d58
std::hash< RexInput > Struct Template Reference

#include <RelAlgDagBuilder.h>

Public Member Functions

size_t operator() (const RexInput &rex_in) const

Detailed Description

struct std::hash< RexInput >

Definition at line 338 of file RelAlgDagBuilder.h.

Member Function Documentation

◆ operator()()

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

Definition at line 339 of file RelAlgDagBuilder.h.

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

339  {
340  auto addr = rex_in.getSourceNode();
341  return *reinterpret_cast<const size_t*>(may_alias_ptr(&addr)) ^ rex_in.getIndex();
342  }
const RelAlgNode * getSourceNode() const
unsigned getIndex() const
+ Here is the call graph for this function:

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