7 #ifndef IGLOO_ISGREATERTHANCONSTRAINT_H 8 #define IGLOO_ISGREATERTHANCONSTRAINT_H 10 #include "./expressions/expression.h" 14 template<
typename ExpectedType >
18 : m_expected(expected)
22 template<
typename ActualType>
23 bool operator()(
const ActualType& actual)
const 25 return (actual > m_expected);
28 ExpectedType m_expected;
31 template<
typename ExpectedType >
42 template<
typename ExpectedType >
47 std::ostringstream builder;
48 builder <<
"greater than " << snowhouse::Stringize(constraint.m_expected);
Definition: stringize.h:71
Definition: expression.h:17
Definition: isgreaterthanconstraint.h:15