Title
hash for arithmetic, pointer and standard library types should not throw
Status
resolved
Section
[unord.hash]
Submitter
United States

Created on 2016-11-09.00:00:00 last changed 86 months ago

Messages

Date: 2017-03-15.00:00:00

[ 2017-03-12, post-Kona ]

Resolved by P0599R0.

Date: 2017-02-15.00:00:00

[ 2017-02-07, Nico comments ]

Concrete wording is provided in P0599.

Date: 2017-02-02.00:41:18

[ Issues Telecon 16-Dec-2016 ]

Priority 2, Nico to provide wording.

Date: 2016-11-09.00:00:00

Addresses US 140

Specializations of std::hash for arithmetic, pointer, and standard library types should not be allowed to throw. The constructors, assignment operators, and function call operator should all be marked as noexcept. It might be reasonable to consider making this a binding requirement on user specializations of the hash template as well (in p1) but that may be big a change to make at this stage.

History
Date User Action Args
2017-03-12 23:04:12adminsetmessages: + msg9079
2017-03-12 23:04:12adminsetstatus: new -> resolved
2017-02-19 13:03:20adminsetmessages: + msg8940
2016-12-16 20:56:38adminsetmessages: + msg8733
2016-11-09 00:00:00admincreate