summaryrefslogtreecommitdiffstats
path: root/contrib/python/pythran/pythran/pythonic/include/operator_/concat.hpp
blob: b4e5979e698fa061f7dbc0af0f8fe1ef34aff96a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef PYTHONIC_INCLUDE_OPERATOR_CONCAT_HPP
#define PYTHONIC_INCLUDE_OPERATOR_CONCAT_HPP

#include "pythonic/include/utils/functor.hpp"

PYTHONIC_NS_BEGIN

namespace operator_
{

  template <class A, class B>
  auto concat(A &&a, B &&b)
      -> decltype(std::forward<A>(a) + std::forward<B>(b));

  DEFINE_FUNCTOR(pythonic::operator_, concat);
}
PYTHONIC_NS_END

#endif