Skip to content

Conversation

@fbusato
Copy link
Contributor

@fbusato fbusato commented Jan 9, 2026

Description

The PR introduces the _CCCL_LIFETIMEBOUND macro to handle the lifetimebound attribute across different compilers, including Clang and MSVC.

The macro will be useful to trigger compile-time warning for potentially dangling references.
One example is mdspan to DLPack #7027

Thanks @gevtushenko for the idea

@fbusato fbusato self-assigned this Jan 9, 2026
@fbusato fbusato added the 3.2.0 Targeted for 3.2.0 release label Jan 9, 2026
@fbusato fbusato requested a review from a team as a code owner January 9, 2026 19:56
@fbusato fbusato added this to CCCL Jan 9, 2026
@fbusato fbusato requested a review from davebayer January 9, 2026 19:56
@github-project-automation github-project-automation bot moved this to Todo in CCCL Jan 9, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Jan 9, 2026
@fbusato fbusato requested a review from a team as a code owner January 9, 2026 19:57
@fbusato fbusato requested a review from gonidelis January 9, 2026 19:57
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

🥳 CI Workflow Results

🟩 Finished in 3h 43m: Pass: 100%/84 | Total: 2d 04h | Max: 3h 41m | Hits: 75%/198723

See results here.

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

Labels

3.2.0 Targeted for 3.2.0 release

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

1 participant