-
Notifications
You must be signed in to change notification settings - Fork 916
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
C++17 cleanup: traits replace std::enable_if<>::type with std::enable_if_t #10343
C++17 cleanup: traits replace std::enable_if<>::type with std::enable_if_t #10343
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
We have a macro |
Likely most of its usage will be replaced with |
cpp/include/cudf/utilities/span.hpp
Outdated
typename std::enable_if_t<(Extent == OtherExtent || Extent == dynamic_extent) && | ||
std::is_convertible_v<OtherT (*)[], T (*)[]>, | ||
void>* = nullptr> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might as well go all the way. Or, can just use CUDF_ENABLE_IF
macro.
typename std::enable_if_t<(Extent == OtherExtent || Extent == dynamic_extent) && | |
std::is_convertible_v<OtherT (*)[], T (*)[]>, | |
void>* = nullptr> | |
std::enable_if_t<(Extent == OtherExtent || Extent == dynamic_extent) && | |
std::is_convertible_v<OtherT (*)[], T (*)[]>>* = nullptr> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
Codecov Report
@@ Coverage Diff @@
## branch-22.04 #10343 +/- ##
================================================
+ Coverage 10.42% 10.58% +0.15%
================================================
Files 119 125 +6
Lines 20603 21058 +455
================================================
+ Hits 2148 2228 +80
- Misses 18455 18830 +375
Continue to review full report at Codecov.
|
rerun tests |
@gpucibot merge |
No description provided.