https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103947

Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arthur.j.odwyer at gmail dot 
com

--- Comment #1 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> ---
Clang has such a diagnostic, under -Wdefaulted-function-deleted. GCC supports
the -Wdefaulted-function-deleted command-line switch, and implements it for
copy/move constructors and assignment operators, but GCC doesn't yet implement
-Wdefaulted-function-deleted for

- default constructor
- operator<=>
- operator==
- any secondary comparison operator

https://godbolt.org/z/5ExobcKEx

Reply via email to