Functions |
template<class T , typename R > |
compare_members_t< T, R,
std::less< R > > | compare_members (R T::*member) |
template<class T , typename R , class Compare > |
compare_members_t< T, R, Compare > | compare_members (R T::*member, Compare compare) |
Detailed Description
The library provides basic function object classes for comparing two member variables between object instances.
Function Documentation
Used to compare members in two objects of type T
using std::less<R>
.
- Parameters:
-
member | Name of the member to compare. |
- Returns:
- An adobe::compare_members_t which can be used to make the comparison.
Definition at line 379 of file functional.hpp.
Used to compare members in two objects of type T
using a provided comparsion function object.
- Parameters:
-
member | Name of the member to compare. |
compare | ConvertibleToFunction object used for comparing the instance members. |
- Returns:
- An adobe::compare_members_t which can be used to make the comparison.
Definition at line 385 of file functional.hpp.