Re: [PATCH v2 2/3] libstdc++: Implement C++26 copyable_function [PR119125]

2025-05-14 Thread Jonathan Wakely
On Wed, 14 May 2025 at 13:59, Tomasz Kaminski wrote: > > > On Wed, May 14, 2025 at 1:06 PM Jonathan Wakely wrote: >> >> On 14/05/25 10:48 +0200, Tomasz Kamiński wrote: >> >This patch implements C++26 copyable_function as specified in P2548R6. >> >It also implements LWG 4255 that adjust move_only_

Re: [PATCH v2 2/3] libstdc++: Implement C++26 copyable_function [PR119125]

2025-05-14 Thread Tomasz Kaminski
On Wed, May 14, 2025 at 1:06 PM Jonathan Wakely wrote: > On 14/05/25 10:48 +0200, Tomasz Kamiński wrote: > >This patch implements C++26 copyable_function as specified in P2548R6. > >It also implements LWG 4255 that adjust move_only_function so constructing > >from empty copyable_function, produce

Re: [PATCH v2 2/3] libstdc++: Implement C++26 copyable_function [PR119125]

2025-05-14 Thread Jonathan Wakely
On 14/05/25 10:48 +0200, Tomasz Kamiński wrote: This patch implements C++26 copyable_function as specified in P2548R6. It also implements LWG 4255 that adjust move_only_function so constructing from empty copyable_function, produces empty functor. This falls from existing checks, after specializi

[PATCH v2 2/3] libstdc++: Implement C++26 copyable_function [PR119125]

2025-05-14 Thread Tomasz Kamiński
This patch implements C++26 copyable_function as specified in P2548R6. It also implements LWG 4255 that adjust move_only_function so constructing from empty copyable_function, produces empty functor. This falls from existing checks, after specializing __is_polymorphic_function_v for copyable_functi

Re: [PATCH v2 2/3] libstdc++: Implement C++26 copyable_function [PR119125]

2025-05-13 Thread Patrick Palka
On Mon, 12 May 2025, Tomasz Kamiński wrote: > This patch implements C++26 copyable_function as specified in P2548R6. > It also implements LWG 4255 that adjust move_only_function so constructing > from empty copyable_function, produces empty functor. This falls from > existing checks, after special

[PATCH v2 2/3] libstdc++: Implement C++26 copyable_function [PR119125]

2025-05-12 Thread Tomasz Kamiński
This patch implements C++26 copyable_function as specified in P2548R6. It also implements LWG 4255 that adjust move_only_function so constructing from empty copyable_function, produces empty functor. This falls from existing checks, after specializing __is_polymorphic_function_v for copyable_functi