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

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

#include <abg-comparison-priv.h>

Public Member Functions

bool operator() (const diff &d1, const diff &d2) const
 The function-call operator to compare two diff nodes. More...
 
bool operator() (const diff *d1, const diff *d2) const
 The function-call operator to compare two diff nodes. More...
 
bool operator() (const diff_sptr &d1, const diff_sptr &d2) const
 The function-call operator to compare two diff nodes. More...
 

Detailed Description

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

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

Member Function Documentation

◆ operator()() [1/3]

bool operator() ( const diff d1,
const diff d2 
) const
inline

The function-call operator to compare two diff nodes.

Parameters
d1the first diff node involved in the comparison.
d2the second diff node involved in the comparison.
Returns
true iff d1 equals d2.

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

◆ operator()() [2/3]

bool operator() ( const diff d1,
const diff d2 
) const
inline

The function-call operator to compare two diff nodes.

Parameters
d1the first diff node involved in the comparison.
d2the second diff node involved in the comparison.
Returns
true iff d1 equals d2.

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

◆ operator()() [3/3]

bool operator() ( const diff_sptr d1,
const diff_sptr d2 
) const
inline

The function-call operator to compare two diff nodes.

Parameters
d1the first diff node involved in the comparison.
d2the second diff node involved in the comparison.
Returns
true iff d1 equals d2.

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


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