set.h (set): Implement C++11 allocator-aware container requirements.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2014-01-13 François Dumont <fdumont@gcc.gnu.org>
2
3 * include/debug/set.h (set): Implement C++11 allocator-aware
4 container requirements.
5 * include/debug/map.h (map): Likewise.
6 * include/debug/multiset.h (multiset): Likewise.
7 * include/debug/multimap.h (multimap): Likewise.
8 * include/debug/set.h (set::operator=(set&&)): Add noexcept and
9 fix implementation regarding management of safe iterators.
10 * include/debug/map.h (map::operator=(map&&)): Likewise.
11 * include/debug/multiset.h (multiset::operator=(multiset&&)): Likewise.
12 * include/debug/multimap.h (multimap::operator=(multimap&&)):
13 Likewise.
14 * include/debug/set.h (set::operator=(std::initializer_list<>)):
15 Rely on the same operator from normal mode.
16 * include/debug/map.h (map::operator=(std::initializer_list<>)):
17 Likewise.
18 * include/debug/multiset.h
19 (multiset::operator=(std::initializer_list<>)): Likewise.
20 * include/debug/multimap.h
21 (multimap::operator=(std::initializer_list<>)): Likewise.
22 * include/debug/set.h (set::swap(set&)): Add noexcept
23 specification, add allocator equality check.
24 * include/debug/map.h (map::swap(map&)): Likewise.
25 * include/debug/multiset.h (multiset::swap(multiset&)): Likewise.
26 * include/debug/multimap.h (multimap::swap(multimap&)): Likewise.
27
28 2014-01-10 Jonathan Wakely <jwakely@redhat.com>
29
30 PR libstdc++/59698
31 * doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup
32 and stylistic improvements.
33 * doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise
34 and update for C++11.
35 * doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise.
36
37 PR libstdc++/59687
38 * doc/xml/manual/backwards_compatibility.xml
39 (backwards.third.nocreate_noreplace): Correct and expand.
40
41 PR libstdc++/59699
42 * doc/xml/manual/support.xml (std.support.types.null): Update links.
43
44 2014-01-09 Jonathan Wakely <jwakely@redhat.com>
45
46 PR libstdc++/59738
47 * include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
48 support for non-Movable types.
49
50 PR libstdc++/59680
51 * src/c++11/thread.cc (__sleep_for): Fix call to ::sleep.
52
53 2014-01-08 François Dumont <fdumont@gcc.gnu.org>
54
55 * include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
56 *this allocator instance when building temporary vector instance
57 so that *this allocator does not get moved.
58 * include/debug/safe_base.h
59 (_Safe_sequence_base(_Safe_sequence_base&&)): New.
60 * include/debug/vector (__gnu_debug::vector<>(vector&&)): Use new
61 move constructor from _Safe_sequence_base.
62 (__gnu_debug::vector<>(vector&&, const allocator_type&)): Swap
63 safe iterators if the instance is moved.
64 (__gnu_debug::vector<>::operator=(vector&&)): Likewise.
65 * testsuite/23_containers/vector/allocator/move.cc (test01): Add
66 check on a vector iterator.
67 * testsuite/23_containers/vector/allocator/move_assign.cc
68 (test02): Likewise.
69 (test03): New, test with a non-propagating allocator.
70 * testsuite/23_containers/vector/debug/move_assign_neg.cc: New.
71
72 2014-01-07 Tim Shen <timshen91@gmail.com>
73
74 * include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(),
75 _AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(),
76 _CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(),
77 _BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(),
78 _BracketMatcher<>::_M_add_char(),
79 _BracketMatcher<>::_M_add_collating_element(),
80 _BracketMatcher<>::_M_add_equivalence_class(),
81 _BracketMatcher<>::_M_add_character_class(),
82 _BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(),
83 _BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()):
84 Fix _AnyMatcher behavior of POSIX style and move _M_flags
85 to template parameter; Add cache for _BracketMatcher. Adjust
86 declarations from here...
87 * include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also,
88 imbuing a regex will trigger a recompilation to rebuild the cache.
89 * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(),
90 _Compiler<>::_M_bracket_expression()): Adjust matchers' caller for
91 different template bool parameters.
92 * include/bits/regex_executor.h: Remove unnecessary declarations.
93 * include/std/regex: Adjust including orders.
94 * testsuite/28_regex/traits/char/user_defined.cc: New.
95 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New.
96
97 2014-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
98
99 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
100 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
101 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
102 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
103 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
104
105 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
106
107 Update copyright years
108
109 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
110
111 * testsuite/18_support/new_handler.cc,
112 testsuite/18_support/terminate_handler.cc,
113 testsuite/18_support/unexpected_handler.cc: Use the standard form for
114 the copyright notice.
115 \f
116 Copyright (C) 2014 Free Software Foundation, Inc.
117
118 Copying and distribution of this file, with or without modification,
119 are permitted in any medium without royalty provided the copyright
120 notice and this notice are preserved.