Auxiliary class to assign unity value.
More...
#include <JUnity.hh>
|
| JUnity () |
| Default constructor.
|
|
template<class T > |
| operator T () const |
| Type conversion operator.
|
|
Auxiliary class to assign unity value.
Definition at line 124 of file JUnity.hh.
◆ JUnity()
JMATH::JUnity::JUnity |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 128 of file JUnity.hh.
◆ operator T()
template<class T >
JMATH::JUnity::operator T |
( |
| ) |
const |
|
inline |
Type conversion operator.
- Returns
- unity
Definition at line 138 of file JUnity.hh.
139 {
141 }
T getUnity()
Get unity value for a given data type.
The documentation for this struct was generated from the following file: