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]

[v3] Fix libstdc++/45228


Hi,

tested x86_64-linux, committed to mainline. Maybe we can even better
here, but the cleanest solution I can see is adding constrains for
sizeof...(_UElements) == sizeof...(_Elements) to the converting
constructors and assignment operators of the primary template (something
that the FCD even encourages) and adding a quite short tuple
specialization for single element. That also allows to resolve the long
standing XXX fixme.

Paolo.

Attachment: CL_45228
Description: Text document

Attachment: patch_45228
Description: Text document


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