-
Notifications
You must be signed in to change notification settings - Fork 35
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
Tidy headers #1534
Tidy headers #1534
Conversation
Test summary 3 882 files 5 991 suites 4m 12s ⏱️ Results for commit 00ccf65. ♻️ This comment has been updated with latest results. |
@esseivaju This is great, but before you go any further can you turn off the "operator= signature" and "missing std::forward" since those are always going to generate new warnings for correct code? |
I'll turn these off, out of curiosity, what's the advantage of passing a function object by forwarding reference instead of constructing referenced if we need to call it multiple times? |
@esseivaju The problem is that if you've got a functor that has a mutable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all that (hopefully not too tedious) work!
@sethrj That's what it takes to tidy the headers, 90% of it is just the rule of 5, missing std::forward on function objects passed as universal reference, and override/final annotations.