#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 25 of file stablesum.h.
StableSum | ( | ) |
Definition at line 30 of file stablesum.h.
StableSum | ( | const T & | init | ) |
Definition at line 31 of file stablesum.h.
operator typename std::remove_const< T >::type | ( | ) | const |
Definition at line 43 of file stablesum.h.
References StableSum< T >::sum.
void operator+= | ( | const T & | input | ) |
Definition at line 33 of file stablesum.h.
void operator-= | ( | const T & | input | ) |
Definition at line 38 of file stablesum.h.
|
private |
Definition at line 27 of file stablesum.h.
Referenced by StableSum< T >::operator typename std::remove_const< T >::type(), and StableSum< double >::operator+=().