We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const
struct C { int Get() { return 1; } int Get() const { return 2; } }; int F() { C c; // extract method begin return c.Get(); // extract method end }
The text was updated successfully, but these errors were encountered:
5.3 says "Paste into the parameter list and inject const auto in front of each parameter".
const auto
One fix would be to remove the const from that, and then add another step to add const to any parameters.
Sorry, something went wrong.
Eve if we split that step, how would compiler detect this as a failure and not just have the second step switch which one you call?
No branches or pull requests
The text was updated successfully, but these errors were encountered: