Title
set_exception with a null pointer
Status
nad editorial
Section
[futures.promise]
Submitter
INCITS

Created on 2010-08-25.00:00:00 last changed 168 months ago

Messages

Date: 2011-02-20.22:39:32

Proposed resolution:

Add the following sentence to the end of 30.6.5/22: The behavior of a program that calls set_exception with a null pointer is undefined.

Date: 2010-10-24.03:04:13

[ Resolved in Rapperswil by a motion to directly apply the words from the ballot comment in N3102. ]

Date: 2010-10-24.03:04:13

Addresses US-198

promise::set_exception can be called with a null pointer, but none of the descriptions of the get() functions for the three types of futures say what happens for this case.

History
Date User Action Args
2011-02-20 22:39:32adminsetmessages: + msg5524
2010-10-24 03:04:13adminsetmessages: + msg4965
2010-08-25 00:00:00admincreate