OmniSciDB  dfae7c3b14
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 353 of file RelAlgDagBuilder.h.

Member Function Documentation

◆ operator()()

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

Definition at line 354 of file RelAlgDagBuilder.h.

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

354  {
355  auto addr = rex_in.getSourceNode();
356  return *reinterpret_cast<const size_t*>(may_alias_ptr(&addr)) ^ rex_in.getIndex();
357  }
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: