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++/44487] [C++0x] pair of references doesn't work



------- Comment #7 from paolo at gcc dot gnu dot org  2010-06-10 10:25 -------
Subject: Bug 44487

Author: paolo
Date: Thu Jun 10 10:24:46 2010
New Revision: 160528

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160528
Log:
2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>

        PR libstdc++/44487
        * include/bits/stl_pair.h (pair(pair&&)): Remove.
        (pair(pair<_U1, _U2>&&): Use forward, consistently with Bullet 5
        of LWG 1326.
        * include/std/tuple (tuple(pair<_U1, _U2>&&)): Likewise.
        * testsuite/20_util/pair/44487.cc: Add.
        * testsuite/20_util/tuple/cons/44487.cc: Likewise.
        * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
        line numbers.

Added:
    trunk/libstdc++-v3/testsuite/20_util/pair/44487.cc
    trunk/libstdc++-v3/testsuite/20_util/tuple/cons/44487.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_pair.h
    trunk/libstdc++-v3/include/std/tuple
    trunk/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44487


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