1 #ifndef PhysicsTools_Utilities_Ratio_h 2 #define PhysicsTools_Utilities_Ratio_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>
RatioStruct(const A &a, const B &b)
Ratio< A, B >::type operator/(const A &a, const B &b)
double operator()() const
double operator()(double x, double y) const
double operator()(double x) const
static type combine(const A &a, const B &b)