Title
decltype(auto) in new-expressions
Status
cd4
Section
7.6.2.8 [expr.new]
Submitter
Daveed Vandevoorde

Created on 2014-02-04.00:00:00 last changed 95 months ago

Messages

Date: 2014-11-15.00:00:00

[Moved to DR at the November, 2014 meeting.]

Date: 2014-02-15.00:00:00

Proposed resolution (February, 2014):

Change 7.6.2.8 [expr.new] paragraph 2 as follows:

If the auto type-specifier a placeholder type (9.2.9.7 [dcl.spec.auto]) appears in the type-specifier-seq of a new-type-id or type-id of a new-expression, the new-expression shall contain...
Date: 2014-02-04.00:00:00

9.2.9.7 [dcl.spec.auto] paragraph 5 says that a placeholder type (presumably including decltype(auto)) can appear in a new-expression. However, 7.6.2.8 [expr.new] mentions only auto, not decltype(auto).

History
Date User Action Args
2017-02-06 00:00:00adminsetstatus: drwp -> cd4
2015-05-25 00:00:00adminsetstatus: dr -> drwp
2015-04-13 00:00:00adminsetmessages: + msg5344
2014-11-24 00:00:00adminsetstatus: ready -> dr
2014-03-03 00:00:00adminsetmessages: + msg4811
2014-02-04 00:00:00admincreate