Skip to content

Conversation

TymianekPL
Copy link
Contributor

@TymianekPL TymianekPL commented Apr 27, 2025

Clang has added the std::is_implicit_lifetime trait in LLVM20, and this is an implementation for MSVC STL for Clang. Since MSVC core compiler does not support the builtin yet, I will not include the MSVC version in this PR (unless something changes throughout the lifetime of this PR).

Changes:

  • Added the C++23 std::is_implicit_lifetime trait (and std::is_implicit_lifetime_v).

[Fixes #3445]

@TymianekPL TymianekPL requested a review from a team as a code owner April 27, 2025 15:55
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Apr 27, 2025
@TymianekPL

This comment was marked as resolved.

@TymianekPL TymianekPL marked this pull request as draft April 27, 2025 16:56
Signed-off-by: TymianekPL <[email protected]>
Signed-off-by: TymianekPL <[email protected]>
@TymianekPL

This comment was marked as resolved.

@TymianekPL
Copy link
Contributor Author

@microsoft-github-policy-service agree

@TymianekPL

This comment was marked as resolved.

@github-project-automation github-project-automation bot moved this from Initial Review to Work In Progress in STL Code Reviews Apr 28, 2025
@StephanTLavavej StephanTLavavej added blocked Something is preventing work on this compiler Compiler work involved cxx23 C++23 feature labels Apr 28, 2025
@StephanTLavavej StephanTLavavej moved this from Work In Progress to Blocked in STL Code Reviews Apr 28, 2025
@StephanTLavavej

This comment was marked as resolved.

@TymianekPL

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej self-assigned this Sep 19, 2025
@StephanTLavavej StephanTLavavej moved this from Work In Progress to Initial Review in STL Code Reviews Sep 19, 2025
@StephanTLavavej
Copy link
Member

Thanks! 😻 I pushed a bunch of changes and filed followup issues/bugs:

At the last minute, I remembered to check libcxx's tests, and updated the expected failures to mention a likely bogus test.

@StephanTLavavej StephanTLavavej removed their assignment Sep 24, 2025
@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Sep 24, 2025
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Sep 25, 2025
@StephanTLavavej StephanTLavavej merged commit 21f58af into microsoft:main Sep 25, 2025
39 checks passed
@github-project-automation github-project-automation bot moved this from Merging to Done in STL Code Reviews Sep 25, 2025
@StephanTLavavej
Copy link
Member

Thanks for bringing us one step closer to C++23 conformance! 😻 🎉 🐈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Compiler work involved cxx23 C++23 feature
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

P2674R1 is_implicit_lifetime
6 participants