1 #ifndef PhysicsTools_Utilities_Sum_h
2 #define PhysicsTools_Utilities_Sum_h
4 #include <boost/static_assert.hpp>
7 template<
typename A,
typename B>
13 operator double()
const {
20 return _1(x, y) +
_2(x, y);
26 template<
typename A,
typename B>
32 template<
typename A,
typename B>
Sum< A, B >::type operator+(const A &a, const B &b)
double operator()(double x, double y) const
double operator()(double x) const
SumStruct(const A &a, const B &b)
static type combine(const A &a, const B &b)
double operator()() const