Title
Enumeration names as nested-name-specifiers in deduction failure
Status
c++11
Section
13.10.3 [temp.deduct]
Submitter
Doug Gregor

Created on 2008-08-23.00:00:00 last changed 122 months ago

Messages

Date: 2010-08-23.00:00:00

[Voted into WP at August, 2010 meeting.]

Date: 2010-02-15.00:00:00

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:

  • ...

  • Attempting to use a type that is not a class or enumeration type in a qualified name. [Example:...

  • ...

Date: 2008-08-23.00:00:00

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.

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetstatus: wp -> fdis
2010-11-29 00:00:00adminsetstatus: dr -> wp
2010-08-23 00:00:00adminsetmessages: + msg2933
2010-08-23 00:00:00adminsetstatus: ready -> dr
2010-03-29 00:00:00adminsetstatus: review -> ready
2010-02-16 00:00:00adminsetmessages: + msg2568
2010-02-16 00:00:00adminsetstatus: drafting -> review
2008-10-05 00:00:00adminsetstatus: open -> drafting
2008-08-23 00:00:00admincreate