types::none_type intersection_update(types::set<T> &set,
                                      Types const &... others)
 {
   set.intersection_update(others...);
   return {};
 }
Exemple #2
0
 types::set<T> union_(types::set<T> const& set, Types const&... others){
     return set.union_(others...);
 }
Exemple #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 {};
 }
Exemple #5
0
 bool issuperset(types::set<T> const& set, types::set<U> const& other){
     return set.issuperset(other);
 }
Exemple #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);
 }
Exemple #9
0
typename __combined<types::set<T>, Types...>::type
intersection(types::set<T> const &set, Types const &... others)
{
    return set.intersection(others...);
}
Exemple #10
0
 void discard(types::set<T> & set, U const& elem)
 {
     set.discard(elem);
 }
Exemple #11
0
 bool isdisjoint(types::set<T> const &calling_set, U const &arg_set)
 {
   return calling_set.isdisjoint(arg_set);
 }
Exemple #12
0
 bool issubset(types::set<T> const &set, U const &other)
 {
   return set.issubset(other);
 }
Exemple #13
0
 types::set<T> difference(types::set<T> const& set, Types const&... others){
     return set.difference(others...);
 }
 void difference_update(types::set<T> &set, Types const &... others)
 {
   set.difference_update(others...);
 }