cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
not_fn.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_FUNCTORS_NOT_FN_H
4#define pRC_CORE_FUNCTORS_NOT_FN_H
5
8
9namespace pRC
10{
11 template<class F>
12 struct NotFn
13 {
14 template<class... Xs,
16 constexpr decltype(auto) operator()(Xs &&...args) const
17 {
18 return LogicalNot()(F()(forward<Xs>(args)...));
19 }
20 };
21}
22#endif // pRC_CORE_FUNCTORS_NOT_FN_H
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
Definition logical_not.hpp:11
Definition not_fn.hpp:13