Lines Matching refs:diffs
67 std::ostream& operator<<(std::ostream& o, const AuthorizationSetDifferences& diffs) { in operator <<() argument
68 if (!diffs.aWhackB.empty()) { in operator <<()
69 o << "Set " << diffs.aName << " contains the following that " << diffs.bName << " does not" in operator <<()
70 << diffs.aWhackB; in operator <<()
71 if (!diffs.bWhackA.empty()) o << std::endl; in operator <<()
74 if (!diffs.bWhackA.empty()) { in operator <<()
75 o << "Set " << diffs.bName << " contains the following that " << diffs.aName << " does not" in operator <<()
76 << diffs.bWhackA; in operator <<()
89 AuthorizationSetDifferences diffs = {std::move(aName), std::move(bName), {}, {}}; in difference() local
90 std::set_difference(a.begin(), a.end(), b.begin(), b.end(), std::back_inserter(diffs.aWhackB)); in difference()
91 std::set_difference(b.begin(), b.end(), a.begin(), a.end(), std::back_inserter(diffs.bWhackA)); in difference()
92 return diffs; in difference()