Compute Library
 22.11
AbsoluteTolerance< T > Class Template Reference

Class reprensenting an absolute tolerance value. More...

#include <Validation.h>

Public Types

using value_type = T
 Underlying type. More...
 

Public Member Functions

 AbsoluteTolerance ()=default
 
constexpr AbsoluteTolerance (T value)
 Constructor. More...
 
constexpr operator T () const
 Implicit conversion to the underlying type. More...
 

Detailed Description

template<typename T>
class arm_compute::test::validation::AbsoluteTolerance< T >

Class reprensenting an absolute tolerance value.

Definition at line 61 of file Validation.h.

Member Typedef Documentation

◆ value_type

using value_type = T

Underlying type.

Definition at line 65 of file Validation.h.

Constructor & Destructor Documentation

◆ AbsoluteTolerance() [1/2]

AbsoluteTolerance ( )
default

◆ AbsoluteTolerance() [2/2]

constexpr AbsoluteTolerance ( value)
inlineexplicit

Constructor.

Parameters
[in]valueAbsolute tolerance value.

Definition at line 77 of file Validation.h.

78  : _value{ value }
79  {
80  }

Member Function Documentation

◆ operator T()

constexpr operator T ( ) const
inline

Implicit conversion to the underlying type.

Returns
the underlying type.

Definition at line 86 of file Validation.h.

87  {
88  return _value;
89  }

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