Jpp 20.0.0-rc.2
the software that should make you happy
|
Definition of unity value for any class. More...
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | JMATH::JUnityHelper< T, bool > |
Auxiliary class for obtaining unity values of a given data type. More... | |
struct | JMATH::JUnityHelper< T, true > |
Partial template specialisation for integral types. More... | |
struct | JMATH::JUnity |
Auxiliary class to assign unity value. More... | |
Namespaces | |
namespace | JMATH |
Auxiliary classes and methods for mathematical operations. | |
namespace | JPP |
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Functions | |
template<class T > | |
T | JMATH::getUnity () |
Get unity value for a given data type. | |
template<> | |
bool | JMATH::getUnity< bool > () |
Get unity value for bool . | |
template<> | |
float | JMATH::getUnity< float > () |
Get unity value for float . | |
template<> | |
double | JMATH::getUnity< double > () |
Get unity value for double . | |
template<> | |
long double | JMATH::getUnity< long double > () |
Get unity value for long double . | |
Variables | |
static const JUnity | JMATH::unity |
Function object to assign unity value. | |
Definition of unity value for any class.
Definition in file JUnity.hh.