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

String move constructor and assignment copy instead of move #146

Closed
leg0 opened this issue Apr 20, 2021 · 0 comments
Closed

String move constructor and assignment copy instead of move #146

leg0 opened this issue Apr 20, 2021 · 0 comments

Comments

@leg0
Copy link
Contributor

leg0 commented Apr 20, 2021

The String::String(String&&) and String::operator=(String&&) do not perform expected operation i.e. they don't move, but instead they copy.

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

No branches or pull requests

1 participant