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.guel...@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.

Reply via email to