Function operator-

Synopsis

#include <include/internal/catch_approx.h>

Approx operator-() const

Description

No description yet.

Source

Lines 39-43 in include/internal/catch_approx.cpp. Line 33 in include/internal/catch_approx.h.

Approx Approx::operator-() const {
    auto temp(*this);
    temp.m_value = -temp.m_value;
    return temp;
}





Add Discussion as Guest

Log in