MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / operator==

Method operator==

Bcore/src/main/cpp/Dobby/tests/catch.hpp:1972–1975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1970
1971 template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
1972 friend bool operator==(const T &lhs, Approx const &rhs) {
1973 auto lhs_v = static_cast<double>(lhs);
1974 return rhs.equalityComparisonImpl(lhs_v);
1975 }
1976
1977 template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
1978 friend bool operator==(Approx const &lhs, const T &rhs) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected