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
The following snippet:
int main() { const int x = 20; decltype(x) y = 30; }
Expands to:
int main() { const int x = 20; int y = 30; // should be : const int y }
Where it should be const int y = 30;
const int y = 30
The text was updated successfully, but these errors were encountered:
Hello @Waqar144,
thanks for spotting and reporting this! A fix is on its way.
Andreas
Sorry, something went wrong.
0a44826
Merge pull request #338 from andreasfertig/fixIssue337
87525d1
Fixed #337: `const` was missing for a `decltype`-expression with `int`.
No branches or pull requests
The following snippet:
Expands to:
Where it should be
const int y = 30
;The text was updated successfully, but these errors were encountered: