cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
eval.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_COMPLEX_FUNCTIONS_EVAL_H
4#define pRC_CORE_COMPLEX_FUNCTIONS_EVAL_H
5
7
8namespace pRC
9{
10 template<class X>
11 requires IsComplex<RemoveReference<X>>
12 static inline constexpr decltype(auto) eval(X &&a)
13 {
14 return as(forward<X>(a));
15 }
16}
17#endif // pRC_CORE_COMPLEX_FUNCTIONS_EVAL_H
Definition cholesky.hpp:10
static constexpr RemoveConst< X > as(X &&a)
Definition basics.hpp:83
static constexpr decltype(auto) eval(X &&a)
Definition eval.hpp:12