From 0859b626a1eacb0e3bb598c8b33c6f9528f842c3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 22 Jan 2009 18:51:49 -0400 Subject: Added output insertion operator for mask_t objects. --- src/mask.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mask.h') diff --git a/src/mask.h b/src/mask.h index f2c0e004..2779c428 100644 --- a/src/mask.h +++ b/src/mask.h @@ -63,6 +63,11 @@ public: void write(std::ostream& out) const; }; +inline std::ostream& operator<<(std::ostream& out, const mask_t& mask) { + out << mask.expr.str(); + return out; +} + } // namespace ledger #endif // _MASK_H -- cgit v1.2.3