OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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