Re: [PATCH] libstdc++: fix compile error when converting std::weak_ptr

2025-03-14 Thread Giuseppe D'Angelo
From df0e6509bf74421ea68a2e025300bcd6ca63722f Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Tue, 10 Dec 2024 00:56:13 +0100 Subject: [PATCH] libstdc++: fix compile error when converting std::weak_ptr A std::weak_ptr can be converted to a compatible std::weak_ptr. This is implemented

Re: [PATCH] libstdc++: fix compile error when converting std::weak_ptr

2025-03-12 Thread Jonathan Wakely
On Tue, 10 Dec 2024 at 00:59, Giuseppe D'Angelo wrote: > > Hello, > > The attached patch fixes a compile error when converting a weak_ptr of > array type to a compatible type, for instance: > > std::weak_ptr wptr; > std::weak_ptr wptr2 = wptr; // ERROR > > https://gcc.godbolt.org/z/EWYb73Mvf > > T

[PATCH] libstdc++: fix compile error when converting std::weak_ptr

2024-12-09 Thread Giuseppe D'Angelo
s has been already reported somewhere. Tested on x86-64 Linux. Thanks, -- Giuseppe D'Angelo From 2636a2be91fe5a82472068121382a569e0676865 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Tue, 10 Dec 2024 00:56:13 +0100 Subject: [PATCH] libstdc++: fix compile error when converti