OmniSciDB  04ee39c94c
std::hash< RexInput > Struct Template Reference

#include <RelAlgAbstractInterpreter.h>

Public Member Functions

size_t operator() (const RexInput &rex_in) const
 

Detailed Description

template<>
struct std::hash< RexInput >

Definition at line 341 of file RelAlgAbstractInterpreter.h.

Member Function Documentation

◆ operator()()

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

Definition at line 342 of file RelAlgAbstractInterpreter.h.

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

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

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