This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ Patch] PR 53096


Hi,

this PR is about the resolution of core/1333 being unimplemented, thus we reject things like:

    struct foo
    {
      foo(foo&) = default; // ERROR HERE
    };

(and this can be annoying, as explained by Eric on the reflector, for example when one has to resort to out-of-class defaulting which means non-trivial)

Thus, the below elementary patch appears to work fine (I also double checked that in such cases the type remains trivial). It's all there is to it?

Thanks,
Paolo.

/////////////////////

Attachment: CL_53096
Description: Text document

Attachment: patch_53096
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]