Movatterモバイル変換


[0]ホーム

URL:


This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 118f. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-11-07


2913. Grammar fordeduction-guide hasrequires-clause in the wrong position

Section:13.7.2.3  [temp.deduct.guide]    Status:CD7    Submitter:Richard Smith    Date:2024-07-17

[Accepted as a DR at the November, 2024 meeting.]

(From submission#576.)

Issue 2707 added themissingrequires-clause to the grammarfordeduction-guide, but the position is inconsistent with thatof function declarations.

Proposed resolution (approved by CWG 2024-08-16):

Change in 13.7.2.3 [temp.deduct.guide] paragraph 1 as follows:

deduction-guide :    explicit-specifieropt template-name (parameter-declaration-clause )requires-clauseopt -> simple-template-idrequires-clauseopt ;



[8]ページ先頭

©2009-2025 Movatter.jp