Title
Wording that says temporaries are declared
Status
cd1
Section
8.7 [stmt.jump]
Submitter
Gennaro Prota

Created on 2002-09-07.00:00:00 last changed 176 months ago

Messages

Date: 2006-11-15.00:00:00

Proposed Resolution (November, 2006):

This issue is resolved by the resolution of issue 276.

Date: 2003-11-15.00:00:00

Paragraph 8.7 [stmt.jump] paragraph 2 of the standard says:

On exit from a scope (however accomplished), destructors (11.4.7 [class.dtor]) are called for all constructed objects with automatic storage duration (6.7.5.4 [basic.stc.auto]) (named objects or temporaries) that are declared in that scope.

It refers to objects "that are declared" but the text in parenthesis also mentions temporaries, which cannot be declared. I think that text should be removed.

This is related to issue 276.

History
Date User Action Args
2009-09-29 00:00:00adminsetstatus: review -> cd1
2008-02-03 00:00:00adminsetmessages: + msg1578
2008-02-03 00:00:00adminsetstatus: open -> review
2002-09-07 00:00:00admincreate