SVF
Public Member Functions | List of all members
std::hash< SVF::LocationSet > Struct Template Reference

#include <LocationSet.h>

Public Member Functions

size_t operator() (const SVF::LocationSet &ls) const
 

Detailed Description

template<>
struct std::hash< SVF::LocationSet >

Definition at line 291 of file LocationSet.h.

Member Function Documentation

◆ operator()()

size_t std::hash< SVF::LocationSet >::operator() ( const SVF::LocationSet ls) const
inline

Definition at line 292 of file LocationSet.h.

292  {
294  return h(std::make_pair(ls.getOffset(), ls.getByteOffset()));
295  }
Size_t getByteOffset() const
Definition: LocationSet.h:198
provide extra hash function for std::pair handling
Definition: SVFBasicTypes.h:52
Size_t getOffset() const
Get methods.
Definition: LocationSet.h:194

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