-
Notifications
You must be signed in to change notification settings - Fork 129
/
Copy pathexpr.inl
29 lines (22 loc) · 789 Bytes
/
expr.inl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Copyright (C) 2016 Povilas Kanapickas <povilas@radix.lt>
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef LIBSIMDPP_SIMD_TYPES_GENERIC_INL
#define LIBSIMDPP_SIMD_TYPES_GENERIC_INL
#include <simdpp/setup_arch.h>
#include <simdpp/expr.h>
#include <simdpp/detail/expr/scalar.h>
#include <simdpp/detail/expr/test_bits.h>
#include <simdpp/detail/expr/vec.h>
namespace simdpp {
namespace SIMDPP_ARCH_NAMESPACE {
namespace detail {
template<class R, class E> struct expr_eval_wrapper {
static SIMDPP_INL R eval(const E& e) { return expr_eval<R, E>::eval(e); }
};
} // namespace detail
} // namespace SIMDPP_ARCH_NAMESPACE
} // namespace simdpp
#endif