CWG Issue 1387 (original) (raw)
This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-04-13
1387. Missing non-deduced context for decltype
Section: 13.10.3.6 [temp.deduct.type]Status: CD3Submitter: James WidmanDate: 2011-09-02
[Moved to DR at the October, 2012 meeting.]
Presumably 13.10.3.6 [temp.deduct.type] paragraph 5 should include a bullet for a decltype-specifier whose _expression_references a template parameter.
Proposed resolution (February, 2012):
Change 13.10.3.6 [temp.deduct.type] paragraph 5 as follows:
The non-deduced contexts are:
- The nested-name-specifier of a type that was specified using a qualified-id.
- The expression of a_decltype-specifier_.
- A non-type template argument...