[Bug c++/88368] New: Improper ``use of deleted function''
serge.guelton@telecom-bretagne.eu
gcc-bugzilla@gcc.gnu.org
Wed Dec 5 13:44:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88368
Bug ID: 88368
Summary: Improper ``use of deleted function''
Product: gcc
Version: 8.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: serge.guelton@telecom-bretagne.eu
Target Milestone: ---
The following code fails to compile: https://godbolt.org/z/briQXa
Adding a `noexcept` specifier to the default constructor fixes the issue, but
it shouldn't be needed..
Clang compiles this code correctly, so does gcc 4.9. But gcc 7.3 doesn't, for
another reason.
More information about the Gcc-bugs
mailing list