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

Fast forwarding to class fields #61

Open
uselessgoddess opened this issue Jul 17, 2021 · 0 comments
Open

Fast forwarding to class fields #61

uselessgoddess opened this issue Jul 17, 2021 · 0 comments
Labels
enhancement New feature or request performance This can be done faster

Comments

@uselessgoddess
Copy link
Member

use std::move for forward std::string (and other big [not fundamental] types)

  constructor(std::string string)
      : field(std::move(string)) 
@uselessgoddess uselessgoddess added enhancement New feature or request performance This can be done faster labels Jul 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance This can be done faster
Projects
None yet
Development

No branches or pull requests

1 participant