This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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 PATCH] Avoid endless run-time recursion for copying single-element tuples where the element type is by-value constructible from any type


Tested on Linux-PPC64.

2016-05-08  Ville Voutilainen  <ville.voutilainen@gmail.com>

    Avoid endless run-time recursion for copying single-element
    tuples where the element type is by-value constructible
    from any type.
     * include/std/tuple (_TC<>::_NotSameTuple): New.
     * include/std/tuple (tuple(_UElements&&...): Use it.
    * testsuite/20_util/tuple/cons/element_accepts_anything_byval.cc: New.

Attachment: stl-tuple-issue.diff
Description: Text document


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