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

A functor to compare two instances of diff_sptr. More...

#include <abg-comparison-priv.h>

Public Member Functions

bool operator() (const diff *l, const diff *r) const
 An operator that takes two instances of diff_sptr returns true if its first operand compares less than its second operand. More...
 
bool operator() (const diff_sptr &l, const diff_sptr &r) const
 An operator that takes two instances of diff_sptr returns true if its first operand compares less than its second operand. More...
 

Detailed Description

A functor to compare two instances of diff_sptr.

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

Member Function Documentation

◆ operator()() [1/2]

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

An operator that takes two instances of diff_sptr returns true if its first operand compares less than its second operand.

Parameters
lthe first operand to consider.
rthe second operand to consider.
Returns
true if l compares less than r.

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

◆ operator()() [2/2]

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

An operator that takes two instances of diff_sptr returns true if its first operand compares less than its second operand.

Parameters
lthe first operand to consider.
rthe second operand to consider.
Returns
true if l compares less than r.

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


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