This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69640] New: ~SomeClass() = default; incorrectly considered a "user-declared destructor"
- From: "john at yates-sheets dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Feb 2016 20:46:57 +0000
- Subject: [Bug c++/69640] New: ~SomeClass() = default; incorrectly considered a "user-declared destructor"
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69640
Bug ID: 69640
Summary: ~SomeClass() = default; incorrectly considered a
"user-declared destructor"
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: john@yates-sheets.org
Target Milestone: ---
warning: definition of implicit copy constructor for 'IntRange' is deprecated
because it has a user-declared destructor [-Wdeprecated]
~IntRange() =default;
^
...: note: implicit copy constructor for 'IntRange' first required here
return IntRange(aTargetSizes);