%PDF- %PDF-
| Direktori : /proc/thread-self/root/usr/lib/python3/dist-packages/pythran/pythonic/include/builtins/set/ |
| Current File : //proc/thread-self/root/usr/lib/python3/dist-packages/pythran/pythonic/include/builtins/set/add.hpp |
#ifndef PYTHONIC_INCLUDE_BUILTIN_SET_ADD_HPP
#define PYTHONIC_INCLUDE_BUILTIN_SET_ADD_HPP
#include "pythonic/include/types/set.hpp"
#include "pythonic/include/types/NoneType.hpp"
#include "pythonic/include/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace builtins
{
namespace set
{
template <class T, class F>
types::none_type add(types::set<T> &s, F const &value);
template <class T, class F>
types::none_type add(types::set<T> &&s, F const &value);
template <class F>
types::none_type add(types::empty_set const &s, F &&value);
DEFINE_FUNCTOR(pythonic::builtins::set, add);
}
}
PYTHONIC_NS_END
#endif