Leosac
0.8.0
Open Source Access Control
|
Compares 2 UserGroupMembership object. More...
#include <UserGroupMembership.hpp>
Public Member Functions | |
bool | operator() (const UserGroupMembershipPtr &m1, const UserGroupMembershipPtr &m2) const |
Compares 2 UserGroupMembership object.
If the user
and group
attribute of any of the compared memberships is not yet persisted, we fallback on object's address comparison.
Definition at line 89 of file UserGroupMembership.hpp.
bool UserGroupMembershipComparator::operator() | ( | const UserGroupMembershipPtr & | m1, |
const UserGroupMembershipPtr & | m2 | ||
) | const |
Definition at line 87 of file UserGroupMembership.cpp.