7 #ifndef IGLOO_ISLESSTHANCONSTRAINT_H 8 #define IGLOO_ISLESSTHANCONSTRAINT_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 <<
"less than " << snowhouse::Stringize(constraint.m_expected);
Definition: islessthanconstraint.h:15
Definition: stringize.h:71
Definition: expression.h:17