← Back
Editing: intersection_update.hpp
#ifndef PYTHONIC_INCLUDE_BUILTIN_SET_INTERSECTIONUPDATE_HPP #define PYTHONIC_INCLUDE_BUILTIN_SET_INTERSECTIONUPDATE_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/set.hpp" PYTHONIC_NS_BEGIN namespace builtins { namespace set { template <typename T, typename... Types> types::none_type intersection_update(types::set<T> &set, Types const &... others); template <typename T, typename... Types> types::none_type intersection_update(types::set<T> &&set, Types const &... others); template <typename... Types> types::none_type intersection_update(types::empty_set &&set, Types const &... others); DEFINE_FUNCTOR(pythonic::builtins::set, intersection_update); } } PYTHONIC_NS_END #endif
Save File
Cancel