Skip to content

Conversation

ciband
Copy link
Contributor

@ciband ciband commented Sep 27, 2019

No description provided.

@mike-matera
Copy link
Owner

Can you explain what this does? How does it help to have a move function stub?

@ciband
Copy link
Contributor Author

ciband commented Oct 9, 2019

It is my understanding that the AVR compiler does not support move semantics. For programs that make use of this feature, this provides a no-op like compatibility. The function just does nothing and then most likely a copy will happen instead of a move. In my mind it was better than a compile error.

@mike-matera
Copy link
Owner

Thank you! This was effectively merged when I brought in changes from https://github.com/arduino-libraries/Arduino_AVRSTL

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.

2 participants