Lines Matching refs:diffs
81 std::ostream& operator<<(std::ostream& o, const AuthorizationSetDifferences& diffs) { in operator <<() argument
82 if (!diffs.aWhackB.empty()) { in operator <<()
83 o << "Set " << diffs.aName << " contains the following that " << diffs.bName << " does not" in operator <<()
84 << diffs.aWhackB; in operator <<()
85 if (!diffs.bWhackA.empty()) o << std::endl; in operator <<()
88 if (!diffs.bWhackA.empty()) { in operator <<()
89 o << "Set " << diffs.bName << " contains the following that " << diffs.aName << " does not" in operator <<()
90 << diffs.bWhackA; in operator <<()
103 AuthorizationSetDifferences diffs = {std::move(aName), std::move(bName), {}, {}}; in difference() local
104 std::set_difference(a.begin(), a.end(), b.begin(), b.end(), std::back_inserter(diffs.aWhackB)); in difference()
105 std::set_difference(b.begin(), b.end(), a.begin(), a.end(), std::back_inserter(diffs.bWhackA)); in difference()
106 return diffs; in difference()