summaryrefslogtreecommitdiff
path: root/number.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'number.cpp')
-rw-r--r--number.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/number.cpp b/number.cpp
index 26b0ed2..acd60fd 100644
--- a/number.cpp
+++ b/number.cpp
@@ -145,3 +145,9 @@ number::operator!=(const number &n) const
}
/* }}} */
+
+std::ostream &
+operator<<(std::ostream &os, const number &n)
+{
+ return os << n.to_hex_string();
+}