HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
test::error< ErrorClass > Struct Template Reference

#include <hikotest/hikotest.hpp>

Public Member Functions

constexpr double operator+ () const noexcept
 Get the error value as a positive number.
 
constexpr double operator- () const noexcept
 Get the error value as a negative number.
 

Data Fields

double v = 0.0
 

Detailed Description

template<error_class ErrorClass = error_class::exact>
struct test::error< ErrorClass >

The comparison error.

The comparison error will apear on the right side of the spaceship operator.

This error will bind to the right hand side operand of a comparison.

Member Function Documentation

◆ operator+()

template<error_class ErrorClass = error_class::exact>
constexpr double test::error< ErrorClass >::operator+ ( ) const
inlineconstexprnoexcept

Get the error value as a positive number.

◆ operator-()

template<error_class ErrorClass = error_class::exact>
constexpr double test::error< ErrorClass >::operator- ( ) const
inlineconstexprnoexcept

Get the error value as a negative number.


The documentation for this struct was generated from the following file: