A numeric class for a number that is always zero.
|
Classes |
struct | Zero< T > |
| The point of this class is to be a number of type T which is known at compile time to be zero. More...
|
struct | BinaryReturn< Zero< T >, T, OpMultiply > |
struct | BinaryReturn< T, Zero< T >, OpMultiply > |
struct | BinaryReturn< Zero< T >, Zero< T >, OpMultiply > |
struct | BinaryReturn< Zero< T >, T, OpDivide > |
struct | BinaryReturn< Zero< T >, T, OpAdd > |
struct | BinaryReturn< T, Zero< T >, OpAdd > |
struct | BinaryReturn< Zero< T >, Zero< T >, OpAdd > |
struct | BinaryReturn< Zero< T >, T, OpSubtract > |
struct | BinaryReturn< T, Zero< T >, OpSubtract > |
struct | BinaryReturn< Zero< T >, Zero< T >, OpSubtract > |
struct | UnaryReturn< Zero< T >, OpUnaryMinus > |
struct | UnaryReturn< Zero< T >, OpUnaryPlus > |
struct | BinaryReturn< Zero< T1 >, Zero< T2 >, Op > |
struct | BinaryReturn< Zero< T1 >, Zero< T2 >, OpEQ > |
Functions |
template<class T > |
Zero< T > | operator* (Zero< T >, const T &) |
template<class T > |
Zero< T > | operator* (const T &, Zero< T >) |
template<class T > |
Zero< T > | operator* (Zero< T >, Zero< T >) |
template<class T > |
Zero< T > | operator/ (Zero< T >, const T &) |
template<class T > |
const T & | operator+ (Zero< T >, const T &x) |
template<class T > |
const T & | operator+ (const T &x, Zero< T >) |
template<class T > |
Zero< T > | operator+ (Zero< T >, Zero< T >) |
template<class T > |
T | operator- (Zero< T >, const T &x) |
template<class T > |
const T & | operator- (const T &x, Zero< T >) |
template<class T > |
Zero< T > | operator- (Zero< T >, Zero< T >) |
template<class T > |
Zero< T > | operator- (Zero< T >) |
template<class T > |
Zero< T > | operator+ (Zero< T >) |
A numeric class for a number that is always zero.