Title
register_callback can fail
Status
new
Section
[ios.base.callback]
Submitter
David Krauss

Created on 2016-03-16.00:00:00 last changed 98 months ago

Messages

Date: 2019-06-15.00:00:00

[ 2019-06-13; Billy comments ]

Just as an additional data point: MSVC++ agrees with libstdc++ and also throws std::bad_alloc.

Date: 2016-04-08.14:43:51

register_callback allocates memory and so it can fail, but the case is unspecified. libc++ sets badbit, which is consistent with iword and pword. libstdc++ throws std::bad_alloc.

History
Date User Action Args
2016-03-16 19:03:08adminsetmessages: + msg8025
2016-03-16 00:00:00admincreate