37 std::set<T> intersection;
39 std::set_intersection(s1.begin(),
43 std::inserter(intersection, intersection.begin()));
60 set_union(
const std::set<T> & s1,
const std::set<T> & s2) {
63 std::set_union(s1.begin(),
67 std::inserter(sunion, sunion.begin()));
85 std::set<T> difference;
87 std::set_difference(s1.begin(),
91 std::inserter(difference, difference.begin()));
std::set< T > set_union(const std::set< T > &s1, const std::set< T > &s2)
Definition: set_utils.hh:60
std::set< T > set_difference(const std::set< T > &s1, const std::set< T > &s2)
Definition: set_utils.hh:84
std::set< T > set_intersection(const std::set< T > &s1, const std::set< T > &s2)
Definition: set_utils.hh:36
Definition: control.hh:31