N3918: Core Issue 1299: Temporary objects vs temporary expressions

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N3918

Date: 2014-02-12

Core Issue 1299: Temporary objects vs temporary expressions

by Jens Maurer

Excerpt:

This paper presents the propoosed wording for core issue 1299.

The term "temporary object" is consistently applied, and wording is added to define a "temporary expression" as one that permits lifetime extension. The exception object is no longer a "temporary" in that sense (see 15.1 except.throw), since there is no relationship to the other temporary objects mentioned in the standard; the lifetime of the exception object is defined in 15.1 except.throw, not in 12.2 class.temporary.

The drafting below also addresses core issues 943, 1076, and 1300.

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.