Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move semantics for Nat, Interval and Division #147

Open
2 of 4 tasks
saxbophone opened this issue Mar 3, 2023 · 0 comments
Open
2 of 4 tasks

Move semantics for Nat, Interval and Division #147

saxbophone opened this issue Mar 3, 2023 · 0 comments
Labels
epic Too big for one issue alone optimisation
Milestone

Comments

@saxbophone
Copy link
Owner

saxbophone commented Mar 3, 2023

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:

@saxbophone saxbophone added this to the v0.6 milestone Mar 3, 2023
@saxbophone saxbophone added the epic Too big for one issue alone label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Too big for one issue alone optimisation
Projects
None yet
Development

No branches or pull requests

1 participant