コード例 #1
0
ファイル: intersection_update.hpp プロジェクト: hainm/pythran
 types::none_type intersection_update(types::set<T> &set,
                                      Types const &... others)
 {
   set.intersection_update(others...);
   return {};
 }
コード例 #2
0
ファイル: union_.hpp プロジェクト: yuancheng2013/pythran
 types::set<T> union_(types::set<T> const& set, Types const&... others){
     return set.union_(others...);
 }
コード例 #3
0
ファイル: difference_update.hpp プロジェクト: LuisBL/pythran
 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
ファイル: issuperset.hpp プロジェクト: yuancheng2013/pythran
 bool issuperset(types::set<T> const& set, types::set<U> const& other){
     return set.issuperset(other);
 }
コード例 #6
0
ファイル: add.hpp プロジェクト: OnlySang/pythran
 void add(types::set<T> &s, F const& value) {
     s.add(value);
 }
コード例 #7
0
void symmetric_difference_update(types::set<T> &set, U const &other)
{
    set.symmetric_difference_update(other);
}
コード例 #8
0
 typename __combined<types::set<T>, U>::type
 symmetric_difference(types::set<T> const &set, U const &other)
 {
   return set.symmetric_difference(other);
 }
コード例 #9
0
ファイル: intersection.hpp プロジェクト: decabyte/pythran
typename __combined<types::set<T>, Types...>::type
intersection(types::set<T> const &set, Types const &... others)
{
    return set.intersection(others...);
}
コード例 #10
0
ファイル: discard.hpp プロジェクト: coyotte508/pythran
 void discard(types::set<T> & set, U const& elem)
 {
     set.discard(elem);
 }
コード例 #11
0
ファイル: isdisjoint.hpp プロジェクト: artas360/pythran
 bool isdisjoint(types::set<T> const &calling_set, U const &arg_set)
 {
   return calling_set.isdisjoint(arg_set);
 }
コード例 #12
0
ファイル: issubset.hpp プロジェクト: hljhttp/pythran
 bool issubset(types::set<T> const &set, U const &other)
 {
   return set.issubset(other);
 }
コード例 #13
0
ファイル: difference.hpp プロジェクト: OnlySang/pythran
 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...);
 }