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