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

Let the numeric traits be SFINAE-friendly #4038

Merged
merged 3 commits into from
May 20, 2021

Conversation

dalg24
Copy link
Member

@dalg24 dalg24 commented May 20, 2021

Related to #4033 which mentions is_specialized. To compensate for it, we ensure that the individual traits are SFINAE-friendly so one can detect whether whether a value exist or not.

I view this patch as a fix for a defect in our current implementation.

@dalg24 dalg24 requested a review from nliber May 20, 2021 01:11
@dalg24
Copy link
Member Author

dalg24 commented May 20, 2021

@lucbv please review

Copy link
Contributor

@lucbv lucbv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking at this, it's fine with me!

@crtrott crtrott merged commit 0ed6ed3 into kokkos:develop May 20, 2021
@dalg24 dalg24 deleted the numeric_traits_sfinae_friendly branch May 24, 2021 21:37
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.

None yet

4 participants