Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JMATH::JZero Struct Reference

Auxiliary class to assign zero value. More...

#include <JZero.hh>

Public Member Functions

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

Detailed Description

Auxiliary class to assign zero value.

Definition at line 81 of file JZero.hh.

Constructor & Destructor Documentation

◆ JZero()

JMATH::JZero::JZero ( )
inline

Default constructor.

Definition at line 85 of file JZero.hh.

86 {}

Member Function Documentation

◆ operator T()

template<class T >
JMATH::JZero::operator T ( ) const
inline

Type conversion operator.

Returns
zero

Definition at line 95 of file JZero.hh.

96 {
97 return getZero<T>();
98 }
T getZero()
Get zero value for a given data type.
Definition JZero.hh:26

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