cMHN
1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
pRC
prc
core
functors
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
6
#include <
prc/core/basic/basics.hpp
>
7
#include <
prc/core/basic/functions/where.hpp
>
8
9
namespace
pRC
10
{
11
struct
Where
12
{
13
template
<
class
XE,
class
XA,
class
XB>
14
requires
requires
{
15
where
(declval<XE>(), declval<XA>(), declval<XB>());
16
}
17
constexpr
decltype
(
auto
)
operator
()(XE &&e, XA &&a, XB &&b)
const
18
{
19
return
where
(forward<XE>(e), forward<XA>(a), forward<XB>(b));
20
}
21
};
22
}
23
#endif
// pRC_CORE_FUNCTORS_WHERE_H
where.hpp
basics.hpp
pRC
Definition
cholesky.hpp:10
pRC::where
static constexpr decltype(auto) where(TE const e, XA &&a, XB &&b)
Definition
where.hpp:11
pRC::Where
Definition
where.hpp:12
Generated by
1.11.0