-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
Trivial relocation of c-v-ref-array types #6313
Trivial relocation of c-v-ref-array types #6313
Conversation
Can one of the admins verify this patch? |
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.
LGTM, thanks!
Thanks for reviewing, I am surprised there is not a simpler way to specialize all versions of a type at once |
Well, there is, to some extent. You could write:
In this case the user type specializations (the macros) would have to to map onto |
Oh that looks a lot cleaner, but I agree we could do without two Also just noting that |
@isidorostsa so let's go ahead with it as is, should we? |
Let me add some tests first and I think we are good |
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
@isidorostsa once you fix the clang-format issues, this seems to be good to go. |
Will do, but let's discuss a bit on Thursday before merging |
@isidorostsa there is still some clang-format problem, could you have a look, please? |
This will be integrated into #6314 |
This PR is an addition to the earlier #6264
It allows peeling away type qualifiers to make sure that declaring type
T
as trivially relocatable will declare the following types too:const T
,volatile T
,const volatile T
,T&
,T&&
,T[]
,T[n]