Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | List of all members
std::hash< SVF::NodePair > Struct Reference

#include <GeneralType.h>

Public Member Functions

size_t operator() (const SVF::NodePair &p) const
 

Detailed Description

Definition at line 119 of file GeneralType.h.

Member Function Documentation

◆ operator()()

size_t std::hash< SVF::NodePair >::operator() ( const SVF::NodePair p) const
inline

Definition at line 121 of file GeneralType.h.

122 {
123 // Make sure our assumptions are sound: use u32_t
124 // and u64_t. If NodeID is not actually u32_t or size_t
125 // is not u64_t we should be fine since we get a
126 // consistent result.
127 uint32_t first = (uint32_t)(p.first);
128 uint32_t second = (uint32_t)(p.second);
129 return ((uint64_t)(first) << 32) | (uint64_t)(second);
130 }
cJSON * p
Definition cJSON.cpp:2559

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