Added output insertion operator for mask_t objects.
This commit is contained in:
parent
2332896810
commit
0859b626a1
1 changed files with 5 additions and 0 deletions
|
|
@ -63,6 +63,11 @@ public:
|
||||||
void write(std::ostream& out) const;
|
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
|
} // namespace ledger
|
||||||
|
|
||||||
#endif // _MASK_H
|
#endif // _MASK_H
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue