OmniSciDB  ba1bac9284
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 353 of file RelAlgDagBuilder.h.

Member Function Documentation

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

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  }
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: