Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the use of the hashable base C++17 compliant #76

Merged
merged 1 commit into from
Apr 6, 2018
Merged

Make the use of the hashable base C++17 compliant #76

merged 1 commit into from
Apr 6, 2018

Conversation

JohelEGP
Copy link
Contributor

@JohelEGP JohelEGP commented Apr 5, 2018

By inheriting from the respective std::hash, the use of type_safe::strong_typedef_op::hashable meets the C++17 requirements when using C++17. When first implementing it, I thought the current implementation was enough from reading the non-normative note just above the linked paragraph.

@JohelEGP JohelEGP changed the title Make the hashable strong typedef operation C++17 compliant Make the use of the hashable base C++17 compliant Apr 5, 2018
@foonathan foonathan merged commit 384b3e8 into foonathan:master Apr 6, 2018
@foonathan
Copy link
Owner

Good catch, thanks.

@JohelEGP JohelEGP deleted the hashable_strong_typedef_op branch April 6, 2018 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants