Function scale

Synopsis

#include <include/internal/catch_approx.h>

template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
Approx & scale(T const &newScale)

Description

No description yet.

Mentioned in

Source

Lines 104-108 in include/internal/catch_approx.h.

template <typename T, typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
Approx& scale( T const& newScale ) {
    m_scale = static_cast<double>(newScale);
    return *this;
}





Add Discussion as Guest

Log in