7 #ifndef IGLOO_OREXPRESSION_H 8 #define IGLOO_OREXPRESSION_H 10 #include "./expression_fwd.h" 14 template<
typename LeftExpression,
typename RightExpression >
17 OrExpression(
const LeftExpression& left,
const RightExpression& right)
23 template<
typename ActualType >
24 bool operator()(
const ActualType& actual)
const 26 return (m_left(actual) || m_right(actual));
29 LeftExpression m_left;
30 RightExpression m_right;
33 template<
typename LeftExpression,
typename RightExpression >
38 std::ostringstream builder;
39 builder << snowhouse::Stringize(expression.m_left) <<
" or " << snowhouse::Stringize(expression.m_right);
Definition: orexpression.h:15
Definition: stringize.h:71
Definition: expression.h:17