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