Re: [PATCH v5] c++: deleting explicitly-defaulted functions [PR116162]

2024-09-19 Thread Jason Merrill
On 9/19/24 5:35 PM, Marek Polacek wrote: On Tue, Sep 17, 2024 at 12:50:46PM -0400, Jason Merrill wrote: On 9/16/24 7:14 PM, Marek Polacek wrote: +/* Mark an explicitly defaulted function FN as =deleted and warn. + IMPLICIT_FN is the corresponding special member function that + would have be

[PATCH v5] c++: deleting explicitly-defaulted functions [PR116162]

2024-09-19 Thread Marek Polacek
On Tue, Sep 17, 2024 at 12:50:46PM -0400, Jason Merrill wrote: > On 9/16/24 7:14 PM, Marek Polacek wrote: > > +/* Mark an explicitly defaulted function FN as =deleted and warn. > > + IMPLICIT_FN is the corresponding special member function that > > + would have been implicitly declared. */ > >