[PATCH] Implement LWG 2686, hash<error_condition>
Daniel Krügler
daniel.kruegler@gmail.com
Sun Mar 12 12:16:00 GMT 2017
The following is an *untested* patch suggestion, please verify.
Notes: My interpretation is that hash<error_condition> should be
defined outside of the _GLIBCXX_COMPATIBILITY_CXX0X block, please
double-check that course of action.
I noticed that the preexisting hash<error_code> did directly refer to
the private members of error_code albeit those have public access
functions. For consistency I mimicked that existing style when
implementing hash<error_condition>.
- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lwg2686.patch
Type: application/octet-stream
Size: 2334 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170312/574a92ef/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog_lwg2686.patch
Type: application/octet-stream
Size: 785 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170312/574a92ef/attachment-0001.obj>
More information about the Gcc-patches
mailing list