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++/46821] [C++0x] swapping empty classes


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

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2010-12-06 14:44:46 UTC ---
Author: paolo
Date: Mon Dec  6 14:44:38 2010
New Revision: 167497

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

    PR libstdc++/46821
    * include/std/tuple (_Head_base<,, true>::_M_swap_impl):
    Swap the empty bases.
    (_Head_base<,, false>::_M_swap_impl): Minor tweak.
    * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
    line number.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/tuple
    trunk/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc


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