Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
Public Member Functions | List of all members
JMATH::JUnity Struct Reference

Auxiliary class to assign unity value. More...

#include <JUnity.hh>

Public Member Functions

 JUnity ()
 Default constructor.
 
template<class T >
 operator T () const
 Type conversion operator.
 

Detailed Description

Auxiliary class to assign unity value.

Definition at line 124 of file JUnity.hh.

Constructor & Destructor Documentation

◆ JUnity()

JMATH::JUnity::JUnity ( )
inline

Default constructor.

Definition at line 128 of file JUnity.hh.

129 {}

Member Function Documentation

◆ 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 {
140 return getUnity<T>();
141 }

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