summaryrefslogtreecommitdiff
path: root/number.h
diff options
context:
space:
mode:
Diffstat (limited to 'number.h')
-rw-r--r--number.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/number.h b/number.h
index c508a81..ca5075e 100644
--- a/number.h
+++ b/number.h
@@ -9,6 +9,13 @@ public:
number() = default;
/**
+ * \brief Return the result of the addition of a number and this number.
+ *
+ * \param n The number to add to this number.
+ */
+ number operator+(const number &n) const;
+
+ /**
* \brief Tells whether the number passed as parameter is strictly less
* than this number.
*