Reference (section label): [temp.deduct.guide]
Issue description: CWG2707 added the missing requires-clause to the grammar for deduction-guide, but added it in a position that is inconsistent with function declarations. Since the grammar for deduction guides is supposed to match that of other declarator-based declarations, the requires-clause should be at the end.
Suggested resolution:
Change in [temp.deduct.guide]/1:
deduction-guide:
- explicit-specifieropt template-name
(
parameter-declaration-clause)
requires-clauseopt->
simple-template-id requires-clauseopt;
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4