Title
Use of decltype in a nested-name-specifier
Status
cd2
Section
_N4567_.5.1.1 [expr.prim.general]
Submitter
Jaakko Järvi

Created on 2008-11-12.00:00:00 last changed 143 months ago

Messages

Date: 2010-03-15.00:00:00

[Voted into WP at March, 2010 meeting as document N3049.]

Date: 2010-02-15.00:00:00

Proposed resolution (February, 2010):

See paper PL22.16/10-0021 = WG21 N3031.

Date: 2009-09-15.00:00:00

Proposed resolution (September, 2009):

See paper PL22.16/09-0181 = WG21 N2991.

Date: 2017-02-06.00:00:00
N2800 comment JP 8

The grammar for nested-name-specifier in _N4567_.5.1.1 [expr.prim.general] paragraph 7 does not allow decltype to be used in a qualified-id. This could be useful for cases like:

   auto vec = get_vec();
   decltype(vec)::value_type v = vec.first();
(See also issue 950.)
History
Date User Action Args
2010-03-29 00:00:00adminsetmessages: + msg2668
2010-03-29 00:00:00adminsetstatus: review -> cd2
2010-02-16 00:00:00adminsetmessages: + msg2527
2010-02-16 00:00:00adminsetstatus: ready -> review
2009-11-08 00:00:00adminsetstatus: review -> ready
2009-09-29 00:00:00adminsetmessages: + msg2304
2009-09-29 00:00:00adminsetstatus: drafting -> review
2009-08-03 00:00:00adminsetstatus: open -> drafting
2008-11-12 00:00:00admincreate