[PATCH 1/2] Introduce __builtin_is_virtual_base_of

Giuseppe D'Angelo giuseppe.dangelo@kdab.com
Mon Jul 29 20:53:56 GMT 2024


Hi,

The attached patch is a stab at adding the necessary compiler builtin to 
support std::is_virtual_base_of (P2985R0, approved for C++26). The name 
of the builtin matches the one just merged into clang:

https://github.com/llvm/llvm-project/issues/98310

The next patch will add the libstdc++ bits.
-- 
Giuseppe D'Angelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Introduce-__builtin_is_virtual_base_of.patch
Type: text/x-patch
Size: 13548 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20240729/7d872b66/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4244 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20240729/7d872b66/attachment.p7s>


More information about the Libstdc++ mailing list