Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fixes non_void_value_t for ptr-to-void iterator types #678

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

elstehle
Copy link
Collaborator

Currently cub::detail::non_void_value_t<void*, my_fallback_type> fails to compile with the error message reference to void is not allowed due to instantiating the iterator_traits template with a reference to void member type.

This PR fixes the compilation error.

Thanks to @senior-zero for helping to iterate on the fix.

cub/util_type.cuh Outdated Show resolved Hide resolved
test/catch2_test_util_type.cu Outdated Show resolved Hide resolved
elstehle added a commit to elstehle/thrust that referenced this pull request Apr 19, 2023
elstehle added a commit to elstehle/thrust that referenced this pull request Apr 19, 2023
@elstehle elstehle merged commit 76471de into NVIDIA:main Apr 20, 2023
@elstehle elstehle mentioned this pull request Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants