r246424 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Thu Mar 23 19:40:00 GMT 2017


Author: redi
Date: Thu Mar 23 19:40:16 2017
New Revision: 246424

URL: https://gcc.gnu.org/viewcvs?rev=246424&root=gcc&view=rev
Log:
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>.

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



More information about the Libstdc++-cvs mailing list