Jpp 20.0.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JMATH::JUnityHelper< T, true > Struct Template Reference

Partial template specialisation for integral types. More...

#include <JUnity.hh>

Static Public Member Functions

static T getUnity ()
 Get unity value.
 

Detailed Description

template<class T>
struct JMATH::JUnityHelper< T, true >

Partial template specialisation for integral types.

Definition at line 45 of file JUnity.hh.

Member Function Documentation

◆ getUnity()

template<class T >
static T JMATH::JUnityHelper< T, true >::getUnity ( )
inlinestatic

Get unity value.

Returns
unity

Definition at line 52 of file JUnity.hh.

53 {
54 return T(1);
55 }

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