[PATCH] libstdc++: centralize and improve testing of shared_ptr/weak_ptr conversions

Giuseppe D'Angelo giuseppe.dangelo@kdab.com
Sat Mar 15 20:00:52 GMT 2025


Hi,

The attached patch is a cleanup and improvement of a test that I've 
added in r15-8048-gdf0e6509bf7442. Since the test is identical for 
shared_ptr and weak_ptr, I've centralized it to reduce future 
maintenance, and extended it to cover more cases.

Thank you,
-- 
Giuseppe D'Angelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libstdc-centralize-and-improve-testing-of-shared_ptr.patch
Type: text/x-patch
Size: 9628 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250315/36a7e644/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/20250315/36a7e644/attachment.p7s>


More information about the Libstdc++ mailing list