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

Functor that compares two function parameters for the purpose of sorting them. More...

#include <abg-comparison-priv.h>

Public Member Functions

bool operator() (const function_decl::parameter &l, const function_decl::parameter &r)
 Returns true iff the index of the first parameter is smaller than the of the second parameter. More...
 
bool operator() (const function_decl::parameter_sptr &l, const function_decl::parameter_sptr &r)
 Returns true iff the index of the first parameter is smaller than the of the second parameter. More...
 

Detailed Description

Functor that compares two function parameters for the purpose of sorting them.

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

Member Function Documentation

◆ operator()() [1/2]

bool operator() ( const function_decl::parameter l,
const function_decl::parameter r 
)
inline

Returns true iff the index of the first parameter is smaller than the of the second parameter.

Parameters
lthe first parameter to compare.
rthe second parameter to compare.
Returns
true iff the index of the first parameter is smaller than the of the second parameter.

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

◆ operator()() [2/2]

bool operator() ( const function_decl::parameter_sptr l,
const function_decl::parameter_sptr r 
)
inline

Returns true iff the index of the first parameter is smaller than the of the second parameter.

Parameters
lthe first parameter to compare.
rthe second parameter to compare.
Returns
true iff the index of the first parameter is smaller than the of the second parameter.

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


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