Class Approx
Defined in File catch.hpp
Class Documentation
-
class Approx
Public Functions
-
explicit Approx(double value)
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline Approx operator()(T const &value) const
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline explicit Approx(T const &value)
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline Approx &epsilon(T const &newEpsilon)
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline Approx &margin(T const &newMargin)
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline Approx &scale(T const &newScale)
-
std::string toString() const
Friends
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline friend bool operator==(const T &lhs, Approx const &rhs)
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline friend bool operator==(Approx const &lhs, const T &rhs)
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline friend bool operator!=(T const &lhs, Approx const &rhs)
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline friend bool operator!=(Approx const &lhs, T const &rhs)
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline friend bool operator<=(T const &lhs, Approx const &rhs)
-
template<typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
inline friend bool operator<=(Approx const &lhs, T const &rhs)
-
explicit Approx(double value)