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

2024-11-11


709. Enumeration names as nested-name-specifiers in deduction failure

Section: 13.10.3  [temp.deduct]     Status: C++11     Submitter: Doug Gregor     Date: 23 Aug, 2008

[Voted into WP at August, 2010 meeting.]

The current rules in 13.10.3 [temp.deduct] say that type deduction fails as a result of attempting to use a type that is not a class type in a qualified name. However, it is now possible to use enumeration names as nested-name-specifiers, so this rule needs to be updated accordingly.

Proposed resolution (February, 2010):

Change the third bullet of the note in 13.10.3 [temp.deduct] paragraph 8 as follows:

[Note: Type deduction may fail for the following reasons: