diff --git a/Tracking/include/fpcompare.h b/Tracking/include/fpcompare.h index 6b1ca8f..fff4a4e 100644 --- a/Tracking/include/fpcompare.h +++ b/Tracking/include/fpcompare.h @@ -122,102 +122,6 @@ bool less_equal (float a, float b) } // namespace fpcompare - - -namespace fpcompare_fn { - - -struct equal - : public std::binary_function -{ - bool - operator()(double a, double b) const - { return fpcompare::equal (a, b); } -}; - - -struct equalf - : public std::binary_function -{ - bool - operator()(float a, float b) const - { return fpcompare::equal (a, b); } -}; - - -struct greater - : public std::binary_function -{ - bool - operator()(double a, double b) const - { return fpcompare::greater (a, b); } -}; - - -struct greaterf - : public std::binary_function -{ - bool - operator()(float a, float b) const - { return fpcompare::greater (a, b); } -}; - - -struct less - : public std::binary_function -{ - bool - operator()(double a, double b) const - { return fpcompare::less (a, b); } -}; - - -struct lessf - : public std::binary_function -{ - bool - operator()(float a, float b) const - { return fpcompare::less (a, b); } -}; - - -struct greater_equal - : public std::binary_function -{ - bool - operator()(double a, double b) const - { return fpcompare::greater_equal (a, b); } -}; - - -struct greater_equalf - : public std::binary_function -{ - bool - operator()(float a, float b) const - { return fpcompare::greater_equal (a, b); } -}; - - -struct less_equal - : public std::binary_function -{ - bool - operator()(double a, double b) const - { return fpcompare::less_equal (a, b); } -}; - - -struct less_equalf - : public std::binary_function -{ - bool - operator()(float a, float b) const - { return fpcompare::less_equal (a, b); } -}; - - -} // namespace fpcompare_fn } // namespace CxxUtils