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

The comparison functor for using instances of type_or_decl_base as values in a hash map or set. More...

#include <abg-ir.h>

Public Member Functions

bool operator() (const type_or_decl_base *l, const type_or_decl_base *r) const
 The function-call operator to compare the string representations of two ABI artifacts. More...
 
bool operator() (const type_or_decl_base_sptr &l, const type_or_decl_base_sptr &r) const
 The function-call operator to compare the string representations of two ABI artifacts. More...
 

Detailed Description

The comparison functor for using instances of type_or_decl_base as values in a hash map or set.

Definition at line 507 of file abg-ir.h.

Member Function Documentation

◆ operator()() [1/2]

bool operator() ( const type_or_decl_base l,
const type_or_decl_base r 
) const
inline

The function-call operator to compare the string representations of two ABI artifacts.

Parameters
lthe left hand side ABI artifact operand of the comparison.
rthe right hand side ABI artifact operand of the comparison.
Returns
true iff the string representation of l equals the one of r.

Definition at line 522 of file abg-ir.h.

◆ operator()() [2/2]

bool operator() ( const type_or_decl_base_sptr l,
const type_or_decl_base_sptr r 
) const
inline

The function-call operator to compare the string representations of two ABI artifacts.

Parameters
lthe left hand side ABI artifact operand of the comparison.
rthe right hand side ABI artifact operand of the comparison.
Returns
true iff the string representation of l equals the one of r.

Definition at line 542 of file abg-ir.h.


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