19 #ifndef itkBinaryOperationConcept_h
20 #define itkBinaryOperationConcept_h
40 struct BinaryOperationConcept { };
46 struct Plus : BinaryOperationConcept
48 template <
typename T1,
typename T2>
49 static typename mpl::PromoteType<T1, T2>::Type Apply(T1
const& lhs, T2
const& rhs) ITK_NOEXCEPT
57 struct Sub : BinaryOperationConcept
59 template <
typename T1,
typename T2>
60 static typename mpl::PromoteType<T1, T2>::Type Apply(T1
const& lhs, T2
const& rhs) ITK_NOEXCEPT
68 struct Mult : BinaryOperationConcept
70 template <
typename T1,
typename T2>
71 static typename mpl::PromoteType<T1, T2>::Type Apply(T1
const& lhs, T2
const& rhs) ITK_NOEXCEPT
79 struct Div : BinaryOperationConcept
81 template <
typename T1,
typename T2>
82 static typename mpl::PromoteType<T1, T2>::Type Apply(T1
const& lhs, T2
const& rhs) ITK_NOEXCEPT
91 #endif // itkBinaryOperationConcept_h