mgcpp
A C++ Math Library Based on CUDA
tie_expr.hpp
Go to the documentation of this file.
1 #ifndef TIE_EXPR_HPP
2 #define TIE_EXPR_HPP
3 
5 
6 namespace mgcpp {
7 
8 template <typename Expr>
9 struct tie_expr : public expression<Expr> {};
10 
11 struct tie_op_type;
12 
13 template <typename... Exprs>
14 using tie_op = generic_expr<tie_op_type,
15  0,
16  tie_expr,
17  std::tuple<typename Exprs::result_type...>,
18  0,
19  Exprs...>;
20 
21 template <typename... Exprs>
22 inline tie_op<Exprs...> tie(Exprs const&... exprs);
23 
24 } // namespace mgcpp
25 
27 #endif // TIE_EXPR_HPP
Definition: tie_expr.hpp:9
Definition: adapter_base.hpp:12
Definition: expression.hpp:18
Definition: forward.hpp:25
tie_op< Exprs... > tie(Exprs const &... exprs)