Skip to content

Conversation

marcuschangarm
Copy link
Contributor

Destructor is necessary to achieve low power on the Wearable Reference Design.

@marcuschangarm
Copy link
Contributor Author

@0xc0170

@autopulated
Copy link
Contributor

Please consider whether this means this class should be implementing other operators too: cf. rule of 3/5: https://en.wikipedia.org/wiki/Rule_of_three_(C%2B%2B_programming)

@marcuschangarm
Copy link
Contributor Author

@autopulated Yes, both the copy and assignment operator should be implemented.

@bremoran
Copy link
Collaborator

Other operators can come later. This is basic functionality that is required.

@bremoran
Copy link
Collaborator

With this change, we should explicitly delete the copy and move constructors, the copy and move assignment operators.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants