Skip to content

Conversation

@davebayer
Copy link
Contributor

gcc and nvhpc support auto(expr) even before c++23 as an extension, nvcc supports this since 13.0.

This renames _LIBCUDACXX_AUTO_CAST to _CCCL_AUTO_CAST and allows more efficient implementation via auto(expr) even in earlier c++ modes.

@davebayer davebayer requested review from a team as code owners December 15, 2025 10:52
@davebayer davebayer requested a review from griwes December 15, 2025 10:52
@github-project-automation github-project-automation bot moved this to Todo in CCCL Dec 15, 2025
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Dec 15, 2025
@github-actions
Copy link
Contributor

😬 CI Workflow Results

🟥 Finished in 2h 52m: Pass: 93%/123 | Total: 2d 14h | Max: 2h 51m | Hits: 74%/197369

See results here.

_CCCL_DIAG_SUPPRESS_MSVC(4100 4127 4180 4197 4296 4324 4455 4503 4522 4668 4800 4996)

// disable warnings about using C++23 features in C++20 (needed for if consteval)
#if _CCCL_HAS_IF_CONSTEVAL_IN_CXX20()
Copy link
Contributor

Choose a reason for hiding this comment

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

i wonder if we even need the _CCCL_HAS_IF_CONSTEVAL_IN_CXX20 macro anymore. its only remaining use will be in __cccl/dialect.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

2 participants