Static Value-Flow Analysis
Public Member Functions | List of all members
std::hash< SVF::CxtDPItem > Struct Reference

Specialise hash for CxtDPItem. More...

#include <DPItem.h>

Public Member Functions

size_t operator() (const SVF::CxtDPItem &cdpi) const
 

Detailed Description

Specialise hash for CxtDPItem.

Definition at line 566 of file DPItem.h.

Member Function Documentation

◆ operator()()

size_t std::hash< SVF::CxtDPItem >::operator() ( const SVF::CxtDPItem cdpi) const
inline

Definition at line 568 of file DPItem.h.

569  {
571  return h(std::make_pair(cdpi.getCurNodeID(), cdpi.getContexts()));
572  }
const ContextCond & getContexts() const
Get context.
Definition: DPItem.h:515
NodeID getCurNodeID() const
Definition: DPItem.h:77
provide extra hash function for std::pair handling
Definition: GeneralType.h:85

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