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

A comparison functor to compare pointer to instances of type_or_decl_base. More...

#include <abg-ir.h>

Public Member Functions

bool operator() (const type_or_decl_base *f, const type_or_decl_base *s)
 Comparison operator for ABI artifacts. More...
 
bool operator() (const type_or_decl_base_sptr &f, const type_or_decl_base_sptr &s)
 Comparison operator for ABI artifacts. More...
 

Detailed Description

A comparison functor to compare pointer to instances of type_or_decl_base.

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

Member Function Documentation

◆ operator()() [1/2]

bool operator() ( const type_or_decl_base f,
const type_or_decl_base s 
)
inline

Comparison operator for ABI artifacts.

Parameters
fthe first ABI artifact to consider for the comparison.
sthe second ABI artifact to consider for the comparison.
Returns
true iff f is lexicographically less than than s.

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

◆ operator()() [2/2]

bool operator() ( const type_or_decl_base_sptr f,
const type_or_decl_base_sptr s 
)
inline

Comparison operator for ABI artifacts.

Parameters
fthe first ABI artifact to consider for the comparison.
sthe second ABI artifact to consider for the comparison.
Returns
true iff f is lexicographically less than than s.

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


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