Beispiel #1
0
 types::none_type intersection_update(types::set<T> &set,
                                      Types const &... others)
 {
   set.intersection_update(others...);
   return {};
 }
Beispiel #2
0
 types::set<T> union_(types::set<T> const& set, Types const&... others){
     return set.union_(others...);
 }
Beispiel #3
0
 types::none_type difference_update(types::set<T> &set,
                                    Types const &... others)
 {
   set.difference_update(others...);
   return {};
 }
 types::none_type symmetric_difference_update(types::set<T> &set,
                                              U const &other)
 {
   set.symmetric_difference_update(other);
   return {};
 }
Beispiel #5
0
 bool issuperset(types::set<T> const& set, types::set<U> const& other){
     return set.issuperset(other);
 }
Beispiel #6
0
 void add(types::set<T> &s, F const& value) {
     s.add(value);
 }
void symmetric_difference_update(types::set<T> &set, U const &other)
{
    set.symmetric_difference_update(other);
}
 typename __combined<types::set<T>, U>::type
 symmetric_difference(types::set<T> const &set, U const &other)
 {
   return set.symmetric_difference(other);
 }
Beispiel #9
0
typename __combined<types::set<T>, Types...>::type
intersection(types::set<T> const &set, Types const &... others)
{
    return set.intersection(others...);
}
Beispiel #10
0
 void discard(types::set<T> & set, U const& elem)
 {
     set.discard(elem);
 }
Beispiel #11
0
 bool isdisjoint(types::set<T> const &calling_set, U const &arg_set)
 {
   return calling_set.isdisjoint(arg_set);
 }
Beispiel #12
0
 bool issubset(types::set<T> const &set, U const &other)
 {
   return set.issubset(other);
 }
Beispiel #13
0
 types::set<T> difference(types::set<T> const& set, Types const&... others){
     return set.difference(others...);
 }
Beispiel #14
0
 void difference_update(types::set<T> &set, Types const &... others)
 {
   set.difference_update(others...);
 }