#include <stablesum.h>
Public Member Functions | |
StableSum () | |
StableSum (const T &init) | |
void | operator+= (const T &input) |
void | operator-= (const T &input) |
operator typename std::remove_const< T >::type () const | |
Private Attributes | |
std::remove_const< T >::type | sum |
Definition at line 35 of file stablesum.h.
StableSum | ( | ) |
Definition at line 40 of file stablesum.h.
StableSum | ( | const T & | init | ) |
Definition at line 41 of file stablesum.h.
operator typename std::remove_const< T >::type | ( | ) | const |
Definition at line 53 of file stablesum.h.
References StableSum< T >::sum.
void operator+= | ( | const T & | input | ) |
Definition at line 43 of file stablesum.h.
References StableSum< T >::sum.
void operator-= | ( | const T & | input | ) |
Definition at line 48 of file stablesum.h.
References StableSum< T >::sum.
|
private |
Definition at line 37 of file stablesum.h.
Referenced by StableSum< double >::operator double(), StableSum< T >::operator typename std::remove_const< T >::type(), StableSum< T >::operator+=(), StableSum< double >::operator+=(), and StableSum< T >::operator-=().