OSDN Git Service

2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 92e5267..2ca3b9e 100644 (file)
@@ -1,4 +1,95 @@
-2008-09-23  Chris Fairles <cfairles@gcc.gnu.org>
+2008-09-30  Chris Fairles  <cfairles@gcc.gnu.org>
+
+       * include/std/tuple (tuple<>::swap): Implement swap for tuple as per 
+       DR 522 [Ready].
+       * testsuite/20_util/tuple/swap.cc: New.
+
+2008-09-30  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/30085 (again)
+       * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
+       Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
+       unordered_map / unordered_multimap; add missing member functions.
+       * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
+       Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
+       * include/debug/safe_association.h: Remove.
+       * include/Makefile.am: Adjust.
+       * include/Makefile.in: Regenerate.
+       * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
+       xfail.
+
+2008-09-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
+       void reset(U)): Add as deleted function, per DR 821 [Ready].
+       * include/bits/unique_ptr.h: Prefer everywhere deleted to private
+       member function declarations; minor formatting tweaks.
+       * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
+       * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
+       directives.
+
+2008-09-28  Chris Fairles  <cfairles@gcc.gnu.org>
+
+       * include/std/mutex (try_lock): Implement generic try_lock.
+       * testsuite/30_threads/try_lock/1.cc: New.
+       * testsuite/30_threads/try_lock/2.cc: Likewise.
+       * testsuite/30_threads/try_lock/3.cc: Likewise.
+       * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
+       * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
+       * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
+       * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
+       * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
+       * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
+       * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
+       Likewise.
+       * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
+       
+2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
+            Steve Ellcey  <sje@cup.hp.com>
+
+       * configure: Regenerate for new libtool.
+       * aclocal.m4: Ditto.
+       * Makefile.in: Ditto.
+       * src/Makefile.in: Ditto.
+       * doc/Makefile.in: Ditto.
+       * po/Makefile.in: Ditto.
+       * libmath/Makefile.in: Ditto.
+       * include/Makefile.in: Ditto.
+       * libsupc++/Makefile.in: Ditto.
+       * testsuite/Makefile.in: Ditto.
+
+2008-09-24  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/bitset: Adjust comment to reflect DR 853.
+       * include/debug/bitset: Likewise.
+       * doc/xml/manual/intro.xml: Add an entry for DR 853.
+
+2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       Implement DR 396 [Ready].
+       * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
+       size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
+       char, char), bitset<>::to_string(_CharT, _CharT),
+       bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
+       size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
+       (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
+       const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
+       (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
+       std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
+       * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
+       size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
+       char, char), bitset<>::to_string(_CharT, _CharT)): Add.
+       * doc/xml/manual/intro.xml: Add an entry for DR 396.
+       * testsuite/23_containers/bitset/cons/dr396.cc: Add.
+       * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
+
+2008-09-23  Chris Fairles  <cfairles@gcc.gnu.org>
+
+       * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
+       * testsuite/25_algorithms/max/37547.cc: Likewise.
+       * testsuite/25_algorithms/minmax/37547.cc: Likewise.
+
+2008-09-23  Chris Fairles  <cfairles@gcc.gnu.org>
 
        * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
        typedef monotonic_clock to system_clock and instead declare new class.