diff options
author | John Wiegley <johnw@newartisans.com> | 2003-09-29 07:19:54 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2003-09-29 07:19:54 +0000 |
commit | 3667f06594a99dd6f0080747732e7eff639343b1 (patch) | |
tree | 246eb9daa91831e19ff43844325f7e38797cde7b /ledger.h | |
parent | faaed980ea63fcac773859680a68a82e96c7fdc8 (diff) | |
download | fork-ledger-3667f06594a99dd6f0080747732e7eff639343b1.tar.gz fork-ledger-3667f06594a99dd6f0080747732e7eff639343b1.tar.bz2 fork-ledger-3667f06594a99dd6f0080747732e7eff639343b1.zip |
*** empty log message ***
Diffstat (limited to 'ledger.h')
-rw-r--r-- | ledger.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,5 @@ #ifndef _LEDGER_H -#define _LEDGER_H "$Revision: 1.1 $" +#define _LEDGER_H "$Revision: 1.2 $" ////////////////////////////////////////////////////////////////////// // @@ -210,6 +210,13 @@ class totals } }; +template<class Traits> +std::basic_ostream<char, Traits> & +operator<<(std::basic_ostream<char, Traits>& out, const totals& t) { + t.print(out); + return out; +} + struct account { std::string name; |