MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / Approx

Method Approx

unittests/catch.hpp:2082–2083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2080
2081 template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
2082 explicit Approx( T const& value ): Approx(static_cast<double>(value))
2083 {}
2084
2085 template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
2086 friend bool operator == ( const T& lhs, Approx const& rhs ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected