libabigail
Public Member Functions | List of all members
diff_hash Struct Reference

A hashing functor for using diff_sptr and diff* in a hash map or set. More...

#include <abg-comparison-priv.h>

Public Member Functions

size_t operator() (const diff &d) const
 The function-call operator to hash a diff node. More...
 
size_t operator() (const diff *d) const
 The function-call operator to hash a diff node. More...
 
size_t operator() (const diff_sptr &d) const
 The function-call operator to hash a diff node. More...
 

Detailed Description

A hashing functor for using diff_sptr and diff* in a hash map or set.

Definition at line 82 of file abg-comparison-priv.h.

Member Function Documentation

◆ operator()() [1/3]

size_t operator() ( const diff d) const
inline

The function-call operator to hash a diff node.

Parameters
dthe diff node to hash.
Returns
the hash value of d.

Definition at line 108 of file abg-comparison-priv.h.

◆ operator()() [2/3]

size_t operator() ( const diff d) const
inline

The function-call operator to hash a diff node.

Parameters
dthe diff node to hash.
Returns
the hash value of d.

Definition at line 99 of file abg-comparison-priv.h.

◆ operator()() [3/3]

size_t operator() ( const diff_sptr d) const
inline

The function-call operator to hash a diff node.

Parameters
dthe diff node to hash.
Returns
the hash value of d.

Definition at line 90 of file abg-comparison-priv.h.


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