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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |87403
           Severity|normal                      |enhancement
           Keywords|accepts-invalid             |

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
So you're requesting a warning when a defaulted constructor will actually be
defined as deleted?

I think we would only want to do that for non-templates, because in a class
template it's very useful to default a constructor and have it do the right
thing, depending on the properties of the subobject types.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403
[Bug 87403] [Meta-bug] Issues that suggest a new warning
  • [Bug c++/110187] New: Th... amir.ahmed.ansari at outlook dot com via Gcc-bugs
    • [Bug c++/110187] Th... redi at gcc dot gnu.org via Gcc-bugs

Reply via email to