7 #ifndef IGLOO_ANDEXPRESSION_H 8 #define IGLOO_ANDEXPRESSION_H 10 #include "./expression_fwd.h" 14 template<
typename LeftExpression,
typename RightExpression >
17 AndExpression(
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 << Stringize(expression.m_left) <<
" and " << Stringize(expression.m_right);
Definition: andexpression.h:15
Definition: stringize.h:71
Definition: expression.h:17