1 #ifndef PhysicsTools_Utilities_Ratio_h 2 #define PhysicsTools_Utilities_Ratio_h 3 #include <boost/static_assert.hpp> 6 template <
typename A,
typename B>
10 operator double()
const {
return _1() /
_2(); }
17 template <
typename A,
typename B>
23 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)