saxbophone / arby

Arbitrary precision arithmetic in C++, even at compile-time
https://saxbophone.com/arby/
Mozilla Public License 2.0
8 stars 1 forks source link

Move semantics for Nat, Interval and Division #147

Open saxbophone opened 1 year ago

saxbophone commented 1 year ago

Create move constructor and move assignment operator for Nat. I think we will not need to create them manually for Nat itself, nor for Interval or Division because all of these satisfy the requirements for generating implicit move constructors for them. However, to support this, we need to make sure the type used to store digits does have a move constructor/assignment operator.

Prerequisites: