MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / compareEqual

Function compareEqual

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

Source from the content-addressed store, hash-verified

1948 // Specialised comparison functions to handle equality comparisons between ints and pointers (NULL deduces as an int)
1949 template<typename LhsT, typename RhsT>
1950 auto compareEqual( LhsT const& lhs, RhsT const& rhs ) -> bool { return static_cast<bool>(lhs == rhs); }
1951 template<typename T>
1952 auto compareEqual( T* const& lhs, int rhs ) -> bool { return lhs == reinterpret_cast<void const*>( rhs ); }
1953 template<typename T>

Callers 1

operator ==Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected