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

Replace most uses of if_c #3883

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

dhollman
Copy link

Most of these can be replaced with std::conditional (or std::conditional_t for a more modern approach),
even though there are a couple of things that if_c does that std::conditional doesn't.

Most of these can be replaced with `std::conditional`
(or `std::conditional_t` for a more modern approach),
even though there are a couple of things that `if_c` does
that `std::conditional` doesn't.
Copy link
Contributor

@masterleinad masterleinad left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@dalg24
Copy link
Member

dalg24 commented Mar 24, 2021

Haha I have a branch that does the exact same thing locally :)

@dalg24
Copy link
Member

dalg24 commented Mar 25, 2021

Retest this please

@dalg24 dalg24 merged commit d549ac1 into kokkos:develop Mar 25, 2021
@dhollman dhollman deleted the cleanup/partial-if_c-removal branch March 25, 2021 18:34
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

3 participants