NVIDIA / NVIDIA/cccl

[FEA]: Decide if `cuda::std::constant_wrapper` would be usable in C++17

Open
#9,111 0 comments 0 reactions 1 assignee Claimed by @davebayer View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

We could theoretically backport `cuda::std::constant_wrapper` to C++17, but with some serious limitations. The problem is that C++17 has more restricted list of types that can be passed as NTTP. In addition, I'm 99 % sure we won't be able to make the type be usable with arrays.

This issue can be closed by making the decision whether this type could be important in C++17 even with these limitations.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.