cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
where.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_FUNCTORS_WHERE_H
4#define pRC_CORE_FUNCTORS_WHERE_H
5
8
9namespace pRC
10{
11 struct Where
12 {
13 template<class XE, class XA, class XB,
15 declval<XB>()))>> = 0>
16 constexpr decltype(auto) operator()(XE &&e, XA &&a, XB &&b) const
17 {
18 return where(forward<XE>(e), forward<XA>(a), forward<XB>(b));
19 }
20 };
21}
22#endif // pRC_CORE_FUNCTORS_WHERE_H
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static constexpr T where(TE const e, T &&a, T &&b)
Definition where.hpp:12
Definition where.hpp:12