MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / operator ==

Method operator ==

extlibs/catch/include/catch/catch.hpp:3059–3062  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3057
3058 template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
3059 friend bool operator == ( const T& lhs, Approx const& rhs ) {
3060 auto lhs_v = static_cast<double>(lhs);
3061 return rhs.equalityComparisonImpl(lhs_v);
3062 }
3063
3064 template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
3065 friend bool operator == ( Approx const& lhs, const T& rhs ) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected