MCPcopy Create free account
hub / github.com/apache/trafficserver / operator ==

Method operator ==

lib/catch2/catch.hpp:3109–3112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3107
3108 template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
3109 friend bool operator == ( const T& lhs, Approx const& rhs ) {
3110 auto lhs_v = static_cast<double>(lhs);
3111 return rhs.equalityComparisonImpl(lhs_v);
3112 }
3113
3114 template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
3115 friend bool operator == ( Approx const& lhs, const T& rhs ) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected