Leosac  0.8.0
Open Source Access Control
Leosac::Auth::UserGroupMembershipComparator Struct Reference

Compares 2 UserGroupMembership object. More...

#include <UserGroupMembership.hpp>

Public Member Functions

bool operator() (const UserGroupMembershipPtr &m1, const UserGroupMembershipPtr &m2) const
 

Detailed Description

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.

Member Function Documentation

◆ operator()()

bool UserGroupMembershipComparator::operator() ( const UserGroupMembershipPtr m1,
const UserGroupMembershipPtr m2 
) const

Definition at line 87 of file UserGroupMembership.cpp.


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