Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2674R1 is_implicit_lifetime #3445

Open
StephanTLavavej opened this issue Feb 12, 2023 · 1 comment
Open

P2674R1 is_implicit_lifetime #3445

StephanTLavavej opened this issue Feb 12, 2023 · 1 comment
Labels
compiler Compiler work involved cxx23 C++23 feature

Comments

@StephanTLavavej
Copy link
Member

StephanTLavavej commented Feb 12, 2023

WG21-P2674R1 is_implicit_lifetime

Feature-test macro:

#define __cpp_lib_is_implicit_lifetime 202302L

This requires compiler magic. 🪄

@StephanTLavavej
Copy link
Member Author

Clang implemented __builtin_is_implicit_lifetime in llvm/llvm-project#101807 , but it's not available in Clang 19. I'm not sure if it will ship in Clang 20 or Clang 21.

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
Status: Blocked
Development

No branches or pull requests

1 participant