105 using Pred = Then<IntensityMap<Negated>, PredPost>;
107 template <
class Map,
class Node>
108 static constexpr bool apply(Pred
const& p,
Map const& m, Node
const& n)
110 if constexpr (!Map::enableDisableUtilityPresent()) {
111 if constexpr (InnerCheck<IntensityMap<Negated>>::apply(p.pre, m, n)) {
112 return InnerCheck<PredPost>::apply(p.post, m, n);
117 return !InnerCheck<IntensityMap<Negated>>::apply(p.pre, m, n) ||
118 InnerCheck<PredPost>::apply(p.post, m, n);
148 using Pred = Then<IntensityMap<Negated>, PredPost>;
150 template <
class Map,
class Node>
151 static constexpr bool apply(Pred
const& p,
Map const& m, Node
const& n)
153 if constexpr (!Map::enableDisableUtilityPresent()) {
154 if constexpr (ValueCheck<IntensityMap<Negated>>::apply(p.pre, m, n)) {
155 return ValueCheck<PredPost>::apply(p.post, m, n);
160 return !ValueCheck<IntensityMap<Negated>>::apply(p.pre, m, n) ||
161 ValueCheck<PredPost>::apply(p.post, m, n);