-
Notifications
You must be signed in to change notification settings - Fork 967
Add example to C3550 #4754
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
Add example to C3550 #4754
Conversation
@Rageking8 : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
Learn Build status updates of commit 8d566a0: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
PRMerger Results
|
Learn Build status updates of commit c89da7c: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
PRMerger Results
|
#label:"aq-pr-triaged" |
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.
Small request added
decltype(auto)&& func3(); // C3550 | ||
``` | ||
|
||
To resolve the error remove all illegal qualification on `decltype(auto)`. |
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.
Can you add a small example: For instance, decltype(auto)* func1();
becomes auto *func1();
Learn Build status updates of commit 6c6c176: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
PRMerger Results
|
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.
Thank you!
#sign-off |
merged |
The "dummy" int was added to reduce the number of compiler errors generated (to make the example more targeted), as omitting the return statement in those functions yielded a lot of compiler errors.Edit: forgotten that just the function prototype is needed.