[SUGGESTION] Requires clause for aliases #640
Closed
JohelEGP
started this conversation in
Suggestions
Replies: 4 comments 2 replies
|
This is better dealt with after #486. A test: https://cpp2.godbolt.org/z/bxsvexdxr. |
0 replies
|
Now I want this to replace the variable with the alias which currently errors with |
1 reply
|
Thanks! I see that currently alias declarations don't support requires clauses at all, and then when I add them I'll require Then this will work as you expected: and this will require the parentheses: and this will mean the second |
1 reply
|
Resolved by commit b1c03f2. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A natural extension to 63efa6e.
Will your feature suggestion eliminate X% of security vulnerabilities of a given kind in current C++ code? No.
Will your feature suggestion automate or eliminate X% of current C++ guidance literature?
(Make it possible to) make the default:
No longer teach:
enable_ifDescribe alternatives you've considered.
https://cpp2.godbolt.org/z/Mr9TMo7xG:
All reactions