Title
Strengthen meaning of "empty shared_ptr<T>" in dynamic_pointer_cast
Status
resolved
Section
[util.smartptr.shared.cast]
Submitter
United States

Created on 2017-02-03.00:00:00 last changed 94 months ago

Messages

Date: 2017-02-21.18:26:14

Proposed resolution:

Resolved by P0414R2, which was adopted in Issaquah.

Date: 2017-02-03.00:00:00

Addresses US 137

Paragraph (6.2): It is intuitive, but not specified, that the empty pointer returned by a dynamic_pointer_cast should point to null.

Proposed change:

Rephrase as:

Otherwise, shared_ptr<T>().

History
Date User Action Args
2017-02-21 18:26:14adminsetmessages: + msg8963
2017-02-21 18:26:14adminsetstatus: new -> resolved
2017-02-03 00:00:00admincreate