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 968 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 980 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 994 of file abg-comparison-priv.h.


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