1 #ifndef PhysicsTools_Utilities_Product_h
2 #define PhysicsTools_Utilities_Product_h
3 #include <boost/static_assert.hpp>
6 template<
typename A,
typename B>
12 operator double()
const {
19 return _1(x, y) *
_2(x, y);
25 template<
typename A,
typename B>
33 template<
typename A,
typename B>
double operator()(double x, double y) const
ProductStruct(const A &a, const B &b)
ProductStruct< A, B > type
double operator()() const
static type combine(const A &a, const B &b)
Product< A, B >::type operator*(const A &a, const B &b)
double operator()(double x) const