19 #ifndef itkBinaryOperationConcept_h
20 #define itkBinaryOperationConcept_h
43 struct BinaryOperationConcept
50 struct Plus : BinaryOperationConcept
52 template <
typename T1,
typename T2>
53 static typename mpl::PromoteType<T1, T2>::Type
54 Apply(T1
const & lhs, T2
const & rhs)
64 struct Sub : BinaryOperationConcept
66 template <
typename T1,
typename T2>
67 static typename mpl::PromoteType<T1, T2>::Type
68 Apply(T1
const & lhs, T2
const & rhs)
78 struct Mult : BinaryOperationConcept
80 template <
typename T1,
typename T2>
81 static typename mpl::PromoteType<T1, T2>::Type
82 Apply(T1
const & lhs, T2
const & rhs)
92 struct Div : BinaryOperationConcept
94 template <
typename T1,
typename T2>
95 static typename mpl::PromoteType<T1, T2>::Type
96 Apply(T1
const & lhs, T2
const & rhs)
107 #endif // itkBinaryOperationConcept_h