diff options
-rw-r--r-- | number.cpp | 4 | ||||
-rw-r--r-- | number.h | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -2,6 +2,10 @@ #include <sstream> #include "number.h" +number::number(std::uint32_t n): + _operands{n} +{ } + /* Type Conversion {{{ */ std::string @@ -8,6 +8,10 @@ class number { public: number() = default; + number(const number &) = default; + number(number &&) = default; + + number(std::uint32_t); /** * \brief Return a hexadecimal string representation of this number. |