MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / operator ==

Method operator ==

tests/catch.hpp:2748–2751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 ) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected