From 3667f06594a99dd6f0080747732e7eff639343b1 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 29 Sep 2003 07:19:54 +0000 Subject: *** empty log message *** --- ledger.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ledger.h') diff --git a/ledger.h b/ledger.h index 0e261ceb..99287cc6 100644 --- a/ledger.h +++ b/ledger.h @@ -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 +std::basic_ostream & +operator<<(std::basic_ostream& out, const totals& t) { + t.print(out); + return out; +} + struct account { std::string name; -- cgit v1.2.3