diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-22 18:51:49 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-22 18:51:49 -0400 |
commit | 0859b626a1eacb0e3bb598c8b33c6f9528f842c3 (patch) | |
tree | 4f0728e56c8fcca66f896a831d7d841ff2bf968d /src/mask.h | |
parent | 233289681049e2b740919eed6b12ed7db1ccf2df (diff) | |
download | fork-ledger-0859b626a1eacb0e3bb598c8b33c6f9528f842c3.tar.gz fork-ledger-0859b626a1eacb0e3bb598c8b33c6f9528f842c3.tar.bz2 fork-ledger-0859b626a1eacb0e3bb598c8b33c6f9528f842c3.zip |
Added output insertion operator for mask_t objects.
Diffstat (limited to 'src/mask.h')
-rw-r--r-- | src/mask.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |