Implement LWG 2686, std::hash<error_condition>, for C++17
authorDaniel Kruegler <daniel.kruegler@gmail.com>
Thu, 23 Mar 2017 19:40:16 +0000 (19:40 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 23 Mar 2017 19:40:16 +0000 (19:40 +0000)
commit7f359d19d0b1b13c21e7a325ef391ed19bc8ba70
treea71417b0083d1c3401026601882728aa88056731
parent288695f7a49e187d9c4e0dad6024aed227512477
Implement LWG 2686, std::hash<error_condition>, for C++17

2017-03-23  Daniel Kruegler  <daniel.kruegler@gmail.com>

Implement LWG 2686, Why is std::hash specialized for error_code,
but not error_condition?
* include/std/system_error (hash<error_condition>): Define for C++17.
* testsuite/20_util/hash/operators/size_t.cc (hash<error_condition>):
Instantiate test for error_condition.
* testsuite/20_util/hash/requirements/explicit_instantiation.cc
(hash<error_condition>): Instantiate hash<error_condition>.

From-SVN: r246424
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/system_error
libstdc++-v3/testsuite/20_util/hash/operators/size_t.cc
libstdc++-v3/testsuite/20_util/hash/requirements/explicit_instantiation.cc