19#ifndef itkBinaryOperationConcept_h
20#define itkBinaryOperationConcept_h
26namespace itk::Details::op
40struct BinaryOperationConcept
47struct Plus : BinaryOperationConcept
49 template <
typename T1,
typename T2>
50 static typename mpl::PromoteType<T1, T2>::Type
51 Apply(T1
const & lhs, T2
const & rhs)
61struct Sub : BinaryOperationConcept
63 template <
typename T1,
typename T2>
64 static typename mpl::PromoteType<T1, T2>::Type
65 Apply(T1
const & lhs, T2
const & rhs)
75struct Mult : BinaryOperationConcept
77 template <
typename T1,
typename T2>
78 static typename mpl::PromoteType<T1, T2>::Type
79 Apply(T1
const & lhs, T2
const & rhs)
89struct Div : BinaryOperationConcept
91 template <
typename T1,
typename T2>
92 static typename mpl::PromoteType<T1, T2>::Type
93 Apply(T1
const & lhs, T2
const & rhs)