This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/66338] std::forward_as_tuple() issue with single argument


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66338

--- Comment #9 from ville at gcc dot gnu.org ---
Author: ville
Date: Fri May 27 14:08:37 2016
New Revision: 236822

URL: https://gcc.gnu.org/viewcvs?rev=236822&root=gcc&view=rev
Log:
2016-05-24  Ville Voutilainen  <ville.voutilainen@gmail.com>

        PR libstdc++/66338
        * include/std/tuple (_TMC): Add a check for _NotSameTuple.
        * include/std/tuple (tuple(_UElements&&...)): Remove the separate
        check for _NotSameTuple.
        * include/std/tuple (_TMCT): New.
        * include/std/tuple (tuple(const tuple<_UElements...>&)): Use it.
        * include/std/tuple (tuple(tuple<_UElements...>&&)): Likewise.
        * include/std/tuple (tuple(allocator_arg_t, const _Alloc&,
              const tuple<_UElements...>&)): Likewise.
        * include/std/tuple (tuple(allocator_arg_t, const _Alloc&,
              tuple<_UElements...>&&)): Likewise.
        * testsuite/20_util/tuple/cons/66338.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/20_util/tuple/cons/66338.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/tuple

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