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

P2985R0: A type trait for detecting virtual base classes #105432

Closed
ldionne opened this issue Aug 20, 2024 · 1 comment · Fixed by #105847
Closed

P2985R0: A type trait for detecting virtual base classes #105432

ldionne opened this issue Aug 20, 2024 · 1 comment · Fixed by #105847
Assignees
Labels
c++26 libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. wg21 paper Issues representing the implementation of a WG21 paper

Comments

@ldionne
Copy link
Member

ldionne commented Aug 20, 2024

Link: https://wg21.link/P2985R0

@ldionne ldionne added c++26 libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. wg21 paper Issues representing the implementation of a WG21 paper labels Aug 20, 2024
@dangelog
Copy link

See also #98310 -- the compiler builtin (necessary to implement the trait) has already been added.

@ldionne ldionne self-assigned this Aug 23, 2024
ldionne added a commit to ldionne/llvm-project that referenced this issue Aug 23, 2024
This trait is implemented in C++26 conditionally on the compiler
supporting the __builtin_is_virtual_base_of intrinsic. I believe
only tip-of-trunk Clang currently implements that builtin.

Closes llvm#105432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++26 libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. wg21 paper Issues representing the implementation of a WG21 paper
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants