| 2746 | |
| 2747 | template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| 2748 | friend bool operator == ( const T& lhs, Approx const& rhs ) { |
| 2749 | auto lhs_v = static_cast<double>(lhs); |
| 2750 | return rhs.equalityComparisonImpl(lhs_v); |
| 2751 | } |
| 2752 | |
| 2753 | template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| 2754 | friend bool operator == ( Approx const& lhs, const T& rhs ) { |
nothing calls this directly
no test coverage detected