#ifndef PYTHONIC_OPERATOR_ICONCAT_HPP #define PYTHONIC_OPERATOR_ICONCAT_HPP #include "pythonic/include/operator_/iconcat.hpp" #include "pythonic/utils/functor.hpp" #include "pythonic/types/list.hpp" #include "pythonic/types/set.hpp" #include "pythonic/types/dict.hpp" PYTHONIC_NS_BEGIN namespace operator_ { template A iconcat(A a, B const &b) { return a += b; } template auto iconcat(types::empty_list a, types::list b) -> decltype(b) { return b; } template auto iconcat(types::empty_dict a, types::dict b) -> decltype(b) { return b; } template auto iconcat(types::empty_set a, types::set b) -> decltype(b) { return b; } } PYTHONIC_NS_END #endif