diff options
author | Olivier Gayot <og@satcom1.com> | 2017-11-27 11:16:46 +0100 |
---|---|---|
committer | Olivier Gayot <og@satcom1.com> | 2017-11-27 11:17:44 +0100 |
commit | 6beca4c34506edfc51cb3fd9cd3a2e895d6932e0 (patch) | |
tree | 5603bfe4c8312b8f015f788720af0ddc948674fe /number.cpp | |
parent | 8253c06d84f35f211bc633df616a32008373bdbc (diff) |
Signed-off-by: Olivier Gayot <og@satcom1.com>
Diffstat (limited to 'number.cpp')
-rw-r--r-- | number.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -316,6 +316,14 @@ number::operator+=(const number &n) } number & +number::operator*=(const number &n) +{ + *this = *this * n; + + return *this; +} + +number & number::operator<<=(std::uint32_t n) { *this = *this << n; |