types_traits.hpp (store_extra_false_type): To false_type.
[platform/upstream/gcc.git] / libstdc++-v3 / ChangeLog
1 2006-09-30  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * include/ext/pb_ds/detail/types_traits.hpp (store_extra_false_type):
4         To false_type.
5         (store_extra_true_type): To true_type.
6         (no_throw_copies_true_type): To true_type.
7         (no_throw_copies_false_type): To false_type.
8         * include/ext/pb_ds/detail/cc_hash_table_map_/
9         insert_no_store_hash_fn_imps.hpp: Same.
10         * include/ext/pb_ds/detail/cc_hash_table_map_/
11         resize_store_hash_fn_imps.hpp: Same.
12         * include/ext/pb_ds/detail/cc_hash_table_map_/
13         insert_store_hash_fn_imps.hpp: Same.
14         * include/ext/pb_ds/detail/cc_hash_table_map_/
15         entry_list_fn_imps.hpp: Same.
16         * include/ext/pb_ds/detail/cc_hash_table_map_/
17         debug_no_store_hash_fn_imps.hpp: Same.
18         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
19         * include/ext/pb_ds/detail/cc_hash_table_map_/
20         debug_store_hash_fn_imps.hpp: Same.
21         * include/ext/pb_ds/detail/cc_hash_table_map_/
22         resize_no_store_hash_fn_imps.hpp: Same.
23         * include/ext/pb_ds/detail/gp_hash_table_map_/
24         insert_no_store_hash_fn_imps.hpp: Same.
25         * include/ext/pb_ds/detail/gp_hash_table_map_/
26         resize_store_hash_fn_imps.hpp: Same.
27         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
28         * include/ext/pb_ds/detail/gp_hash_table_map_/
29         insert_store_hash_fn_imps.hpp: Same.
30         * include/ext/pb_ds/detail/gp_hash_table_map_/
31         find_no_store_hash_fn_imps.hpp: Same.
32         * include/ext/pb_ds/detail/gp_hash_table_map_/
33         debug_no_store_hash_fn_imps.hpp: Same.
34         * include/ext/pb_ds/detail/gp_hash_table_map_/
35         debug_store_hash_fn_imps.hpp: Same.
36         * include/ext/pb_ds/detail/gp_hash_table_map_/
37         resize_no_store_hash_fn_imps.hpp: Same.
38         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
39
40 2006-09-29  Benjamin Kosnik  <bkoz@redhat.com>
41
42         * include/ext/pb_ds/detail/cc_hash_table_map_/
43         constructor_destructor_no_store_hash_fn_imps.hpp: Formating fixes.
44         * include/ext/pb_ds/detail/basic_tree_policy/
45         null_node_metadata.hpp: Same.
46         * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same.
47         * include/ext/pb_ds/detail/basic_types.hpp: Same.
48         * include/ext/pb_ds/detail/list_update_policy/
49         mtf_lu_policy_imp.hpp: Same.
50         * include/ext/pb_ds/detail/list_update_policy/
51         counter_lu_metadata.hpp: Same.
52         * include/ext/pb_ds/detail/list_update_policy/
53         sample_update_policy.hpp: Same.
54         * include/ext/pb_ds/detail/list_update_policy/
55         counter_lu_policy_imp.hpp: Same.
56         * include/ext/pb_ds/list_update_policy.hpp: Same.       
57
58 2006-09-29  Benjamin Kosnik  <bkoz@redhat.com>
59             Howard Hinnant  <hhinnant@apple.com>
60             Paolo Carlini  <pcarlini@suse.de>
61
62         * include/ext/type_traits.h (__remove_unsigned): Fix up for signed
63         char, bool, wchar_t, and floating point types.
64         (__add_unsigned): Same. 
65         * testsuite/ext/type_traits: New.
66         * testsuite/ext/type_traits.cc: Move...
67         * testsuite/ext/type_traits/numeric_traits.cc: ...here. 
68         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: New.
69         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: New.
70         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: New.
71         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: New.
72         * testsuite/ext/type_traits/add_unsigned.cc: New.
73         * testsuite/ext/type_traits/remove_unsigned.cc: New.
74         
75 2006-09-29  Joseph S. Myers  <joseph@codesourcery.com>
76
77         * acinclude.m4 (enable_symvers): Default to no if unable to link.
78         * configure: Regenerate.
79
80 2006-09-28  Paolo Carlini  <pcarlini@suse.de>
81
82         * include/bits/stl_uninitialized.h
83         (__uninitialized_fill_n_a(_ForwardIterator, _Size, const _Tp&,
84         allocator<>)): Inline.
85
86 2006-09-28  Benjamin Kosnik  <bkoz@redhat.com>
87
88         * include/ext/pb_ds/detail/cc_hash_table_map_/
89         erase_store_hash_fn_imps.hpp: Formatting fixes.
90         * include/ext/pb_ds/detail/cc_hash_table_map_/
91         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
92         * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
93         * include/ext/pb_ds/detail/cc_hash_table_map_/
94         insert_no_store_hash_fn_imps.hpp: Same.
95         * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
96         * include/ext/pb_ds/detail/cc_hash_table_map_/
97         policy_access_fn_imps.hpp: Same.
98         * include/ext/pb_ds/detail/cc_hash_table_map_/
99         resize_store_hash_fn_imps.hpp: Same.
100         * include/ext/pb_ds/detail/cc_hash_table_map_/
101         constructor_destructor_store_hash_fn_imps.hpp: Same.
102         * include/ext/pb_ds/detail/cc_hash_table_map_/
103         insert_store_hash_fn_imps.hpp: Same.
104         * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
105         * include/ext/pb_ds/detail/cc_hash_table_map_/
106         entry_list_fn_imps.hpp: Same.
107         * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
108         * include/ext/pb_ds/detail/cc_hash_table_map_/
109         find_store_hash_fn_imps.hpp: Same.
110         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
111         * include/ext/pb_ds/detail/cc_hash_table_map_/
112         debug_no_store_hash_fn_imps.hpp: Same.
113         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
114         * include/ext/pb_ds/detail/cc_hash_table_map_/
115         constructor_destructor_fn_imps.hpp: Same.
116         * include/ext/pb_ds/detail/cc_hash_table_map_/
117         cond_key_dtor_entry_dealtor.hpp: Same.
118         * include/ext/pb_ds/detail/cc_hash_table_map_/
119         debug_store_hash_fn_imps.hpp: Same.
120         * include/ext/pb_ds/detail/cc_hash_table_map_/
121         erase_no_store_hash_fn_imps.hpp: Same.
122         * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
123         * include/ext/pb_ds/detail/cc_hash_table_map_/
124         iterators_fn_imps.hpp: Same.
125         * include/ext/pb_ds/detail/cc_hash_table_map_/
126         resize_no_store_hash_fn_imps.hpp: Same.
127         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
128         * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
129         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Same.
130         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
131         * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Same.
132         * include/ext/pb_ds/detail/pat_trie_/head.hpp: Same.
133         * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
134         * include/ext/pb_ds/detail/pat_trie_/cond_dtor_entry_dealtor.hpp: Same.
135         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
136         * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Same.
137         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
138         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
139         * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Same.
140         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Same.
141         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Same.
142         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
143         * include/ext/pb_ds/detail/gp_hash_table_map_/
144         erase_store_hash_fn_imps.hpp: Same.
145         * include/ext/pb_ds/detail/gp_hash_table_map_/
146         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
147         * include/ext/pb_ds/detail/gp_hash_table_map_/
148         insert_no_store_hash_fn_imps.hpp: Same.
149         * include/ext/pb_ds/detail/gp_hash_table_map_/
150         policy_access_fn_imps.hpp: Same.
151         * include/ext/pb_ds/detail/gp_hash_table_map_/
152         resize_store_hash_fn_imps.hpp: Same.
153         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
154         * include/ext/pb_ds/detail/gp_hash_table_map_/
155         constructor_destructor_store_hash_fn_imps.hpp: Same.
156         * include/ext/pb_ds/detail/gp_hash_table_map_/
157         insert_store_hash_fn_imps.hpp: Same.
158         * include/ext/pb_ds/detail/gp_hash_table_map_/
159         iterator_fn_imps.hpp: Same.
160         * include/ext/pb_ds/detail/gp_hash_table_map_/
161         info_fn_imps.hpp: Same.
162         * include/ext/pb_ds/detail/gp_hash_table_map_/
163         find_no_store_hash_fn_imps.hpp: Same.
164         * include/ext/pb_ds/detail/gp_hash_table_map_/
165         find_store_hash_fn_imps.hpp: Same.
166         * include/ext/pb_ds/detail/gp_hash_table_map_/
167         debug_no_store_hash_fn_imps.hpp: Same.
168         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
169         * include/ext/pb_ds/detail/gp_hash_table_map_/
170         constructor_destructor_fn_imps.hpp: Same.
171         * include/ext/pb_ds/detail/gp_hash_table_map_/
172         erase_no_store_hash_fn_imps.hpp: Same.
173         * include/ext/pb_ds/detail/gp_hash_table_map_/
174         resize_no_store_hash_fn_imps.hpp: Same.
175         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
176         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
177         * include/ext/pb_ds/detail/ov_tree_map_/
178         policy_access_fn_imps.hpp: Same.
179         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
180         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
181         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
182         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
183         * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
184         * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
185         * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
186         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
187         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
188         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
189         * include/ext/pb_ds/detail/splay_tree_/
190         constructors_destructor_fn_imps.hpp: Same.
191         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
192         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
193         * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
194         * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
195         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
196         * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
197         * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
198         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
199         * include/ext/pb_ds/detail/list_update_map_/
200         entry_metadata_base.hpp: Same.
201         * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
202         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
203         * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
204         * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
205         * include/ext/pb_ds/detail/list_update_map_/
206         iterators_fn_imps.hpp: Same.
207         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
208         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
209         * include/ext/pb_ds/detail/rb_tree_map_/
210         constructors_destructor_fn_imps.hpp: Same.
211         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
212         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
213         * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
214         * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
215         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
216         * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
217
218 2006-09-28  Paolo Carlini  <pcarlini@suse.de>
219
220         * include/tr1/boost_shared_ptr.h: Use __atomic_add_dispatch and
221         __exchange_and_add_dispatch everywhere.
222
223 2006-09-27  Benjamin Kosnik  <bkoz@redhat.com>
224
225         * include/ext/typelist.h (type_to_type): Remove.
226         * include/ext/throw_allocator.h (assert_allocatod): Remove.
227         (check_allocated(label)): New.
228         (print_to_string): Print numerical output correctly.
229
230         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Adjust line numbers.
231
232         * testsuite/util/regression/rand/priority_queue/detail/
233         operator_fn_imps.hpp: Set and clear label, throw
234         probability. Check only allocations of the marked label.
235         * testsuite/util/regression/rand/assoc/detail/
236         operator_fn_imps.hpp: Same.
237
238         * testsuite/performance/ext/pb_ds/text_find_timing.cc: Adjustments for
239         removal of type_to_type.
240         * testsuite/performance/ext/pb_ds/
241         hash_random_int_erase_mem_usage.cc: Same.
242         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
243         * testsuite/performance/ext/pb_ds/
244         priority_queue_text_push_timing.cc: Same.
245         * testsuite/performance/ext/pb_ds/
246         random_int_subscript_find_timing.cc: Same.
247         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
248         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
249         * testsuite/performance/ext/pb_ds/
250         multimap_text_insert_mem_usage.hpp: Same.
251         * testsuite/performance/ext/pb_ds/
252         priority_queue_random_int_push_timing.cc: Same.
253         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp: Same.
254         * testsuite/performance/ext/pb_ds/
255         priority_queue_text_modify_timing.hpp: Same.
256         * testsuite/performance/ext/pb_ds/
257         tree_order_statistics_timing.cc: Same.
258         * testsuite/performance/ext/pb_ds/
259         priority_queue_text_push_pop_timing.cc: Same.
260         * testsuite/performance/ext/pb_ds/
261         priority_queue_text_join_timing.cc: Same.
262         * testsuite/performance/ext/pb_ds/
263         priority_queue_random_int_push_pop_timing.cc: Same.
264         * testsuite/performance/ext/pb_ds/
265         random_int_subscript_insert_timing.cc: Same.
266         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
267         * testsuite/performance/ext/pb_ds/
268         multimap_text_insert_timing.hpp: Same.
269         * testsuite/performance/ext/pb_ds/
270         priority_queue_text_pop_mem_usage.cc: Same.
271         * testsuite/performance/ext/pb_ds/
272         hash_zlob_random_int_find_timing.cc: Same. 
273         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
274         * testsuite/util/regression/rand/priority_queue/
275         rand_regression_test.hpp: Same.
276         * testsuite/util/regression/rand/assoc/detail/
277         constructor_destructor_fn_imps.hpp: Same.
278         * testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
279         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
280         * testsuite/util/regression/rand/assoc/
281         container_rand_regression_test.hpp: Same.
282         * testsuite/util/regression/assoc/common_type.hpp: Same.
283         * testsuite/util/regression/basic_type.hpp: Same.
284         * testsuite/util/common_type/assoc/common_type.hpp: Same.
285         * testsuite/util/common_type/assoc/string_form.hpp: Same.
286         * testsuite/util/common_type/assoc/template_policy.hpp: Same.
287         * testsuite/util/common_type/assoc/native_set.hpp: Same.
288         * testsuite/util/performance/priority_queue/mem_usage/
289         pop_test.hpp: Same.
290         * testsuite/util/performance/priority_queue/timing/
291         push_pop_test.hpp: Same.
292         * testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
293         * testsuite/util/performance/priority_queue/timing/push_test.hpp: Same.
294         * testsuite/util/performance/priority_queue/timing/
295         modify_test.hpp: Same.
296         * testsuite/util/performance/assoc/mem_usage/
297         multimap_insert_test.hpp: Same.
298         * testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
299         * testsuite/util/performance/assoc/timing/
300         multimap_insert_test.hpp: Same.
301         * testsuite/util/performance/assoc/timing/
302         subscript_find_test.hpp: Same.
303         * testsuite/util/performance/assoc/timing/find_test.hpp: Same.
304         * testsuite/util/performance/assoc/timing/
305         subscript_insert_test.hpp: Same.
306         * testsuite/util/performance/assoc/timing/insert_test.hpp: Same.
307         * testsuite/util/performance/assoc/timing/
308         tree_order_statistics_test.hpp: Same.
309         * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
310         * testsuite/util/performance/assoc/timing/
311         tree_split_join_test.hpp: Same.
312         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
313         * testsuite/util/testsuite_common_types.h: Same.
314
315         * include/ext/pb_ds/detail/cc_hash_table_map_/
316         constructor_destructor_no_store_hash_fn_imps.hpp: Typedef
317         normalization, consistency in member names between cc and gp hash
318         tables, formatting fixes.
319         * include/ext/pb_ds/detail/cc_hash_table_map_/
320         erase_store_hash_fn_imps.hpp: Same.
321         * include/ext/pb_ds/detail/cc_hash_table_map_/
322         insert_no_store_hash_fn_imps.hpp: Same.
323         * include/ext/pb_ds/detail/cc_hash_table_map_/
324         constructor_destructor_store_hash_fn_imps.hpp: Same.
325         * include/ext/pb_ds/detail/cc_hash_table_map_/
326         insert_store_hash_fn_imps.hpp: Same.
327         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
328         * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
329         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
330         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
331         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
332         * include/ext/pb_ds/detail/cc_hash_table_map_/
333         constructor_destructor_fn_imps.hpp: Same.
334         * include/ext/pb_ds/detail/cc_hash_table_map_/
335         erase_no_store_hash_fn_imps.hpp: Same.
336         * include/ext/pb_ds/detail/gp_hash_table_map_/
337         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
338         * include/ext/pb_ds/detail/gp_hash_table_map_/
339         erase_store_hash_fn_imps.hpp: Same.
340         * include/ext/pb_ds/detail/gp_hash_table_map_/
341         insert_no_store_hash_fn_imps.hpp: Same.
342         * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
343         * include/ext/pb_ds/detail/gp_hash_table_map_/
344         constructor_destructor_store_hash_fn_imps.hpp: Same.
345         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
346         * include/ext/pb_ds/detail/gp_hash_table_map_/
347         insert_store_hash_fn_imps.hpp: Same.
348         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
349         * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
350         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
351         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
352         * include/ext/pb_ds/detail/gp_hash_table_map_/
353         constructor_destructor_fn_imps.hpp: Same.
354         * include/ext/pb_ds/detail/gp_hash_table_map_/
355         erase_no_store_hash_fn_imps.hpp: Same.
356
357         * include/ext/pb_ds/assoc_container.hpp: Formatting fixes.
358         * include/ext/pb_ds/detail/resize_policy/
359         hash_prime_size_policy_imp.hpp: Same.
360         * include/ext/pb_ds/detail/resize_policy/
361         hash_standard_resize_policy_imp.hpp: Same.
362         * include/ext/pb_ds/detail/types_traits.hpp: Same.
363         * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
364         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
365         * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
366         * include/ext/pb_ds/detail/hash_fn/
367         direct_mod_range_hashing_imp.hpp: Same.
368         * include/ext/pb_ds/detail/hash_fn/mask_based_range_hashing.hpp: Same.
369         * include/ext/pb_ds/detail/hash_fn/
370         direct_mask_range_hashing_imp.hpp: Same.
371         
372 2006-09-27  Paolo Carlini  <pcarlini@suse.de>
373
374         PR libstdc++/29217
375         * src/localename.cc (locale::_Impl::_M_replace_categories)):
376         Compensate for the inconsistent numerical encodings of the
377         collate and time categories vs the corresponding names.
378         * testsuite/22_locale/locale/cons/29217.cc: New.
379
380         * testsuite/22_locale/locale/cons/2.cc: Enable and split
381         out the few ENC_TRAITS bits to...
382         * testsuite/22_locale/locale/cons/unicode/1.cc... here.
383
384 2006-09-25  Howard Hinnant  <hhinnant@apple.com>
385
386         PR libstdc++/29224
387         * include/tr1/functional_iterate.h: Avoid -Wshadow warnings.
388
389 2006-09-25  Paolo Carlini  <pcarlini@suse.de>
390
391         PR libstdc++/29179
392         * include/ext/mt_allocator.h (__pool_base): Adjust/extend
393         documentation in comments.
394
395 2006-09-24  Paolo Carlini  <pcarlini@suse.de>
396
397         * include/tr1/boost_shared_ptr.h (shared_ptr<>::shared_ptr(const
398         __shared_ptr<>&), shared_ptr(const __weak_ptr<>&),
399         shared_ptr(const __shared_ptr<>&, __static_cast_tag),
400         shared_ptr(const __shared_ptr<>&, __const_cast_tag),
401         shared_ptr(const __shared_ptr<>&, __dynamic_cast_tag),
402         weak_ptr<>::weak_ptr(const __shared_ptr<>&), weak_ptr(const
403         __weak_ptr<>&)): Remove.
404         (shared_ptr<>::shared_ptr(const shared_ptr<>&),
405         shared_ptr(const weak_ptr<>&), shared_ptr(const shared_ptr<>&,
406         __static_cast_tag), shared_ptr(const shared_ptr<>&,
407         __const_cast_tag), shared_ptr(const shared_ptr<>&,
408         __dynamic_cast_tag), static_pointer_cast(const shared_ptr<>&),
409         const_pointer_cast(const shared_ptr<>&), dynamic_pointer_cast(const
410         shared_ptr<>&), weak_ptr<>::weak_ptr(const shared_ptr<>&),
411         weak_ptr(const weak_ptr<>&), weak_ptr<>::lock(), 
412         __enable_shared_from_this_helper(const __shared_count<>&, const
413         enable_shared_from_this<>*, const _Tp2*)): Add. 
414         (class enable_shared_from_this): Add.
415         * testsuite/tr1/2_general_utilities/memory/enable_shared_from_this/
416         1.cc: New.
417         * testsuite/tr1/2_general_utilities/memory/shared_ptr/casts/1.cc:
418         Likewise.
419         * testsuite/tr1/2_general_utilities/memory/weak_ptr/lock/1.cc:
420         Likewise.
421
422         * include/tr1/boost_shared_ptr.h: Further formatting and
423         uglification fixes.
424
425 2006-09-22  Paolo Carlini  <pcarlini@suse.de>
426
427         PR libstdc++/29134 (vector<bool> bits)
428         * include/bits/stl_bvector.h (vector<bool>::max_size):
429         Use allocator' max_size.
430         * testsuite/23_containers/vector/bool/capacity/29134.cc: New.
431
432         * testsuite/23_containers/deque/capacity/29134-2.cc: Minor tweak.
433         * testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.
434
435 2006-09-22  Paolo Carlini  <pcarlini@suse.de>
436
437         * include/tr1/type_traits (add_reference): Robustify vs
438         reference to void.
439         * testsuite/tr1/4_metaprogramming/reference_modifications/
440         add_reference.cc: Add test.
441
442         * include/tr1/memory: include <tr1/type_traits>.
443         * include/tr1/boost_shared_ptr.h (__shared_ptr<>::operator*):
444         Use add_reference instead.
445         * testsuite/tr1/2_general_utilities/memory/enable_shared_from_this/
446         explicit_instantiation/1.cc: New.
447         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
448         explicit_instantiation/1.cc: Likewise.
449         * testsuite/tr1/2_general_utilities/memory/weak_ptr/
450         explicit_instantiation/1.cc: Likewise.
451
452         * testsuite/util/testsuite_tr1.h: Tweak; avoid empty enum.
453
454         * include/tr1/type_traits_fwd.h: Spelling fix.
455
456         * include/tr1/boost_shared_ptr.h: Obvious stylistic fixes.
457
458 2006-09-22  Paolo Carlini  <pcarlini@suse.de>
459
460         * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
461
462 2006-09-21  Benjamin Kosnik  <bkoz@redhat.com>
463
464         * include/ext/type_traits.h (__numeric_traits_integer): New.
465         (__numeric_traits_floating): New.
466         (__numeric_traits): Use them.
467         * testsuite/ext/type_traits.cc: New.
468         
469 2006-09-21  Paolo Carlini  <pcarlini@suse.de>
470
471         * include/ext/hash_map: Remove forward declaration of equality
472         operator, not needed for friendship of all its instances.
473         * include/ext/hash_set: Likewise.
474         * include/bits/stl_set.h: Likewise for equality operator and
475         operator less.
476         * include/bits/stl_multiset.h: Likewise.
477         * include/bits/stl_multimap.h: Likewise.
478         * include/bits/stl_queue.h: Likewise.
479         * include/bits/stl_stack.h: Likewise.
480         * include/bits/streambuf_iterator.h: Likewise for copy.
481         * include/std/std_streambuf.h: Likewise for __copy_aux and find.
482         * include/tr1/boost_shared_ptr.h: Likewise for get_deleter.
483         * include/tr1/random: Likewise, remove all forward declarations
484         of inserters and extractors.
485
486 2006-09-21  Paolo Carlini  <pcarlini@suse.de>
487
488         * include/ext/sso_string_base.h (__sso_string_base<>::_M_max_size(),
489         _M_destroy, _M_create): Use _M_get_allocator.
490
491 2006-09-21  Ben Elliston  <bje@au.ibm.com>
492
493         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Remove invocations of
494         GLIBCXX_CHECK_COMPILER_FEATURES.
495         * configure.ac: Always invoke GLIBCXX_CHECK_COMPILER_FEATURES.
496         Remove invocations elsewhere.
497         * configure: Regenerate.
498
499 2006-09-21  Paolo Carlini  <pcarlini@suse.de>
500
501         PR libstdc++/29134 (ext/vstring bits)
502         * include/ext/sso_string_base.h (__sso_string_base<>::_S_max_size):
503         Remove.
504         (__sso_string_base<>::_M_max_size): Use allocator' max_size.
505         (__sso_string_base<>::_M_create): Adjust.
506         * include/ext/vstring.h: Minor comment tweak.
507         * testsuite/ext/vstring/capacity/29134.cc: New.
508
509 2006-09-20  Paolo Carlini  <pcarlini@suse.de>
510
511         PR libstdc++/29134
512         * include/bits/stl_list.h (list<>::max_size): Forward to allocator'
513         max_size.
514         * include/bits/stl_vector.h (vector<>::max_size): Likewise.
515         * include/bits/stl_deque.h (deque<>::max_size): Likewise.
516         * include/bits/stl_tree.h (_Rb_tree<>::max_size): Likewise.
517         * include/tr1/hashtable (_Hashtable<>::max_size): Likewise.
518         * testsuite/23_containers/vector/capacity/29134.cc: Add.
519         * testsuite/23_containers/deque/capacity/29134.cc: Likewise.
520         * testsuite/23_containers/list/capacity/29134.cc: Likewise.
521         * testsuite/23_containers/set/capacity/29134.cc: Likewise.
522         * testsuite/23_containers/map/capacity/29134.cc: Likewise.
523         * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
524         * testsuite/23_containers/multimap/capacity/29134.cc: Likewise. 
525         * testsuite/tr1/6_containers/unordered/capacity/29134-set.cc: Likewise.
526         * testsuite/tr1/6_containers/unordered/capacity/29134-map.cc: Likewise.
527         * testsuite/tr1/6_containers/unordered/capacity/29134-multiset.cc:
528         Likewise.
529         * testsuite/tr1/6_containers/unordered/capacity/29134-multimap.cc:
530         Likewise.
531
532         * include/bits/deque.tcc (deque<>::_M_new_elements_at_front,
533         deque<>::_M_new_elements_at_back): Check for length errors.
534         * testsuite/23_containers/deque/capacity/29134-2.cc: New.
535         * testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.
536
537         * include/tr1/hashtable (_Hashtable<>::_M_get_Value_allocator): Add.
538         (_Hashtable<>::_M_allocate_node, _M_deallocate_node): Use it.
539         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: Add test.
540         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
541         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
542         Likewise.
543         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
544         Likewise.
545
546 2006-09-20  Benjamin Kosnik  <bkoz@redhat.com>
547
548         * include/ext/pb_ds/detail/
549         typelist_assoc_container.hpp: Remove, unused.
550         * include/ext/pb_ds/detail/typelist/
551         typelist_assoc_container_find.hpp: Same.
552         * include/ext/pb_ds/detail/typelist: Remove.    
553         * include/ext/pb_ds/detail/typelist.hpp: Merge...
554         * include/ext/pb_ds/detail/typelist/typelist_flatten.hpp: Same.
555         * include/ext/pb_ds/detail/typelist/typelist_contains.hpp: Same.
556         * include/ext/pb_ds/detail/typelist/typelist_typelist_append.hpp: Same.
557         * include/ext/pb_ds/detail/typelist/typelist_apply.hpp: Same.
558         * include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
559         * include/ext/pb_ds/detail/typelist/typelist_append.hpp: Same.
560         * include/ext/pb_ds/detail/typelist/typelist_at_index.hpp: Same.
561         * include/ext/pb_ds/detail/typelist/typelist_transform.hpp: Same.
562         * include/ext/typelist.h: ... into this.
563         * include/Makefile.am: Subtractions.
564         * include/Makefile.in: Regenerate.
565
566         * include/ext/pb_ds/assoc_container.hpp: Fixups for new includes,
567         namespaces, and names.  
568         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
569         * include/ext/pb_ds/detail/resize_policy/
570         hash_prime_size_policy_imp.hpp: Same.
571         * include/ext/pb_ds/detail/resize_policy/
572         cc_hash_max_collision_check_resize_trigger_imp.hpp: Same.
573         * include/ext/pb_ds/detail/resize_policy/
574         sample_resize_policy.hpp: Same.
575         * include/ext/pb_ds/detail/resize_policy/
576         sample_resize_trigger.hpp: Same.
577         * include/ext/pb_ds/detail/resize_policy/
578         hash_exponential_size_policy_imp.hpp: Same.
579         * include/ext/pb_ds/detail/resize_policy/
580         hash_load_check_resize_trigger_size_base.hpp: Same.
581         * include/ext/pb_ds/detail/resize_policy/
582         hash_load_check_resize_trigger_imp.hpp: Same.
583         * include/ext/pb_ds/detail/resize_policy/
584         hash_standard_resize_policy_imp.hpp: Same.
585         * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same.
586         * testsuite/performance/ext/pb_ds/text_find_timing.cc
587         * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc
588         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc
589         * testsuite/performance/ext/pb_ds/priority_queue_text_push_timing.cc
590         * testsuite/performance/ext/pb_ds/random_int_subscript_find_timing.cc
591         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc
592         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc
593         * testsuite/performance/ext/pb_ds/
594         multimap_text_insert_mem_usage.hpp: Same.
595         * testsuite/performance/ext/pb_ds/
596         priority_queue_random_int_push_timing.cc
597         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp: Same.
598         * testsuite/performance/ext/pb_ds/
599         priority_queue_text_modify_timing.hpp: Same.
600         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc
601         * testsuite/performance/ext/pb_ds/
602         priority_queue_text_push_pop_timing.cc
603         * testsuite/performance/ext/pb_ds/priority_queue_text_join_timing.cc
604         * testsuite/performance/ext/pb_ds/
605         priority_queue_random_int_push_pop_timing.cc
606         * testsuite/performance/ext/pb_ds/random_int_subscript_insert_timing.cc
607         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc
608         * testsuite/performance/ext/pb_ds/
609         multimap_text_insert_timing.hpp: Same.
610         * testsuite/performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc
611         * testsuite/performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc
612         * testsuite/performance/23_containers/find/map.cc
613         * testsuite/performance/23_containers/create/map.cc
614         * testsuite/performance/23_containers/insert_erase/associative.cc
615         * testsuite/performance/23_containers/insert/sequence.cc
616         * testsuite/performance/23_containers/insert/associative.cc
617         * testsuite/performance/23_containers/create_from_sorted/set.cc
618         * testsuite/performance/23_containers/index/map.cc
619         * testsuite/performance/23_containers/insert_from_sorted/set.cc
620         * testsuite/performance/23_containers/create_sort/list.cc
621         * testsuite/performance/23_containers/sort_search/list.cc
622         * testsuite/performance/23_containers/producer_consumer/sequence.cc
623         * testsuite/performance/23_containers/producer_consumer/associative.cc
624         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
625         * testsuite/util/regression/rand/priority_queue/
626         rand_regression_test.hpp: Same.
627         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
628         * testsuite/util/regression/assoc/common_type.hpp: Same.
629         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
630         * testsuite/util/native_type/assoc/native_tree_tag.hpp: Same.
631         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
632         * testsuite/util/native_type/assoc/native_set.hpp: Same.
633         * testsuite/util/native_type/assoc/native_map.hpp: Same.
634         * testsuite/util/native_type/assoc/native_hash_set.hpp: Same.
635         * testsuite/util/native_type/assoc/native_hash_map.hpp: Same.
636         * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
637         * testsuite/util/common_type/assoc/common_type.hpp: Same.
638         * testsuite/util/common_type/assoc/string_form.hpp: Same.
639         * testsuite/util/common_type/assoc/template_policy.hpp: Same.
640         * testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp: 
641         Same.
642         * testsuite/util/performance/priority_queue/timing/push_pop_test.hpp: 
643         Same.
644         * testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
645         * testsuite/util/performance/priority_queue/timing/push_test.hpp: Same.
646         * testsuite/util/performance/priority_queue/timing/modify_test.hpp: 
647         Same.
648         * testsuite/util/performance/assoc/mem_usage/multimap_insert_test.hpp: 
649         Same.
650         * testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
651         * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
652         * testsuite/util/performance/assoc/timing/multimap_insert_test.hpp: 
653         Same.
654         * testsuite/util/performance/assoc/timing/subscript_find_test.hpp: 
655         Same.
656         * testsuite/util/performance/assoc/timing/find_test.hpp: Same.
657         * testsuite/util/performance/assoc/timing/subscript_insert_test.hpp: 
658         Same.
659         * testsuite/util/performance/assoc/timing/insert_test.hpp: Same.
660         * testsuite/util/performance/assoc/timing/
661         tree_order_statistics_test.hpp: Same.
662         * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
663         * testsuite/util/performance/assoc/timing/tree_split_join_test.hpp: 
664         Same.
665         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
666
667         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Fixup line numbers.
668         
669 2006-09-19  Paolo Carlini  <pcarlini@suse.de>
670
671         * include/tr1/hashtable_policy.h: Uglify all the names.
672         * include/tr1/hashtable: Likewise.
673         * include/tr1/unordered_map: Likewise.
674         * include/tr1/unordered_set: Likewise.
675         * include/tr1/functional: Uglify struct hash names.
676         * include/tr1/cmath: Uglify namespace detail to __detail.
677
678 2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>
679
680         * testsuite/util/regression/res_mng: Remove.
681         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.cc: Merge..
682         * testsuite/util/regression/res_mng/forced_exception.hpp: Merge...
683         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Merge..
684         * testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Merge..
685         * testsuite/util/testsuite_allocator.h (throw_allocator): Merge...
686         * include/ext/throw_allocator.h (throw_allocator): ... into this.
687         * src/throw_allocator.cc: ...and this.
688         * include/Makefile.am (ext_headers): Add.
689         * include/Makefile.in: Regenerate.      
690         * src/Makefile.am (sources): New.
691         * src/Makefile.in: Regenerate.
692         * testsuite/lib/libstdc++.exp: Subtract dbg_ex_allocator_base.cc.
693
694         * include/ext/pb_ds/detail/map_debug_base.hpp: Adjust
695         includes, names, and namespaces.
696         * testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
697         * testsuite/util/regression/rand/priority_queue/detail/
698         erase_fn_imps.hpp: Same.
699         * testsuite/util/regression/rand/priority_queue/detail/
700         constructor_destructor_fn_imps.hpp: Same.
701         * testsuite/util/regression/rand/priority_queue/detail/
702         insert_fn_imps.hpp: Same.
703         * testsuite/util/regression/rand/priority_queue/detail/
704         modify_fn_imps.hpp: Same.
705         * testsuite/util/regression/rand/priority_queue/detail/
706         split_join_fn_imps.hpp: Same.
707         * testsuite/util/regression/rand/priority_queue/detail/
708         operator_fn_imps.hpp: Same.
709         * testsuite/util/regression/rand/priority_queue/
710         container_rand_regression_test.hpp: Same.
711         * testsuite/util/regression/rand/assoc/detail/
712         subscript_fn_imps.hpp: Same.
713         * testsuite/util/regression/rand/assoc/detail/
714         operator_fn_imps.hpp: Same.
715         * testsuite/util/regression/rand/assoc/detail/erase_fn_imps.hpp: Same.
716         * testsuite/util/regression/rand/assoc/detail/
717         constructor_destructor_fn_imps.hpp
718         * testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
719         * testsuite/util/regression/rand/assoc/detail/
720         split_join_fn_imps.hpp: Same.
721         * testsuite/util/regression/rand/assoc/
722         container_rand_regression_test.hpp: Same.
723         * testsuite/util/regression/priority_queue/common_type.hpp: Same.
724         * testsuite/util/regression/assoc/common_type.hpp: Same.
725         * testsuite/util/regression/basic_type.hpp: Same.
726         * testsuite/util/rng/twister_rand_gen.cc: Tweak.
727         
728 2006-09-18  Tom Tromey  <tromey@redhat.com>
729
730         * configure: Rebuilt.
731
732 2006-09-18  Paolo Carlini  <pcarlini@suse.de>
733
734         * include/bits/locale_facets.tcc (_M_group_int): Remove
735         redundant using-declaration.
736
737 2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>
738
739         * include/ext/typelist.h (cond_type): Remove, use __conditional_type.
740
741 2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>
742             Peter Doerfler  <gcc@pdoerfler.com>
743             Paolo Carlini  <pcarlini@suse.de>
744         
745         * include/ext/type_traits.h: New. 
746         (__conditional_type): New.
747         (__numeric_traits): New.
748         (__add_unsigned): New.
749         (__remove_unsigned): New.
750         (__enable_if): New.
751         * include/Makefile.am: Add.
752         * include/Makefile.in: Regenerate.
753         * include/ext/pb_ds/detail/type_utils.hpp: Use ext include,
754         remove duplicates.
755         * include/tr1/hashtable_policy.h (IF): Use __conditional_type.
756         (_Max_digits10): Same.
757         (identity): Use _Identity.
758         (extract1st): Use _Select1st.
759         * include/tr1/random (_Select): Use __conditional_type.
760         (_To_Unsigned_Type): Use __add_unsigned. Linebreak fixups.
761         * include/bits/locale_facets.tcc (__to_unsigned_type): Remove, use
762         __add_unsigned.
763         * include/tr1/random.tcc: Fixups as above.
764         * include/tr1/unordered_map: Same.
765         * include/tr1/hashtable: Same.
766         * include/tr1/unordered_set: Same.
767         * include/ext/pb_ds/detail/gp_hash_table_map_/
768         standard_policies.hpp: Same.
769         * include/ext/pb_ds/detail/standard_policies.hpp: Same.
770         * include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
771         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
772         * include/ext/pb_ds/detail/type_utils.hpp: Same.
773         * include/ext/pb_ds/trie_policy.hpp: Same.
774         * docs/html/ext/pb_ds/string_trie_e_access_traits.html: Same.
775         
776         * include/bits/cpp_type_traits.h (__enable_if): Move to ext, make
777         boolean argument first. 
778         * include/bits/locale_facets.h: Fixups for __enable_if argument
779         and namespace switch.
780         * include/bits/stl_algobase.h: Same.
781         * include/bits/stl_algo.h: Same.
782         * include/bits/stl_iterator.h: Same.
783         * include/bits/streambuf_iterator.h: Same.
784         * include/debug/safe_iterator.h: Same.
785         * include/tr1/hashtable_policy.h: Same.
786         * include/tr1/cmath: Same.
787         * include/tr1/functional: Same.
788         * include/tr1/functional_iterate.h: Same.
789         * include/std/std_streambuf.h: Same.
790         * include/c_std/std_cmath.h: Same.
791         * testsuite/util/testsuite_tr1.h: Same.
792         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
793         
794 2006-09-18  Paolo Carlini  <pcarlini@suse.de>
795
796         PR libstdc++/29063
797         * include/bits/valarray_array.h: Fix typo, undefine
798         _DEFINE_ARRAY_FUNCTION.
799         * include/std/std_valarray.h: Undefine _DEFINE_BINARY_OPERATOR.
800
801 2006-09-14  Benjamin Kosnik  <bkoz@redhat.com>
802
803         * include/bits/concurrence.h (__mutex::__mutex): Pass address of
804         mutex to *_MUTEX_INIT_FUNCTION.
805         
806 2006-09-13  Benjamin Kosnik  <bkoz@redhat.com>  
807
808         * include/bits/atomicity.h: Move to...
809         * include/ext/atomicity.h: ...here.     
810         * include/bits/concurrence.h: Move to...
811         * include/ext/concurrence.h: ...here.
812         * include/Makefile.am (ext_headers): Additions.
813         (bits_headers): Subtractions.
814         * include/Makefile.in: Regenerate.
815
816         * include/ext/bitmap_allocator.h (_Mutex), __threads_enabled,
817         _Lock, _Auto_Lock): Subsume into...
818         * include/bits/concurrence.h (__mutex): ..this. Error check
819         locking and unlocking.  
820         (lock): Uglify to...
821         (__scoped_lock): Use __mutex. 
822         (__glibcxx_mutex_define_initialized): Remove.
823         (__glibcxx_mutex_type): Remove.
824
825         * include/tr1/boost_shared_ptr.h: Formating tweaks, adjustments.
826         (_Lock_policy): Move from here...
827         * include/ext/concurrence.h: ... to here.
828         (__shared_ptr_default_lock_mode): To __default_lock_policy.
829         (_S_lockfree): To _S_atomic.
830         Document.
831
832         * libsupc++/guard.cc (static_mutex): Subsume into and fixup for...
833         * include/ext/concurrence.h (__recursive_mutex): ...this. Error
834         check locking and unlocking.
835         * libsupc++/eh_alloc.cc: Use __scoped_lock.
836
837         * config/os/aix/atomicity.h: Fixups for include paths, mutex to
838         __scoped_mutex change, removal of locking defines.
839         * config/os/irix/atomicity.h: Same.
840         * config/cpu/cris/atomicity.h: Same.
841         * config/cpu/m68k/atomicity.h: Same.
842         * config/cpu/hppa/atomicity.h: Same.
843         * config/cpu/mips/atomicity.h: Same.
844         * config/cpu/sparc/atomicity.h: Same.
845         * config/cpu/i386/atomicity.h: Same.
846         * config/cpu/i486/atomicity.h: Same.
847         * config/cpu/sh/atomicity.h: Same.
848         * config/cpu/generic/atomicity_mutex/atomicity.h: Same.
849         * include/ext/pool_allocator.h: Same.
850         * include/ext/bitmap_allocator.h: Same.
851         * include/ext/rc_string_base.h: Same.
852         * include/ext/mt_allocator.h: Same.
853         * include/bits/locale_classes.h: Same.
854         * include/bits/basic_string.h: Same.
855         * include/bits/ios_base.h: Same.
856         * include/tr1/memory: Same.
857         * src/pool_allocator.cc: Same.
858         * src/mt_allocator.cc: Same.
859         * src/locale_init.cc: Same.
860         * src/ios.cc: Same.
861         * src/locale.cc: Same.
862         * src/bitmap_allocator.cc: Same.
863         * src/ios_init.cc: Same.
864         * src/debug.cc: Same.
865         
866 2006-09-12  Benjamin Kosnik  <bkoz@redhat.com>
867
868         * libsupc++/eh_globals.cc: Remove __gnu_internal.
869         * config/io/basic_file_stdio.cc: Same.
870         * config/abi/compatibility.h: Same.
871         * config/cpu/generic/atomicity_mutex/atomicity.h: Same.
872         * config/cpu/sh/atomicity.h: Same.
873         
874 2006-09-10  Paolo Carlini  <pcarlini@suse.de>
875
876         * include/bits/stl_heap.h (sort_heap): Iterator post-decrement is
877         only required to be convertible to the iterator type.
878
879 2006-09-08  Paolo Carlini  <pcarlini@suse.de>
880
881         * include/tr1/random.tcc (poisson_distribution<>::operator()):
882         Avoid potential warnings when _IntType is unsigned.
883
884 2006-09-08  Benjamin Kosnik  <bkoz@redhat.com>
885
886         * include/debug/debug.h (_GLIBCXX_DEBUG_ONLY): New.
887         * include/ext/bitmap_allocator.h (_BALLOC_SANITY_CHECK,
888         _BALLOC_ASSERT): Remove. Use _GLIBCXX_DEBUG,
889         _GLIBCXX_DEBUG_ASSERT.
890         * include/ext/pb_ds/hash_policy.hpp (PB_DS_DBG_ASSERT): Convert to
891         _GLIBCXX_DEBUG_ASSERT. Formatting corrections.
892         (PB_DS_DBG_VERIFY): Remove, unused.
893         (PB_DS_DBG_ONLY): Convert to _GLIBCXX_DEBUG blocks.
894         * include/ext/pb_ds/detail/resize_policy/
895         hash_load_check_resize_trigger_imp.hpp: Same.
896         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
897         * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
898         * include/ext/pb_ds/detail/binomial_heap_base_/
899         insert_fn_imps.hpp: Same.
900         * include/ext/pb_ds/detail/binomial_heap_base_/
901         binomial_heap_base_.hpp: Same.
902         * include/ext/pb_ds/detail/binomial_heap_base_/
903         constructors_destructor_fn_imps.hpp: Same.
904         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
905         * include/ext/pb_ds/detail/binomial_heap_base_/
906         split_join_fn_imps.hpp: Same.
907         * include/ext/pb_ds/detail/cc_hash_table_map_/
908         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
909         * include/ext/pb_ds/detail/cc_hash_table_map_/
910         erase_store_hash_fn_imps.hpp: Same.
911         * include/ext/pb_ds/detail/cc_hash_table_map_/
912         insert_no_store_hash_fn_imps.hpp: Same.
913         * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
914         * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
915         * include/ext/pb_ds/detail/cc_hash_table_map_/
916         constructor_destructor_store_hash_fn_imps.hpp: Same.
917         * include/ext/pb_ds/detail/cc_hash_table_map_/
918         insert_store_hash_fn_imps.hpp: Same.    
919         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
920         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
921         * include/ext/pb_ds/detail/cc_hash_table_map_/
922         debug_no_store_hash_fn_imps.hpp: Same.
923         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
924         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
925         * include/ext/pb_ds/detail/cc_hash_table_map_/
926         constructor_destructor_fn_imps.hpp: Same.
927         * include/ext/pb_ds/detail/cc_hash_table_map_/
928         debug_store_hash_fn_imps.hpp: Same.
929         * include/ext/pb_ds/detail/cc_hash_table_map_/
930         erase_no_store_hash_fn_imps.hpp: Same.
931         * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
932         * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
933         * include/ext/pb_ds/detail/unordered_iterator/
934         const_point_iterator.hpp: Same.
935         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
936         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
937         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Same.
938         * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
939         * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Same.
940         * include/ext/pb_ds/detail/pat_trie_/
941         constructors_destructor_fn_imps.hpp: Same.
942         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
943         * include/ext/pb_ds/detail/pat_trie_/head.hpp: Same.
944         * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Same.
945         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
946         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
947         * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Same.
948         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
949         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
950         * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Same.
951         * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Same.
952         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Same.
953         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
954         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Same.
955         * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
956         * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
957         * include/ext/pb_ds/detail/bin_search_tree_/
958         constructors_destructor_fn_imps.hpp: Same.
959         * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
960         * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
961         * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
962         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
963         * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
964         * include/ext/pb_ds/detail/bin_search_tree_/
965         split_join_fn_imps.hpp: Same.
966         * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
967         * include/ext/pb_ds/detail/gp_hash_table_map_/
968         constructor_destructor_no_store_hash_fn_imps.hpp: Same.
969         * include/ext/pb_ds/detail/gp_hash_table_map_/
970         erase_store_hash_fn_imps.hpp: Same.
971         * include/ext/pb_ds/detail/gp_hash_table_map_/
972         insert_no_store_hash_fn_imps.hpp: Same.
973         * include/ext/pb_ds/detail/gp_hash_table_map_/
974         resize_store_hash_fn_imps.hpp: Same.    
975         * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
976         * include/ext/pb_ds/detail/gp_hash_table_map_/
977         constructor_destructor_store_hash_fn_imps.hpp: Same.
978         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
979         * include/ext/pb_ds/detail/gp_hash_table_map_/
980         insert_store_hash_fn_imps.hpp: Same.    
981         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
982         * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
983         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
984         * include/ext/pb_ds/detail/gp_hash_table_map_/
985         debug_no_store_hash_fn_imps.hpp: Same.
986         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
987         * include/ext/pb_ds/detail/gp_hash_table_map_/
988         constructor_destructor_fn_imps.hpp: Same.
989         * include/ext/pb_ds/detail/gp_hash_table_map_/
990         debug_store_hash_fn_imps.hpp: Same.
991         * include/ext/pb_ds/detail/gp_hash_table_map_/
992         erase_no_store_hash_fn_imps.hpp: Same.
993         * include/ext/pb_ds/detail/gp_hash_table_map_/
994         resize_no_store_hash_fn_imps.hpp: Same.
995         * include/ext/pb_ds/detail/types_traits.hpp: Same.
996         * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
997         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
998         * include/ext/pb_ds/detail/binary_heap_/
999         constructors_destructor_fn_imps.hpp: Same.      
1000         * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
1001         * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same.
1002         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
1003         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
1004         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
1005         * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
1006         * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
1007         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
1008         * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
1009         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
1010         * include/ext/pb_ds/detail/pairing_heap_/
1011         constructors_destructor_fn_imps.hpp: Same.
1012         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
1013         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
1014         * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
1015         * include/ext/pb_ds/detail/binomial_heap_/
1016         constructors_destructor_fn_imps.hpp: Same.
1017         * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
1018         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
1019         * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
1020         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1021         erase_fn_imps.hpp: Same.
1022         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1023         left_child_next_sibling_heap_.hpp: Same.
1024         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1025         const_iterator.hpp: Same.       
1026         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1027         insert_fn_imps.hpp: Same.       
1028         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1029         constructors_destructor_fn_imps.hpp: Same.
1030         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1031         debug_fn_imps.hpp: Same.
1032         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1033         const_point_iterator.hpp: Same.
1034         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
1035         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
1036         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
1037         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
1038         * include/ext/pb_ds/detail/thin_heap_/
1039         constructors_destructor_fn_imps.hpp: Same.
1040         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
1041         * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
1042         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
1043         * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Same.
1044         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
1045         * include/ext/pb_ds/detail/ov_tree_map_/
1046         constructors_destructor_fn_imps.hpp: Same.      
1047         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1048         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
1049         * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
1050         * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
1051         * include/ext/pb_ds/detail/map_debug_base.hpp: Same.
1052         * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
1053         * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
1054         * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
1055         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
1056         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
1057         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
1058         * include/ext/pb_ds/detail/splay_tree_/
1059         constructors_destructor_fn_imps.hpp: Same.
1060         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
1061         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
1062         * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
1063         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
1064         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
1065         * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
1066         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
1067         * include/ext/pb_ds/detail/list_update_map_/
1068         constructor_destructor_fn_imps.hpp: Same.
1069         * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
1070         * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
1071         * include/ext/pb_ds/detail/list_update_map_/
1072         iterators_fn_imps.hpp: Same.
1073         * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
1074         * include/ext/pb_ds/detail/rc_binomial_heap_/
1075         rc_binomial_heap_.hpp: Same.
1076         * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
1077         * include/ext/pb_ds/detail/rc_binomial_heap_/
1078         constructors_destructor_fn_imps.hpp: Same.
1079         * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
1080         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
1081         * include/ext/pb_ds/detail/rc_binomial_heap_/
1082         split_join_fn_imps.hpp: Same.
1083         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
1084         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
1085         * include/ext/pb_ds/detail/rb_tree_map_/
1086         constructors_destructor_fn_imps.hpp: Same.      
1087         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
1088         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
1089         * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
1090         * testsuite/util/regression/res_mng/forced_exception.hpp: Same.
1091         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Same.
1092         * testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Same.
1093         * testsuite/util/rng/twister_rand_gen.cc
1094         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
1095         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
1096
1097 2006-09-05  Paolo Carlini  <pcarlini@suse.de>
1098
1099         * include/bits/basic_string.tcc (find(const _CharT*, size_type,
1100         size_type)): Robustify.
1101         * include/ext/vstring.tcc (find(const _CharT*, size_type,
1102         size_type)): Likewise.
1103
1104 2006-09-05  Paolo Carlini  <pcarlini@suse.de>
1105
1106         * include/bits/basic_string.tcc (find(const _CharT*, size_type,
1107         size_type)): Reimplement in terms of traits::eq and traits::compare.
1108         * include/ext/vstring.tcc (find(const _CharT*, size_type,
1109         size_type)): Likewise.
1110         * src/string-inst.cc: Remove unneded std::search instantiation.
1111
1112 2006-09-04  Benjamin Kosnik  <bkoz@redhat.com>
1113
1114         PR c++/28871
1115         * include/ext/bitmap_allocator.h: Add comment for end of anonymous
1116         namespace.
1117         * include/ext/rope: Same.
1118         * include/bits/cpp_type_traits.h: Same.
1119         * include/tr1/tuple: Same.
1120         * include/tr1/functional_iterate.h: Same.
1121
1122         * include/bits/cpp_type_traits.h: Revert anonymous namespace
1123         change, use nested detail instead.
1124
1125         * testsuite/lib/libstdc++.exp (libstdc++_init): PCHFLAGS revert to
1126         stdc++.h.
1127         
1128 2006-09-04  Paolo Carlini  <pcarlini@suse.de>
1129
1130         * src/mt_allocator.cc (__pool<true>::_M_reclaim_block): Do
1131         not name a variable __used, badname on BSD.
1132
1133 2006-09-02  Paolo Carlini  <pcarlini@suse.de>
1134             Richard Guenther  <rguenther@suse.de>
1135
1136         PR libstdc++/24469
1137         * src/mt_allocator.cc (__pool<true>::_M_reserve_block,
1138         __pool<true>::_M_reclaim_block): Fix the logic to avoid
1139         races, exploit atomic counters stored in second part of
1140         the memory pointed by _M_used.
1141         (__pool<true>::_M_initialize): Adjust _M_used allocation.
1142         * include/ext/mt_allocator.h (__pool<true>::_Bin_record):
1143         Update comment.
1144
1145 2006-08-31  Benjamin Kosnik  <bkoz@redhat.com>
1146
1147         PR libstdc++/28671 continued
1148         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't use
1149         CXXFLAGS when checking for atomic builtins.
1150         * configure: Regenerate.
1151         * include/bits/atomicity.h: Revert.
1152         
1153 2006-08-31  Richard Guenther  <rguenther@suse.de>
1154
1155         * include/ext/mt_allocator.h: Remove volatile qualifiers
1156         from data members and corresponding locals and function
1157         signatures.
1158
1159 2006-08-31  Paolo Carlini  <pcarlini@suse.de>
1160
1161         * config/abi/pre/gnu.ver: Correct atomic helper function signature
1162         for case where _Atomic_word is long.
1163
1164 2006-08-31  Benjamin Kosnik  <bkoz@redhat.com>
1165
1166         PR libstdc++/28671
1167         * include/bits/atomicity.h (__exchange_and_add): Declare only.
1168         (__atomic_add): Same.
1169         * config/cpu/generic/atomicity_builtins/atomicity.h: Remove comment.
1170         
1171 2006-08-30  Benjamin Kosnik  <bkoz@redhat.com>
1172             Richard Guenther  <rguenther@suse.de>
1173         
1174         * config/abi/pre/gnu.ver: Spell out exact signatures for atomic
1175         access functions.
1176
1177         * include/bits/atomicity.h (__atomic_add_dispatch): Remove
1178         volatile qualification for _Atomic_word argument.
1179         (__atomic_add_single): Same.
1180         (__exchange_and_add_dispatch): Same.
1181         (__exchange_and_add_single): Same.
1182         
1183 2006-08-29  Paolo Carlini  <pcarlini@suse.de>
1184
1185         * include/tr1/random (subtract_with_carry_01<>::_M_initialize_npows):
1186         New.
1187         (subtract_with_carry_01<>::subtract_with_carry_01(),
1188         subtract_with_carry_01<>::subtract_with_carry_01(unsigned long),
1189         subtract_with_carry_01<>::subtract_with_carry_01(_Gen&)): Use it.
1190         * include/tr1/random.tcc: Define.
1191
1192         * include/tr1/random (xor_combine<>::_M_initialize_max()): New.
1193         (xor_combine<>::xor_combine(), xor_combine<>::xor_combine(const
1194         base1_type&, const base2_type&), xor_combine<>::xor_combine(unsigned
1195         long), xor_combine<>::xor_combine(_Gen&)): Use it.
1196         (xor_combine<>::min, xor_combine<>::max): Adjust.
1197         * include/tr1/random.tcc: Define.
1198
1199 2006-08-29  Benjamin Kosnik  <bkoz@redhat.com>
1200
1201         * acinclude.m4(glibcxx_PCHFLAGS): Set to stdtr1c++.h.
1202         * configure: Regenerate.
1203         
1204         * scripts/check_compile: Output current compile line.
1205         
1206 2006-08-28  Benjamin Kosnik  <bkoz@redhat.com>
1207
1208         PR libstdc++/23773 partial
1209         * docs/html/abi.html: Update.
1210
1211 2006-08-28  Roger Sayle  <roger@eyesopen.com>
1212             Paolo Carlini  <pcarlini@suse.de>
1213
1214         * include/bits/stl_algo.h (__heap_select, __introselect): New.
1215         (nth_element): New implementation.
1216         (partial_copy): Use __heap_select.
1217         * testsuite/performance/25_algorithms/nth_element_worst_case.cc: New.
1218
1219 2006-08-28  Paolo Carlini  <pcarlini@suse.de>
1220             Roger Sayle  <roger@eyesopen.com>
1221
1222         * testsuite/25_algorithms/nth_element/2.cc: New.
1223
1224 2006-08-27  Paolo Carlini  <pcarlini@suse.de>
1225
1226         PR libstdc++/28830
1227         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1228         lockfree_weaktoshared.cc: Rename to...
1229         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1230         default_weaktoshared.cc: ... this; test the default base class.
1231         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1232         mutex_weaktoshared.cc: Run like the other thread tests.
1233
1234 2006-08-25  Paolo Carlini  <pcarlini@suse.de>
1235
1236         * docs/html/ext/tr1.html: Update.
1237
1238 2006-08-25  Paolo Carlini  <pcarlini@suse.de>
1239
1240         * include/tr1/random (bernoulli_distribution::operator()): Fix
1241         wrt generators returning integers.
1242         (uniform_int<>::_M_call): Add.
1243         (uniform_int<>::operator()): Use it.
1244
1245         * include/tr1/random (_Adaptor<>::min, _Adaptor<>::max): Add.
1246         (_Adaptor<>::operator()): Allow for nonzero _M_g.min().
1247
1248         * include/tr1/random.tcc (linear_congruential<>::min, max):
1249         Move inline...
1250         (__mod): Move ...
1251         * include/tr1/random: ... here.
1252         (struct _Mod): Declare.
1253
1254         * include/tr1/random (struct _To_Unsigned_Type): Only declare,
1255         move...
1256         * include/tr1/random.tcc: ... here.
1257
1258 2006-08-22  Phillip Jordan  <phillip.m.jordan@gmail.com>
1259
1260         *include/tr1/boost_shared_ptr.h: Added locking policy to
1261         tr1::shared_ptr<> and related classes.
1262         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread: New.
1263         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1264         lockfree_weaktoshared.cc: New.
1265         * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
1266         mutex_weaktoshared.cc: New.
1267         *testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1268         shared_ptr_neg.cc: Modify.
1269         
1270 2006-08-22  Paolo Carlini  <pcarlini@suse.de>
1271
1272         * include/tr1/random.tcc (subtract_with_carry_01<>::
1273         seed(_Gen&, false_type)): Fix _M_carry initialization.
1274         
1275         * testsuite/tr1/5_numerical_facilities/random/
1276         subtract_with_carry/cons/default.cc: Qualify 1 as 1UL.
1277         * testsuite/tr1/5_numerical_facilities/random/
1278         subtract_with_carry/cons/gen1.cc: Likewise.
1279
1280 2006-08-22  Paolo Carlini  <pcarlini@suse.de>
1281
1282         * include/tr1/random (class subtract_with_carry_01<>): Add.
1283         * include/tr1/random.tcc (subtract_with_carry_01<>::
1284         seed(unsigned long), subtract_with_carry_01<>::
1285         seed(_Gen&, false_type), subtract_with_carry_01<>::
1286         operator(), operator<<(std::basic_ostream<>&, const
1287         subtract_with_carry_01<>&), operator>>(std::basic_istream<>&,
1288         subtract_with_carry_01<>&)): Define.
1289         * testsuite/tr1/5_numerical_facilities/random/ranlux3_01.cc:
1290         New.
1291         * testsuite/tr1/5_numerical_facilities/random/ranlux4_01.cc:
1292         Likewise.
1293         * testsuite/tr1/5_numerical_facilities/random/
1294         subtract_with_carry_01/cons/seed1.cc: Likewise.
1295         * testsuite/tr1/5_numerical_facilities/random/
1296         subtract_with_carry_01/cons/seed2.cc: Likewise.
1297         * testsuite/tr1/5_numerical_facilities/random/
1298         subtract_with_carry_01/cons/default.cc: Likewise.
1299         * testsuite/tr1/5_numerical_facilities/random/
1300         subtract_with_carry_01/cons/gen1.cc: Likewise.
1301         * testsuite/tr1/5_numerical_facilities/random/
1302         subtract_with_carry_01/requirements/typedefs.cc: Likewise.
1303         * testsuite/tr1/5_numerical_facilities/random/
1304         subtract_with_carry_01/operators/equal.cc: Likewise.
1305         * testsuite/tr1/5_numerical_facilities/random/
1306         subtract_with_carry_01/operators/not_equal.cc: Likewise.
1307         * testsuite/tr1/5_numerical_facilities/random/
1308         subtract_with_carry_01/operators/serialize.cc: Likewise.
1309
1310         * docs/html/ext/howto.html: Add two implemented TR1 issues.
1311
1312         * include/tr1/random.tcc (struct _To_Unsigned_Type<>): Move...
1313         * include/tr1/random: ... here.
1314         (class subtract_with_carry<>): Use it everywhere.
1315
1316         * testsuite/tr1/5_numerical_facilities/random/
1317         subtract_with_carry/cons/seed1.cc: Qualify 1 as 1UL.
1318         * testsuite/tr1/5_numerical_facilities/random/
1319         subtract_with_carry/cons/seed2.cc: Likewise.
1320         * testsuite/tr1/5_numerical_facilities/random/
1321         subtract_with_carry/cons/default.cc: Likewise.
1322         * testsuite/tr1/5_numerical_facilities/random/
1323         subtract_with_carry/cons/gen1.cc: Likewise.
1324         * testsuite/tr1/5_numerical_facilities/random/
1325         subtract_with_carry/requirements/typedefs.cc: Likewise.
1326         * testsuite/tr1/5_numerical_facilities/random/
1327         subtract_with_carry/operators/equal.cc: Likewise.
1328         * testsuite/tr1/5_numerical_facilities/random/
1329         subtract_with_carry/operators/not_equal.cc: Likewise.
1330         * testsuite/tr1/5_numerical_facilities/random/
1331         subtract_with_carry/operators/serialize.cc: Likewise.
1332
1333         * include/tr1/random (class binomial_distribution<>): Reorder the
1334         data members to save space.
1335
1336 2006-08-20  Paolo Carlini  <pcarlini@suse.de>
1337
1338         * include/tr1/random (gamma_distribution<>::_M_initialize,
1339         gamma_distribution<>::_M_l_d): Add.
1340         (gamma_distribution<>::gamma_distribution(const result_type&),
1341         operator>>(std::basic_istream<>&, gamma_distribution&)): Use it.
1342         include/tr1/random.tcc (gamma_distribution<>::_M_initialize):
1343         Define.
1344         (gamma_distribution<>::operator()): Adjust.
1345
1346         * include/tr1/random (geometric_distribution<>::_M_initialize): Add.
1347         (geometric_distribution<>::geometric_distribution(const _RealType&),
1348         operator>>(std::basic_istream<>&, geometric_distribution&)): Use it.
1349
1350 2006-08-18  Paolo Carlini  <pcarlini@suse.de>
1351
1352         * include/tr1/random (class binomial_distribution<>): Add.
1353         * include/tr1/random.tcc (binomial_distribution<>::operator(),
1354         operator<<(std::basic_ostream<>&, const binomial_distribution<>&),
1355         operator>>(std::basic_istream<>&, binomial_distribution<>&,
1356         binomial_distribution<>::_M_waiting(), binomial_distribution<>::
1357         _M_initialize()): Define.
1358         * testsuite/tr1/5_numerical_facilities/random/binomial_distribution/
1359         requirements/typedefs.cc: New.
1360
1361         * include/tr1/random (geometric_distribution<>::
1362         geometric_distribution(const _RealType&)): Fix DEBUG_ASSERT
1363         limits.
1364
1365         * include/tr1/random (poisson_distribution): Add normal_distribution
1366         member, adjust consistently; minor tweaks and rearrangements of the
1367         arithmetic.
1368         (operator>>(std::basic_istream<>&, poisson_distribution<>&)): Move
1369         out of line.
1370         * include/tr1/random.tcc: Adjust.
1371
1372         * include/tr1/random.tcc (normal_distribution<>::operator()): Minor
1373         tweaks.
1374
1375 2006-08-18  Paolo Carlini  <pcarlini@suse.de>
1376
1377         PR libstdc++/28765
1378         * include/ext/rc_string_base.h (_M_clear): New.
1379         * include/ext/sso_string_base.h (_M_clear): Likewise.
1380         * include/ext/vstring.h (clear): Use it.
1381
1382 2006-08-15  Paolo Carlini  <pcarlini@suse.de>
1383
1384         * include/tr1/random (poisson_distribution<>::_M_initialize): Add.
1385         (poisson_distribution<>::poisson_distribution(const _RealType&):
1386         Use it.
1387         (operator>>(std::basic_istream<>&, poisson_distribution<>&)):
1388         Likewise.
1389         (poisson_distribution<>::_M_large): Remove.
1390         * include/tr1/random.tcc (poisson_distribution<>::_M_initialize):
1391         Define.
1392         (operator<<(std::basic_ostream<>&, const poisson_distribution<>&)):
1393         Do not output the constants.
1394
1395         * include/tr1/random (operator>>(std::basic_istream<>&,
1396         gamma_distribution&)): Minor tweak.
1397         
1398         * include/tr1/random.tcc (poisson_distribution<>::operator()):
1399         Minor tweak.
1400
1401         * include/tr1/random: Consistently, all data members private.
1402
1403 2006-08-15  Paolo Carlini  <pcarlini@suse.de>
1404
1405         * include/tr1/random.tcc (mersenne_twister<>::operator()): Revert
1406         last change (per gcc-patches/2006-08/msg00484.html).
1407
1408 2006-08-14  Paolo Carlini  <pcarlini@suse.de>
1409
1410         * include/tr1/random (class poisson_distribution<>): Add.
1411         * include/tr1/random.tcc (poisson_distribution<>::operator(),
1412         operator<<(std::basic_ostream<>&, const poisson_distribution<>&),
1413         operator>>(std::basic_istream<>&, poisson_distribution<>&,
1414         poisson_distribution<>::poisson_distribution(const _RealType&)):
1415         Define.
1416         * testsuite/tr1/5_numerical_facilities/random/poisson_distribution/
1417         requirements/typedefs.cc: New.
1418
1419         * include/tr1/random.tcc (mersenne_twister<>::operator()): Tweak
1420         a bit for efficiency.
1421         
1422         * include/tr1/random.tcc (operator<<(std::basic_ostream<>&,
1423         const normal_distribution<>&), operator>>(std::basic_istream<>&,
1424         normal_distribution<>&)): Do not output _M_saved unnecessarily.
1425
1426         * include/tr1/random: Trivial formatting fixes.
1427         * include/tr1/cmath: Likewise.
1428
1429 2006-08-11  Paolo Carlini  <pcarlini@suse.de>
1430
1431         * include/bits/stl_bvector.h (__fill_bvector(_Bit_iterator,
1432         _Bit_iterator, bool)): New.
1433         (fill(_Bit_iterator, _Bit_iterator, const bool&)): Use it.
1434
1435 2006-08-10  Paolo Carlini  <pcarlini@suse.de>
1436
1437         * include/tr1/random.tcc (gamma_distribution<>::operator()): Fixes
1438         from the Errata of Devroye's book.
1439
1440 2006-08-10  Paolo Carlini  <pcarlini@suse.de>
1441
1442         * include/bits/stl_bvector.h (_Bit_iterator_base::_M_incr(ptrdiff_t)):
1443         Tidy a bit, thus reducing generated code size.
1444
1445 2006-08-09  Paolo Carlini  <pcarlini@suse.de>
1446
1447         * include/bits/stl_bvector.h (vector<bool>::_M_copy_aligned): New.
1448         (vector<bool>::vector(const vector&), operator=(const vector&),
1449         reserve(size_type), _M_fill_insert(iterator, size_type, bool),
1450         _M_insert_range(iterator, _ForwardIterator, _ForwardIterator,
1451         std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Use it.
1452         * testsuite/performance/23_containers/copy_construct/
1453         vector_bool.cc: New.
1454
1455         * testsuite/23_containers/vector/bool/cons/1.cc: New.
1456         * testsuite/23_containers/vector/bool/cons/2.cc: Likewise.
1457
1458         * include/bits/stl_bvector.h (vector<bool>::_M_fill): Remove.
1459         (fill(_Bit_iterator, _Bit_iterator, const bool&)): New.
1460         (vector<bool>::_M_fill_insert(iterator, size_type, bool)): Adjust.
1461
1462         * include/bits/stl_bvector.h (_M_initialize_range(_InputIterator,
1463         _InputIterator, std::input_iterator_tag)): Remove redundant
1464         assignments.
1465
1466         * include/bits/stl_algo.h (find(istreambuf_iterator<>,
1467         istreambuf_iterator<>, _CharT)): Adjust signature.
1468         * include/bits/streambuf_iterator.h: Likewise.
1469         * include/std/std_streambuf.h: Likewise.        
1470
1471 2006-08-09  Paolo Carlini  <pcarlini@suse.de>
1472
1473         * include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
1474         const _Deque_iterator<>&, const _Tp&)): Move...
1475         * include/bits/deque.tcc: ... here.
1476         * include/bits/stl_deque.h: Declare.
1477
1478 2006-08-06  Paolo Carlini  <pcarlini@suse.de>
1479
1480         PR libstdc++/16611
1481         * include/bits/stl_bvector.h (vector<bool>::operator[],
1482         vector<bool>::operator[] const): Do not use iterator::operator+,
1483         hand code.
1484
1485 2006-08-05  Paolo Carlini  <pcarlini@suse.de>
1486
1487         PR libstdc++/28587
1488         * include/bits/stl_bvector.h (vector<bool>::_M_fill): New.
1489         (vector<bool>::_M_fill_insert): Use it.
1490         * testsuite/performance/23_containers/resize/vector_bool.cc: New.
1491         
1492         * testsuite/23_containers/vector/bool/modifiers/insert/1.cc: New.
1493         * testsuite/23_containers/vector/bool/capacity/1.cc: Likewise.
1494
1495 2006-08-04  Paolo Carlini  <pcarlini@suse.de>
1496
1497         * include/bits/stl_queue.h (priority_queue<>::push,
1498         priority_queue<>::pop): Remove try/catch, just follow the
1499         letter of the Standard.
1500
1501 2006-08-03  Paolo Carlini  <pcarlini@suse.de>
1502
1503         * include/bits/stl_queue.h: Trivial formatting fixes.
1504         * include/bits/stl_stack.h: Likewise.
1505
1506 2006-08-01  Ed Smith-Rowland  <3dw4rd@verizon.net>
1507
1508         * docs/html/ext/tr1.html: Update.
1509
1510 2006-07-31  Paolo Carlini  <pcarlini@suse.de>
1511
1512         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
1513         Find the decimal point in cs, instead of ws; tidy.
1514
1515 2006-07-30  Roger Sayle  <roger@eyesopen.com>
1516
1517         * include/ext/codevt_specializations.h (__iconv_adaptor): Use
1518         identifier _Tp instead of _T in template argument to avoid conflict.
1519
1520 2006-07-30  Paolo Carlini  <pcarlini@suse.de>
1521
1522         * include/bits/stl_algo.h (stable_sort): Uglify the buf variable.
1523         * include/bits/stl_tempbuf.h (_Temporary_buffer<>::
1524         _M_initialize_buffer): Uglify the val parameter.
1525
1526 2006-07-27  Benjamin Kosnik  <bkoz@wells.artheist.org>
1527
1528         PR libstdc++/19664 round 3      
1529         * include/Makefile.am (tr1_headers): Add hashtable_policy.h.
1530         * include/Makefile.in: Regenerate.
1531         * include/tr1/hashtable: Move policy classes into...
1532         * include/tr1/hashtable_policy.h: ... this. New.
1533         
1534         * src/globals_locale.cc: Move contents....
1535         * src/locale_init.cc: ... to here, put in anonymous namespace.
1536         * src/Makefile.am: Remove globals_locale.cc.
1537         * src/Makefile.in: Regenerate.
1538
1539         * src/locale.cc: Convert __gnu_internal to anonymous namespace.
1540         * src/debug.cc: Same.
1541         * src/ext-inst.cc: Same.
1542         * src/mt_allocator.cc: Same.
1543         * src/pool_allocator.cc: Same.
1544         
1545         * include/tr1/random: Convert std::tr1::_Private to anonymous
1546         namespace.
1547         * include/tr1/random.tcc: Same.
1548
1549         * include/tr1/hashtable: Move ::Internal to std::tr1::detail and
1550         enclose bits that can actually be internal in in anonymous
1551         namespace.
1552         * include/tr1/unordered_set: Adjust explicit qualifications for
1553         namespace changes.
1554         * include/tr1/unordered_map: Same.
1555
1556         * include/tr1/cmath: Convert __gnu_internal to nested detail namespace.
1557
1558         * include/bits/cpp_type_traits.h: Move __type_type into anonymous
1559         namespace.
1560         
1561         * include/ext/rope: Change _Rope_constants to anonymous namespace.
1562         * include/ext/ropeimpl.h: Same.
1563         * src/ext-inst.cc: Same.
1564
1565 2006-07-24  Paolo Carlini  <pcarlini@suse.de>
1566
1567         * include/tr1/cinttypes: Simply protect everything with
1568         _GLIBCXX_USE_C99_INTTYPES_TR1.
1569         * include/tr1/cfenv: Likewise with _GLIBCXX_USE_C99_FENV_TR1.
1570         * include/tr1/cstdint: Likewise with _GLIBCXX_USE_C99_STDINT_TR1.
1571
1572 2006-07-21  Benjamin Kosnik  <bkoz@redhat.com>
1573
1574         * include/tr1/random: Make include guards consistent.
1575         * include/tr1/unordered_map: Same.
1576         * include/tr1/hashtable: Same.
1577         * include/tr1/unordered_set: Same.
1578
1579 2006-07-21  Steve Ellcey  <sje@cup.hp.com>
1580
1581         PR target/26792
1582         * configure.ac: Use GCC_CHECK_UNWIND_GETIPINFO to
1583         define HAVE_GETIPINFO.
1584         * aclocal.m4: Add include of ../config/unwind_ipinfo.m4.
1585         * config.h.in: Regenerate.
1586         * configure: Regenerate.
1587         * Makefile.in: Regenerate.
1588         * libmath/Makefile.in: Regenerate.
1589         * include/Makefile.in: Regenerate.
1590         * src/Makefile.in: Regenerate.
1591         * libsupc++/Makefile.in: Regenerate.
1592         * testsuite/Makefile.in: Regenerate.
1593         * po/Makefile.in: Regenerate.
1594         * libsupc++/eh_personality.cc: Check HAVE_GETIPINFO.
1595
1596 2006-07-21  Jason Merrill  <jason@redhat.com>
1597
1598         PR libstdc++/19664 round 2      
1599         * libsupc++/eh_personality.cc: Wrap extern "C" function
1600         definitions in namespace __cxxabiv1.
1601
1602 2006-07-21  David Daney  <ddaney@avtrex.com>
1603
1604         PR libgcj/28426
1605         * acinclude.m4: Added a comment.
1606
1607 2006-07-20  Benjamin Kosnik  <bkoz@redhat.com>
1608             Jakub Jelinek  <jakub@redhat.com>
1609         
1610         PR libstdc++/19664 round 1
1611         * acinclude.m4 (GLIBCXX_ENABLE_VISIBILITY): Check it.
1612         * configure.ac: Use it.
1613         * configure: Regenerate.
1614         * docs/html/configopts.html: Document it.
1615         * include/Makefile.am: Slip in to c++config.
1616         * include/Makefile.in: Regenerate.
1617         * include/bits/c++config (_GLIBCXX_VISIBILITY): New.
1618         (_GLIBCXX_BEGIN_NAMESPACE): Use it.
1619         (_GLIBCXX_END_NAMESPACE): Use it.
1620         (_GLIBCXX_BEGIN_NESTED_NAMESPACE): Use it.
1621         (_GLIBCXX_END_NESTED_NAMESPACE): Use it.                
1622         * src/debug.cc: Mark __gnu_internal namespace with hidden
1623         visibility attribute.
1624         * src/ext-inst.cc: Same.
1625         * src/globals_io.cc: Same.
1626         * src/globals_locale.cc: Same.
1627         * src/ios_init.cc: Same.
1628         * src/locale.cc: Same.
1629         * src/mt_allocator.cc: Same.
1630         * src/pool_allocator.cc: Same.
1631
1632 2006-07-16  Paolo Carlini  <pcarlini@suse.de>
1633
1634         PR libstdc++/28277 (partial: valarray bits)
1635         * include/std/std_valarray.h (valarray<>::shift(int),
1636         valarray<>::cshift(int)): Avoid __builtin_alloca with no limit,
1637         do the work in place.
1638         * testsuite/26_numerics/valarray/28277.cc: New.
1639
1640 2006-07-15  Paolo Carlini  <pcarlini@suse.de>
1641
1642         PR libstdc++/28277 (partial: ostream bits 1)
1643         * include/bits/ostream.tcc (operator<<(basic_ostream<_CharT>&,
1644         const char*)): Avoid __builtin_alloca with no limit in the
1645         widening.
1646         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
1647         28277-1.cc: New.
1648
1649 2006-07-14  Benjamin Kosnik  <bkoz@redhat.com>
1650
1651         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): New.
1652         * configure.ac: Use it.
1653         * configure: Regenerated.
1654         * config.h.in: Regenerated.
1655         * configure.host: Simplify.
1656         * include/bits/atomicity.h: Adjust macros.
1657         * config/cpu/generic/atomicity.h: Move...
1658         * config/cpu/generic/atomicity_mutex: New.
1659         * config/cpu/generic/atomicity_mutex/atomicity.h: ...here.
1660         * config/cpu/generic/atomic_builtins: Rename...
1661         * config/cpu/generic/atomicity_builtins: ...to this.
1662         * config/cpu/generic/atomicity_builtins/atomicity.h: Moved.
1663         * config/cpu/mips/atomicity.h: Comment MIPS II requirement.
1664
1665         * scripts/testsuite_flags.in: Make --cxxflags reflect CXXFLAGS.
1666         
1667 2006-07-14  Paolo Carlini  <pcarlini@suse.de>
1668
1669         * include/tr1/random (minstd_rand0, minstd_rand, ranlux3, ranlux4):
1670         Use unsigned long as implementation-defined type.
1671
1672 2006-07-14  Paolo Carlini  <pcarlini@suse.de>
1673
1674         * include/tr1/random.tcc (struct _To_Unsigned_Type): Add.
1675         (subtract_with_carry<>::seed(_Gen&, false_type)): Use an
1676         unsigned type in the loop, fix factor multiplier, take g
1677         invocations modulo 2^32.
1678
1679         * include/tr1/random.tcc (subtract_with_carry<>::
1680         seed(unsigned long)): Fix value == 0 special case.
1681
1682         * include/tr1/random (struct _Shift): Fix for large shifts.
1683
1684 2006-07-13  Paolo Carlini  <pcarlini@suse.de>
1685
1686         * testsuite/performance/21_strings/string_copy_cons_and_dest.cc: New.
1687
1688 2006-07-13  Benjamin Kosnik  <bkoz@redhat.com>
1689
1690         * include/Makefile.am (pch*_output_anchor): Add.
1691         (pch*_output): Use.
1692         (CLEANFILES): Use.
1693         * include/Makefile.in: Regenerate.
1694         
1695         * scripts/check_performance: Be verbose on compile error.
1696
1697 2006-07-12  Benjamin Kosnik  <bkoz@redhat.com>
1698
1699         * include/Makefile.am: Revert last change.
1700         * include/Makefile.in: Same.
1701
1702 2006-07-12  Benjamin Kosnik  <bkoz@redhat.com>
1703
1704         * include/Makefile.am (pch_output): Don't precompile extc++.h.
1705         (pch_output_dirs): Same.
1706         * include/Makefile.in: Regenerate.
1707
1708         * testsuite/lib/libstdc++.exp: Test PCH with stdtr1c++.h.
1709         
1710 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
1711
1712         * include/ext/codecvt_specializations.h: Fix typo in commit
1713         for libstdc++/28290.
1714
1715 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
1716
1717         * include/bits/locale_facets.tcc (collate<>::do_transform(
1718         const _CharT*, const _CharT*)): Simplify previous fix for
1719         libstdc++/28277, always allocate memory dynamically.
1720
1721 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
1722
1723         PR libstdc++/28344
1724         * include/tr1/random (gamma_distribution<>::
1725         gamma_distribution(const result_type&)): Don't use __alpha as
1726         parameter name, a predefined macro on Alpha systems.
1727
1728 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
1729
1730         PR libstdc++/28290
1731         * include/ext/codecvt_specializations.h: Fix, adding missing
1732         includes and guards.
1733
1734 2006-07-11  Paolo Carlini  <pcarlini@suse.de>
1735
1736         PR libstdc++/28277 (partial: collate bits)
1737         * include/bits/locale_facets.tcc (collate<>::do_transform(
1738         const _CharT*, const _CharT*)): Avoid __builtin_alloca with no
1739         limit; also avoid multiple calls (in a loop).
1740         * testsuite/22_locale/collate/transform/char/28277.cc: New.
1741         * testsuite/22_locale/collate/transform/wchar_t/28277.cc: Likewise.
1742
1743 2006-07-10  Mike Stump  <mrs@apple.com>
1744
1745         * libsupc++/eh_globals.cc (~__eh_globals_init): Unset _M_init.
1746
1747 2006-07-10  Benjamin Kosnik  <bkoz@redhat.com>
1748
1749         PR libstdc++/15448
1750         * include/Makefile.am: Clean up pch rules.
1751         * include/Makefile.in: Regenerate.
1752
1753 2006-07-09  Paolo Carlini  <pcarlini@suse.de>
1754
1755         * include/bits/locale_facets.tcc (__int_to_char<>(_CharT*,
1756         long, const _CharT*, ios_base::fmtflags), __int_to_char<>(_CharT*,
1757         unsigned long, const _CharT*, ios_base::fmtflags),
1758         __int_to_char<>(_CharT*, long long, const _CharT*, ios_base::fmtflags),
1759         __int_to_char<>(_CharT*, unsigned long long, const _CharT*,
1760         ios_base::fmtflags)): Remove.
1761         (__int_to_char<>(_CharT*, _ValueT, const _CharT*, ios_base::fmtflags,
1762         bool)): Adjust.
1763         (num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)):
1764         Likewise.
1765
1766 2006-07-06  Paolo Carlini  <pcarlini@suse.de>
1767
1768         * include/tr1/random (class gamma_distribution<>): Add.
1769         * include/tr1/random.tcc (gamma_distribution<>::operator(),
1770         operator<<(std::basic_ostream<>&, const gamma_distribution<>&)):
1771         Define.
1772         * testsuite/tr1/5_numerical_facilities/random/gamma_distribution/
1773         requirements/typedefs.cc: New.
1774
1775 2006-07-06  Benjamin Kosnik  <bkoz@redhat.com>
1776
1777         * testsuite/util/regression/trait/assoc/trait.hpp: Format.
1778         * testsuite/util/regression/rand/priority_queue/
1779         rand_regression_test.hpp: Same.
1780         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
1781         * testsuite/util/regression/rand/
1782         assoc/container_rand_regression_test.hpp: Same.
1783         * testsuite/util/regression/priority_queue/common_type.hpp: Same.
1784         * testsuite/util/regression/assoc/common_type.hpp: Same.
1785         * testsuite/util/regression/basic_type.hpp: Same.
1786
1787 2006-07-05  Benjamin Kosnik  <bkoz@redhat.com>  
1788
1789         * include/Makefile.am (pch_output): New.
1790         (clean-local): Use it.
1791         * include/Makefile.in: Regenerate.
1792
1793 2006-07-04  Paolo Carlini  <pcarlini@suse.de>
1794
1795         * include/tr1/random (_Adaptor<>::operator()()): Cast 1 to
1796         result_type.
1797         (variate_generator<>::operator()(),
1798         variate_generator<>::operator()(_Tp)): Inline.
1799
1800         * include/tr1/random: Minor cosmetic changes.
1801
1802 2006-07-03  Paolo Carlini  <pcarlini@suse.de>
1803
1804         * include/ext/rc_string_base.h (__rc_string_base::_S_max_size):
1805         Adjust, take into account rounding in _M_create.
1806         (__rc_string_base::_M_create): Add early _S_max_size check.
1807
1808 2006-07-03  Ian Lance Taylor  <ian@airs.com>
1809             Paolo Carlini  <pcarlini@suse.de>
1810
1811         * include/ext/rc_string_base.h (__rc_string_base::_S_max_size):
1812         Increase by a factor of two.
1813         * include/ext/sso_string_base.h (__sso_string_base::_S_max_size):
1814         Likewise.
1815
1816 2006-07-03  Paolo Carlini  <pcarlini@suse.de>
1817
1818         * include/ext/sso_string_base.h (__sso_string_base::_M_create): Never
1819         allocate a string bigger than _S_max_size.
1820
1821 2006-06-29  Benjamin Kosnik  <bkoz@redhat.com>
1822
1823         * include/Makefile.am (pch1_input, pch1_output_builddir,
1824         pch1_outputj_installdir, pch1_source): Move from pch_*.
1825         (pch2_input, pch2_output_builddir,
1826         pch2_output_installdir, pch2_source): Clone for ext.
1827         (pch3_input, pch3_output_builddir,
1828         pch3_output_installdir, pch3_source): Clone for tr1.
1829         (install-pch): Same.
1830         * include/Makefile.in: Regenerate.
1831
1832         * include/precompiled: New directory.
1833         * include/stdc++.h: Move...
1834         * include/precompiled/stdc++.h: ... here.               
1835         * include/precompiled/stdtr1c++.h: New.
1836         * include/precompiled/extc++.h: New.
1837
1838         * testsuite/lib/libstdc++.exp (libstdc++_init): Set PCH_CXXFLAGS
1839         to -include bits/stdtr1c++.h.
1840
1841 2006-06-29  Benjamin Kosnik  <bkoz@redhat.com>
1842
1843         * testsuite/lib/libstdc++.exp (v3_target_compile): Set timeout to
1844         600.
1845
1846 2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>
1847
1848         * testsuite/util/regression/rand/priority_queue/
1849         rand_regression_test.hpp: Revert.
1850
1851 2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>
1852
1853         * include/ext/typelist.h (typelist_append): To append_typelist. 
1854         (typelist): To node.
1855         Enclose in namespace typelist.
1856         * testsuite/util/testsuite_common_types.h: Adjust names, namespaces.
1857         * testsuite/performance/23_containers/find/map.cc: Same.
1858         * testsuite/performance/23_containers/create/map.cc: Same.
1859         * testsuite/performance/23_containers/insert_erase/associative.cc: 
1860         Same.
1861         * testsuite/performance/23_containers/insert/sequence.cc: Same.
1862         * testsuite/performance/23_containers/insert/associative.cc: Same.
1863         * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
1864         * testsuite/performance/23_containers/index/map.cc: Same.
1865         * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
1866         * testsuite/performance/23_containers/create_sort/list.cc: Same.
1867         * testsuite/performance/23_containers/sort_search/list.cc: Same.
1868         * testsuite/performance/23_containers/producer_consumer/sequence.cc: 
1869         Same.
1870         * testsuite/performance/23_containers/producer_consumer/associative.cc:
1871         Same.
1872
1873 2006-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1874
1875         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc:
1876         Reduce iterations by half.
1877         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
1878         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1879         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
1880         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
1881         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
1882         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1883         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1884         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1885
1886         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp:
1887         Set probability of compare from 1 to 0.25.
1888         * testsuite/util/regression/rand/priority_queue/
1889         rand_regression_test.hpp: Same.
1890
1891 2006-06-25  Paolo Carlini  <pcarlini@suse.de>
1892
1893         * include/tr1/random (operator<<(std::basic_ostream<>&,
1894         const linear_congruential<>&), operator>>(std::basic_istream<>&,
1895         linear_congruential<>&), operator<<(std::basic_ostream<>&,
1896         const mersenne_twister<>&), operator>>(std::basic_istream<>&,
1897         mersenne_twister<>&), operator<<(std::basic_ostream<>&,
1898         const subtract_with_carry<>&), operator>>(std::basic_istream<>&,
1899         subtract_with_carry<>&), operator<<(std::basic_ostream<>&,
1900         const discard_block<>&), operator>>(std::basic_istream<>&,
1901         discard_block<>&), operator<<(std::basic_ostream<>&,
1902         const xor_combine<>&), operator>>(std::basic_istream<>&,
1903         xor_combine<>&), operator<<(std::basic_ostream<>&,
1904         const uniform_int<>&), operator>>(std::basic_istream<>&,
1905         uniform_int<>&), operator<<(std::basic_ostream<>&,
1906         const bernoulli_distribution&), operator<<(std::basic_ostream<>&,
1907         const geometric_distribution<>&), operator<<(std::basic_ostream<>&,
1908         const uniform_real<>&), operator>>(std::basic_istream<>&,
1909         uniform_real<>&), operator<<(std::basic_ostream<>&,
1910         const exponential_distribution<>&), operator<<(std::basic_ostream<>&,
1911         const normal_distribution<>&), operator>>(std::basic_istream<>&,
1912         normal_distribution<>&)): Redo per TR1 specs; move out of line...
1913         * include/tr1/random.tcc: ... here.
1914
1915 2006-06-24  Paolo Carlini  <pcarlini@suse.de>
1916
1917         * include/tr1/random (class normal_distribution<>): Add.
1918         * include/tr1/random.tcc (normal_distribution<>::operator()): Define.
1919         
1920         * include/tr1/random.tcc (struct _Max): Remove, "inline" in the
1921         only user, mersenne_twister<>::max().
1922
1923         * include/tr1/random.tcc (struct _Shift): Move...
1924         * include/tr1/random: ... here.
1925
1926         * include/tr1/random.tcc (linear_congruential<>::
1927         linear_congruential(unsigned long), linear_congruential<>::
1928         linear_congruential(_Gen&), mersenne_twister<>::max())): Move inline...
1929         * include/tr1/random: ... here.
1930
1931         * include/tr1/random (exponential_distribution<>::
1932         exponential_distribution(const result_type&)): Add missing
1933         _GLIBCXX_DEBUG_ASSERT.
1934
1935         * testsuite/tr1/5_numerical_facilities/random/
1936         exponential_distribution/requirements/typedefs.cc: New.
1937         * testsuite/tr1/5_numerical_facilities/random/
1938         normal_distribution/requirements/typedefs.cc: Likewise.
1939         * testsuite/tr1/5_numerical_facilities/random/
1940         bernoulli_distribution/requirements/typedefs.cc: Likewise.
1941         * testsuite/tr1/5_numerical_facilities/random/
1942         geometric_distribution/requirements/typedefs.cc: Likewise.
1943
1944 2006-06-23  Benjamin Kosnik  <bkoz@redhat.com>
1945
1946         PR libstdc++/27984
1947         * testsuite/lib/libstdc++.exp (libstdc++_init): Adjust
1948         testing includes.
1949         * docs/html/test.html: Adjust for testsuite changes.
1950         
1951 2006-06-22  Jonathan Lennox  <lennox@cs.columbia.edu>
1952             Paolo Carlini  <pcarlini@suse.de>
1953
1954         * include/ext/pb_ds/detail/resize_policy/
1955         hash_prime_size_policy_imp.hpp: Cast to size_t instead.
1956
1957 2006-06-22  Ami Tavory  <atavory@gmail.com>
1958
1959         * include/ext/pb_ds/detail/resize_policy/
1960         hash_prime_size_policy_imp.hpp: Fix for 64-bit machines.
1961
1962 2006-06-21  Paolo Carlini  <pcarlini@suse.de>
1963
1964         * include/bits/postypes.h (operator==(const fpos<>&, const fpos<>&),
1965         operator!=(const fpos<>&, const fpos<>&)): Add.
1966         * testsuite/27_io/fpos/mbstate_t/6.cc: New.
1967
1968 2006-06-21  Mark Mitchell  <mark@codesourcery.com>
1969
1970         * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When
1971         cross-compiling, put headers in $prefix/$target/include/c++.
1972         * configure: Regenerated.
1973
1974 2006-06-20  Paolo Carlini  <pcarlini@suse.de>
1975
1976         * include/tr1/random.tcc (struct _Private::_Mod_w<>,
1977         _Private::__mod_w<>): Remove.
1978         (struct _Private::_Shift<>): New.
1979         (struct _Private::_Max_w<>): Rename to _Max, use the latter.
1980         (mersenne_twister<>::seed(unsigned long), seed(_Gen&, false_type),
1981         max()): Adjust.
1982
1983 2006-06-20  Vladimir Prus  <vladimir@codesourcery.com>
1984
1985         * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Always return 'true'.
1986
1987 2006-06-19  Paolo Carlini  <pcarlini@suse.de>
1988
1989         * include/tr1/random (xor_combine<>::operator<<): Fix typo.
1990         
1991         * include/tr1/random (bernoulli_distribution::min(),
1992         bernoulli_distribution::max(), geometric_distribution<>::min(),
1993         geometric_distribution<>::max()): Remove.
1994
1995         * include/tr1/random (geometric_distribution<>::operator()):
1996         Simplify formula.
1997
1998         * include/tr1/random: Minor cosmetic changes.
1999
2000         * testsuite/tr1/5_numerical_facilities/random/discard_block/
2001         operators/equal.cc: New.
2002         * testsuite/tr1/5_numerical_facilities/random/discard_block/
2003         operators/not_equal.cc: Likewise.
2004         * testsuite/tr1/5_numerical_facilities/random/discard_block/
2005         operators/serialize.cc: Likewise.
2006         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2007         operators/equal.cc: Likewise.
2008         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2009         operators/not_equal.cc: Likewise.
2010         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2011         operators/serialize.cc: Likewise.
2012
2013 2006-06-17  Ami Tavory  <atavory@gmail.com>
2014             Paolo Carlini  <pcarlini@suse.de>
2015
2016         * testsuite/util/rng/twister_rand_gen.cc: Adapt to simply use
2017         tr1::mt19937.
2018         * testsuite/util/rng/twister_rand_gen.hpp: Likewise.
2019
2020 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
2021
2022         * include/tr1/random (uniform_real<>::uniform_real(_RealType,
2023         _RealType)): Implement.
2024         (uniform_real<>::min()): Likewise.
2025         (uniform_real<>::max()): Likewise.
2026         (uniform_real<>::reset()): Likewise.
2027
2028         * include/tr1/random (class uniform_real<>): Minor cosmetic tweaks.
2029
2030 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
2031
2032         * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format):
2033         Ignore the value of the __err argument.
2034         (time_get<>::do_get_weekday): Likewise.
2035         (time_get<>::do_get_monthname): Likewise.
2036         * testsuite/22_locale/time_get/get_year/wchar_t/5.cc: New.
2037         * testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
2038         * testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
2039         * testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
2040         * testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
2041         * testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
2042         * testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
2043         * testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
2044         * testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
2045         * testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.
2046
2047 2006-06-15  Benjamin Kosnik  <bkoz@redhat.com>
2048
2049         * include/ext/pb_ds/detail/type_utils.hpp (numeric_traits): Add,
2050         const expression interface to std::numeric_limits::min and max
2051         functions.
2052         * include/ext/pb_ds/trie_policy.hpp (string_trie_e_access_traits):
2053         Use it.
2054
2055         * include/ext/pb_ds/detail/resize_policy/
2056         hash_load_check_resize_trigger_imp.hpp: Format.
2057         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
2058
2059 2006-06-15  Paolo Carlini  <pcarlini@suse.de>
2060
2061         * include/tr1/random.tcc (mersenne_twister<>::operator()()):
2062         Reload the last position of the _M_x vector too.
2063
2064 2006-06-15  Paolo Carlini  <pcarlini@suse.de>
2065
2066         * include/tr1/random (class xor_combine): Fix result_type typedef.
2067         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2068         cons/default.cc: New.
2069         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
2070         requirements/typedefs.cc: Tweak.
2071
2072         * include/tr1/random: Minor cosmetic changes.
2073
2074 2006-06-14  Ami Tavory  <atavory@gmail.com>
2075             Benjamin Kosnik  <bkoz@redhat.com>
2076
2077         * include/ext/pb_assoc: Delete.
2078         * include/ext/pb_ds: Add.
2079         * docs/html/ext/pb_assoc: Delete.
2080         * docs/html/ext/pb_ds: Add.
2081         * testsuite/ext/pb_assoc: Delete.
2082         * testsuite/ext/pb_ds: Add.
2083         * testsuite/performance/ext: Add.
2084         * testsuite/performance/ext/pb_ds: Add. 
2085
2086         * testsuite/util/regression: New.
2087         * testsuite/util/rng: New.
2088         * testsuite/util/native_type: New.
2089         * testsuite/util/common_type: New.
2090         * testsuite/util/performance: New.
2091         * testsuite/util/hash_fn: New.
2092         * testsuite/util/io: New.
2093         * testsuite/util/statistic: New.
2094
2095         * scripts/make_graph.py: New.
2096         * scripts/make_graphs.py: New.
2097         * testsuite/data/thirty_years_among_the_dead_preproc.txt: Add.
2098         * testsuite/data/make_graph_htmls.xml: Add.
2099         * testsuite/data/make_graph_test_infos.xml: Add.        
2100
2101         * testsuite/lib/libstdc++.exp (v3-build_support): Add in new
2102         object files for regression testing.
2103         * docs/html/documentation.html: Adjust links.
2104         * include/Makefile.am (install-headers): Update for new sources,
2105         directories.
2106         * include/Makefine.in: Regenerate.
2107         * scripts/testsuite_flags.in: Adjust to testsuite/util path.
2108         * scripts/check_performance: Simplify, adjust for new testsuite output.
2109         * testsuite/Makefile.am (check-performance): Adjust.
2110         (doc-performance): New.
2111         * testsuite/Makefile.in: Regenerate.
2112
2113         * include/ext/pb_ds: New.
2114         * include/ext/pb_ds/assoc_container.hpp: Same.
2115         * include/ext/pb_ds/detail: New.
2116         * include/ext/pb_ds/detail/binomial_heap_base_: New.
2117         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
2118         * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
2119         * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
2120         * include/ext/pb_ds/detail/binomial_heap_base_/binomial_heap_base_.hpp: Same.
2121         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
2122         * include/ext/pb_ds/detail/binomial_heap_base_/constructors_destructor_fn_imps.hpp: Same.
2123         * include/ext/pb_ds/detail/binomial_heap_base_/split_join_fn_imps.hpp: Same.
2124         * include/ext/pb_ds/detail/resize_policy: New.
2125         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
2126         * include/ext/pb_ds/detail/resize_policy/hash_prime_size_policy_imp.hpp: Same.
2127         * include/ext/pb_ds/detail/resize_policy/cc_hash_max_collision_check_resize_trigger_imp.hpp: Same.
2128         * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
2129         * include/ext/pb_ds/detail/resize_policy/sample_resize_trigger.hpp: Same.
2130         * include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp: Same.
2131         * include/ext/pb_ds/detail/resize_policy/hash_exponential_size_policy_imp.hpp: Same.
2132         * include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp: Same.
2133         * include/ext/pb_ds/detail/resize_policy/hash_standard_resize_policy_imp.hpp: Same.
2134         * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same.
2135         * include/ext/pb_ds/detail/cc_hash_table_map_: New.
2136         * include/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp: Same.
2137         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_store_hash_fn_imps.hpp: Same.
2138         * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
2139         * include/ext/pb_ds/detail/cc_hash_table_map_/insert_no_store_hash_fn_imps.hpp: Same.
2140         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_store_hash_fn_imps.hpp: Same.
2141         * include/ext/pb_ds/detail/cc_hash_table_map_/policy_access_fn_imps.hpp: Same.
2142         * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
2143         * include/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp: Same.
2144         * include/ext/pb_ds/detail/cc_hash_table_map_/insert_store_hash_fn_imps.hpp: Same.
2145         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
2146         * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
2147         * include/ext/pb_ds/detail/cc_hash_table_map_/entry_list_fn_imps.hpp: Same.
2148         * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
2149         * include/ext/pb_ds/detail/cc_hash_table_map_/find_store_hash_fn_imps.hpp: Same.
2150         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
2151         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
2152         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
2153         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_no_store_hash_fn_imps.hpp: Same.
2154         * include/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_fn_imps.hpp: Same.
2155         * include/ext/pb_ds/detail/cc_hash_table_map_/cond_key_dtor_entry_dealtor.hpp: Same.
2156         * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
2157         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_store_hash_fn_imps.hpp: Same.
2158         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_no_store_hash_fn_imps.hpp: Same.
2159         * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
2160         * include/ext/pb_ds/detail/cc_hash_table_map_/standard_policies.hpp: Same.
2161         * include/ext/pb_ds/detail/cc_hash_table_map_/iterators_fn_imps.hpp: Same.
2162         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_no_store_hash_fn_imps.hpp: Same.
2163         * include/ext/pb_ds/detail/typelist_assoc_container.hpp: Same.
2164         * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
2165         * include/ext/pb_ds/detail/unordered_iterator: New.
2166         * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
2167         * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
2168         * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
2169         * include/ext/pb_ds/detail/unordered_iterator/const_point_iterator.hpp: Same.
2170         * include/ext/pb_ds/detail/typelist.hpp: Same.
2171         * include/ext/pb_ds/detail/pat_trie_: New.
2172         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
2173         * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
2174         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
2175         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Same.
2176         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
2177         * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
2178         * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Same.
2179         * include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp: Same.
2180         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
2181         * include/ext/pb_ds/detail/pat_trie_/head.hpp: Same.
2182         * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Same.
2183         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
2184         * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
2185         * include/ext/pb_ds/detail/pat_trie_/cond_dtor_entry_dealtor.hpp: Same.
2186         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
2187         * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
2188         * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Same.
2189         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
2190         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
2191         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
2192         * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Same.
2193         * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Same.
2194         * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Same.
2195         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Same.
2196         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
2197         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Same.
2198         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
2199         * include/ext/pb_ds/detail/bin_search_tree_: New.
2200         * include/ext/pb_ds/detail/bin_search_tree_/policy_access_fn_imps.hpp: Same.
2201         * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
2202         * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
2203         * include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp: Same.
2204         * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
2205         * include/ext/pb_ds/detail/bin_search_tree_/cond_dtor_entry_dealtor.hpp: Same.
2206         * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
2207         * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
2208         * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
2209         * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
2210         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
2211         * include/ext/pb_ds/detail/bin_search_tree_/cond_key_dtor_entry_dealtor.hpp: Same.
2212         * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
2213         * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
2214         * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
2215         * include/ext/pb_ds/detail/bin_search_tree_/split_join_fn_imps.hpp: Same.
2216         * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
2217         * include/ext/pb_ds/detail/gp_hash_table_map_: New.
2218         * include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp: Same.
2219         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_store_hash_fn_imps.hpp: Same.
2220         * include/ext/pb_ds/detail/gp_hash_table_map_/insert_no_store_hash_fn_imps.hpp: Same.
2221         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_store_hash_fn_imps.hpp: Same.
2222         * include/ext/pb_ds/detail/gp_hash_table_map_/policy_access_fn_imps.hpp: Same.
2223         * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
2224         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
2225         * include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp: Same.
2226         * include/ext/pb_ds/detail/gp_hash_table_map_/insert_store_hash_fn_imps.hpp: Same.
2227         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
2228         * include/ext/pb_ds/detail/gp_hash_table_map_/iterator_fn_imps.hpp: Same.
2229         * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
2230         * include/ext/pb_ds/detail/gp_hash_table_map_/find_no_store_hash_fn_imps.hpp: Same.
2231         * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
2232         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
2233         * include/ext/pb_ds/detail/gp_hash_table_map_/find_store_hash_fn_imps.hpp: Same.
2234         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
2235         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_no_store_hash_fn_imps.hpp: Same.
2236         * include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_fn_imps.hpp: Same.
2237         * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
2238         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_store_hash_fn_imps.hpp: Same.
2239         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_no_store_hash_fn_imps.hpp: Same.
2240         * include/ext/pb_ds/detail/gp_hash_table_map_/standard_policies.hpp: Same.
2241         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_no_store_hash_fn_imps.hpp: Same.
2242         * include/ext/pb_ds/detail/standard_policies.hpp: Same.
2243         * include/ext/pb_ds/detail/typelist: New.
2244         * include/ext/pb_ds/detail/typelist/typelist_flatten.hpp: Same.
2245         * include/ext/pb_ds/detail/typelist/typelist_contains.hpp: Same.
2246         * include/ext/pb_ds/detail/typelist/typelist_typelist_append.hpp: Same.
2247         * include/ext/pb_ds/detail/typelist/typelist_apply.hpp: Same.
2248         * include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
2249         * include/ext/pb_ds/detail/typelist/typelist_append.hpp: Same.
2250         * include/ext/pb_ds/detail/typelist/typelist_assoc_container_find.hpp: Same.
2251         * include/ext/pb_ds/detail/typelist/typelist_transform.hpp: Same.
2252         * include/ext/pb_ds/detail/typelist/typelist_at_index.hpp: Same.
2253         * include/ext/pb_ds/detail/tree_policy: New.
2254         * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
2255         * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
2256         * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Same.
2257         * include/ext/pb_ds/detail/tree_policy/sample_tree_node_update.hpp: Same.
2258         * include/ext/pb_ds/detail/basic_tree_policy: New.
2259         * include/ext/pb_ds/detail/basic_tree_policy/basic_tree_policy_base.hpp: Same.
2260         * include/ext/pb_ds/detail/basic_tree_policy/null_node_metadata.hpp: Same.
2261         * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: Same.
2262         * include/ext/pb_ds/detail/types_traits.hpp: Same.
2263         * include/ext/pb_ds/detail/binary_heap_: New.
2264         * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
2265         * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
2266         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
2267         * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
2268         * include/ext/pb_ds/detail/binary_heap_/constructors_destructor_fn_imps.hpp: Same.
2269         * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
2270         * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
2271         * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same.
2272         * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
2273         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
2274         * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
2275         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
2276         * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
2277         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
2278         * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
2279         * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
2280         * include/ext/pb_ds/detail/trie_policy: New.
2281         * include/ext/pb_ds/detail/trie_policy/string_trie_e_access_traits_imp.hpp: Same.
2282         * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
2283         * include/ext/pb_ds/detail/trie_policy/sample_trie_node_update.hpp: Same.
2284         * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
2285         * include/ext/pb_ds/detail/trie_policy/prefix_search_node_update_imp.hpp: Same.
2286         * include/ext/pb_ds/detail/trie_policy/sample_trie_e_access_traits.hpp: Same.
2287         * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
2288         * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Same.
2289         * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
2290         * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
2291         * include/ext/pb_ds/detail/pairing_heap_: Name.
2292         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
2293         * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
2294         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
2295         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
2296         * include/ext/pb_ds/detail/pairing_heap_/constructors_destructor_fn_imps.hpp: Same.
2297         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
2298         * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
2299         * include/ext/pb_ds/detail/binomial_heap_: New.
2300         * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
2301         * include/ext/pb_ds/detail/binomial_heap_/constructors_destructor_fn_imps.hpp: Same.
2302         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
2303         * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
2304         * include/ext/pb_ds/detail/type_utils.hpp: Same.
2305         * include/ext/pb_ds/detail/eq_fn: New.
2306         * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
2307         * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
2308         * include/ext/pb_ds/detail/basic_types.hpp: Same.
2309         * include/ext/pb_ds/detail/list_update_policy: New.
2310         * include/ext/pb_ds/detail/list_update_policy/mtf_lu_policy_imp.hpp: Same.
2311         * include/ext/pb_ds/detail/list_update_policy/counter_lu_metadata.hpp: Same.
2312         * include/ext/pb_ds/detail/list_update_policy/sample_update_policy.hpp: Same.
2313         * include/ext/pb_ds/detail/list_update_policy/counter_lu_policy_imp.hpp: Same.
2314         * include/ext/pb_ds/detail/thin_heap_: New.
2315         * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
2316         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
2317         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
2318         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
2319         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
2320         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
2321         * include/ext/pb_ds/detail/thin_heap_/constructors_destructor_fn_imps.hpp: Same.
2322         * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
2323         * include/ext/pb_ds/detail/left_child_next_sibling_heap_: New.
2324         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/trace_fn_imps.hpp: Same.
2325         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/erase_fn_imps.hpp: Same.
2326         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/null_metadata.hpp: Same.
2327         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/policy_access_fn_imps.hpp: Same.
2328         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp: Same.
2329         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/insert_fn_imps.hpp: Same.
2330         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/const_iterator.hpp: Same.
2331         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/debug_fn_imps.hpp: Same.
2332         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp: Same.
2333         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/node.hpp: Same.
2334         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/info_fn_imps.hpp: Same.
2335         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/iterators_fn_imps.hpp: Same.
2336         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/const_point_iterator.hpp: Same.
2337         * include/ext/pb_ds/detail/ov_tree_map_: New.
2338         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
2339         * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
2340         * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Same.
2341         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
2342         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
2343         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
2344         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2345         * include/ext/pb_ds/detail/ov_tree_map_/constructors_destructor_fn_imps.hpp: Same.
2346         * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
2347         * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
2348         * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
2349         * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
2350         * include/ext/pb_ds/detail/map_debug_base.hpp: Same.
2351         * include/ext/pb_ds/detail/hash_fn: New.
2352         * include/ext/pb_ds/detail/hash_fn/linear_probe_fn_imp.hpp: Same.
2353         * include/ext/pb_ds/detail/hash_fn/mod_based_range_hashing.hpp: Same.
2354         * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
2355         * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
2356         * include/ext/pb_ds/detail/hash_fn/direct_mod_range_hashing_imp.hpp: Same.
2357         * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
2358         * include/ext/pb_ds/detail/hash_fn/quadratic_probe_fn_imp.hpp: Same.
2359         * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
2360         * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
2361         * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
2362         * include/ext/pb_ds/detail/hash_fn/mask_based_range_hashing.hpp: Same.
2363         * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
2364         * include/ext/pb_ds/detail/hash_fn/direct_mask_range_hashing_imp.hpp: Same.
2365         * include/ext/pb_ds/detail/splay_tree_: New.
2366         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
2367         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
2368         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
2369         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
2370         * include/ext/pb_ds/detail/splay_tree_/constructors_destructor_fn_imps.hpp: Same.
2371         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
2372         * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
2373         * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
2374         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
2375         * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
2376         * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
2377         * include/ext/pb_ds/detail/list_update_map_: New.
2378         * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
2379         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
2380         * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
2381         * include/ext/pb_ds/detail/list_update_map_/entry_metadata_base.hpp: Same.
2382         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
2383         * include/ext/pb_ds/detail/list_update_map_/constructor_destructor_fn_imps.hpp: Same.
2384         * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
2385         * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
2386         * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
2387         * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
2388         * include/ext/pb_ds/detail/rc_binomial_heap_: New.
2389         * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
2390         * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
2391         * include/ext/pb_ds/detail/rc_binomial_heap_/rc_binomial_heap_.hpp: Same.
2392         * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
2393         * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
2394         * include/ext/pb_ds/detail/rc_binomial_heap_/constructors_destructor_fn_imps.hpp: Same.
2395         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
2396         * include/ext/pb_ds/detail/rc_binomial_heap_/split_join_fn_imps.hpp: Same.
2397         * include/ext/pb_ds/detail/rb_tree_map_: New.
2398         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
2399         * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
2400         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
2401         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
2402         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
2403         * include/ext/pb_ds/detail/rb_tree_map_/constructors_destructor_fn_imps.hpp: Same.
2404         * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
2405         * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
2406         * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
2407         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
2408         * include/ext/pb_ds/list_update_policy.hpp: Same.
2409         * include/ext/pb_ds/exception.hpp: Same.
2410         * include/ext/pb_ds/tree_policy.hpp: Same.
2411         * include/ext/pb_ds/tag_and_trait.hpp: Same.
2412         * include/ext/pb_ds/hash_policy.hpp: Same.
2413         * include/ext/pb_ds/trie_policy.hpp: Same.
2414         * include/ext/pb_ds/priority_queue.hpp: Same.
2415
2416         * docs/html/ext/pb_ds: New.
2417         * docs/html/ext/pb_ds/container_tag.html: Same.
2418         * docs/html/ext/pb_ds/trivial_iterator_tag.html: Same.
2419         * docs/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png
2420         * docs/html/ext/pb_ds/sample_trie_e_access_traits.html: Same.
2421         * docs/html/ext/pb_ds/gp_hash_table.html: Same.
2422         * docs/html/ext/pb_ds/priority_queue_tag_cd.svg
2423         * docs/html/ext/pb_ds/container_cd.svg
2424         * docs/html/ext/pb_ds/linear_probe_fn.html: Same.
2425         * docs/html/ext/pb_ds/hash_random_int_erase_mem_usage_test_local.png
2426         * docs/html/ext/pb_ds/quadratic_probe_fn.html: Same.
2427         * docs/html/ext/pb_ds/assoc_regression_tests.html: Same.
2428         * docs/html/ext/pb_ds/tree_tag.html: Same.
2429         * docs/html/ext/pb_ds/hash_random_int_erase_mem_usage_test.html: Same.
2430         * docs/html/ext/pb_ds/interface.html: Same.
2431         * docs/html/ext/pb_ds/hash_zlob_random_int_find_timing_test_msvc.png
2432         * docs/html/ext/pb_ds/hash_random_int_subscript_find_timing_test.html: Same.
2433         * docs/html/ext/pb_ds/lu_based_containers.html: Same.
2434         * docs/html/ext/pb_ds/embedded_lists_3.png
2435         * docs/html/ext/pb_ds/tree_text_find_find_timing_test.html: Same.
2436         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_hash_local.png
2437         * docs/html/ext/pb_ds/assoc_performance_tests.html: Same.
2438         * docs/html/ext/pb_ds/list_update.html: Same.
2439         * docs/html/ext/pb_ds/priority_queue_random_int_push_pop_timing_test_gcc.png
2440         * docs/html/ext/pb_ds/tree_text_insert_timing_test_pat_trie_local.png
2441         * docs/html/ext/pb_ds/point_iterators_range_ops_1.png
2442         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_insert_msvc.png
2443         * docs/html/ext/pb_ds/hash_zlob_random_int_find_timing_test_gcc.png
2444         * docs/html/ext/pb_ds/text_find_timing_test_tree_like_msvc.png
2445         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_tree_local.png
2446         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_local.png
2447         * docs/html/ext/pb_ds/tree_text_insert_timing_test_pat_trie_msvc.png
2448         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test.html: Same.
2449         * docs/html/ext/pb_ds/move_to_front_lu_policy.html: Same.
2450         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_hash_gcc.png
2451         * docs/html/ext/pb_ds/hash_random_int_find_find_timing_test.html: Same.
2452         * docs/html/ext/pb_ds/string_trie_e_access_traits.html: Same.
2453         * docs/html/ext/pb_ds/prerequisites.html: Same.
2454         * docs/html/ext/pb_ds/gp_hash_tag.html: Same.
2455         * docs/html/ext/pb_ds/priority_queue_tag_cd.png
2456         * docs/html/ext/pb_ds/container_cd.png
2457         * docs/html/ext/pb_ds/priority_queue_text_join_timing_test_gcc.png
2458         * docs/html/ext/pb_ds/container_base.html: Same.
2459         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_hash_msvc.png
2460         * docs/html/ext/pb_ds/tree_random_int_find_find_timing_test.html: Same.
2461         * docs/html/ext/pb_ds/binary_priority_queue_random_int_push_timing_test_msvc.png
2462         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_find_local.png
2463         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_find_gcc.png
2464         * docs/html/ext/pb_ds/priority_queue_text_push_pop_timing_test_msvc.png
2465         * docs/html/ext/pb_ds/random_int_find_find_timing_test_tree_msvc.png
2466         * docs/html/ext/pb_ds/text_find_timing_test_hash_local.png
2467         * docs/html/ext/pb_ds/tree_text_insert_timing_test_node_tree_msvc.png
2468         * docs/html/ext/pb_ds/ov_tree_tag.html: Same.
2469         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_hash_local.png
2470         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_hash_msvc.png
2471         * docs/html/ext/pb_ds/priority_queue_text_pop_mem_usage_test_msvc.png
2472         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_pairing_thin_msvc.png
2473         * docs/html/ext/pb_ds/list_update_tag.html: Same.
2474         * docs/html/ext/pb_ds/balls_and_bins.png
2475         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_tree_local.png
2476         * docs/html/ext/pb_ds/disclaimer.html: Same.
2477         * docs/html/ext/pb_ds/insert_error.html: Same.
2478         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_hash_gcc.png
2479         * docs/html/ext/pb_ds/ccgp_hash_random_int_subscript_timing_test_insert_gcc.png
2480         * docs/html/ext/pb_ds/examples.html: Same.
2481         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small.html: Same.
2482         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_pop_timing_test_gcc.png
2483         * docs/html/ext/pb_ds/sample_probe_fn.html: Same.
2484         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_hash_local.png
2485         * docs/html/ext/pb_ds/priority_queue_text_push_timing_test.html: Same.
2486         * docs/html/ext/pb_ds/priority_queue_random_int_push_timing_test_gcc.png
2487         * docs/html/ext/pb_ds/null_mapped_type.html: Same.
2488         * docs/html/ext/pb_ds/binary_priority_queue_random_int_push_timing_test_gcc.png
2489         * docs/html/ext/pb_ds/tree_order_statistics_timing_test_gcc.png
2490         * docs/html/ext/pb_ds/associative_container_tag.html: Same.
2491         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_tree_local.png
2492         * docs/html/ext/pb_ds/design.html: Same.
2493         * docs/html/ext/pb_ds/cc_hash_max_collision_check_resize_trigger.html: Same.
2494         * docs/html/ext/pb_ds/pairing_heap_tag.html: Same.
2495         * docs/html/ext/pb_ds/tree_text_lor_find_timing_test_gcc.png
2496         * docs/html/ext/pb_ds/references.html: Same.
2497         * docs/html/ext/pb_ds/tree_order_statistics_timing_test_msvc.png
2498         * docs/html/ext/pb_ds/hash_load_check_resize_trigger.html: Same.
2499         * docs/html/ext/pb_ds/priority_queue_text_pop_mem_usage_test_gcc.png
2500         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_pairing_thin_gcc.png
2501         * docs/html/ext/pb_ds/hash_random_int_erase_mem_usage_test_gcc.png
2502         * docs/html/ext/pb_ds/pq_different_underlying_dss.png
2503         * docs/html/ext/pb_ds/insert_resize_sequence_diagram1.png
2504         * docs/html/ext/pb_ds/pq_regression_tests.html: Same.
2505         * docs/html/ext/pb_ds/sample_tree_node_update.html: Same.
2506         * docs/html/ext/pb_ds/invalidation_guarantee_erase.png
2507         * docs/html/ext/pb_ds/basic_invalidation_guarantee.html: Same.
2508         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_hash_local.png
2509         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_hash_gcc.png
2510         * docs/html/ext/pb_ds/hash_zlob_random_int_find_timing_test_local.png
2511         * docs/html/ext/pb_ds/point_iterators_range_ops_2.png
2512         * docs/html/ext/pb_ds/null_probe_fn.html: Same.
2513         * docs/html/ext/pb_ds/hash_prime_size_policy.html: Same.
2514         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_hash_msvc.png
2515         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_gcc.png
2516         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_tree_local.png
2517         * docs/html/ext/pb_ds/binary_priority_queue_random_int_push_timing_test_local.png
2518         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_hash_msvc.png
2519         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_tree_gcc.png
2520         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large.html: Same.
2521         * docs/html/ext/pb_ds/sample_resize_policy.html: Same.
2522         * docs/html/ext/pb_ds/binomial_heap_tag.html: Same.
2523         * docs/html/ext/pb_ds/priority_queue_text_pop_mem_usage_test_local.png
2524         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_pairing_thin_local.png
2525         * docs/html/ext/pb_ds/tree_text_lor_find_find_timing_test.html: Same.
2526         * docs/html/ext/pb_ds/priority_queue_text_join_timing_test_msvc.png
2527         * docs/html/ext/pb_ds/trie_based_containers.html: Same.
2528         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_insert_gcc.png
2529         * docs/html/ext/pb_ds/tree_split_join_timing_test_local.png
2530         * docs/html/ext/pb_ds/text_find_timing_test_hash_gcc.png
2531         * docs/html/ext/pb_ds/motivation.html: Same.
2532         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_tree_msvc.png
2533         * docs/html/ext/pb_ds/tree_split_join_timing_test_gcc.png
2534         * docs/html/ext/pb_ds/tree.html: Same.
2535         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_hash_gcc.png
2536         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_insert_msvc.png
2537         * docs/html/ext/pb_ds/invalidation_guarantee_cd.png
2538         * docs/html/ext/pb_ds/tutorial.html: Same.
2539         * docs/html/ext/pb_ds/null_trie_node_update.html: Same.
2540         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_gcc.png
2541         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_tree_msvc.png
2542         * docs/html/ext/pb_ds/ccgp_hash_random_int_subscript_timing_test_insert_local.png
2543         * docs/html/ext/pb_ds/point_iterators_cd.png
2544         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_hash_local.png
2545         * docs/html/ext/pb_ds/priority_queue_random_int_push_pop_timing_test_local.png
2546         * docs/html/ext/pb_ds/rb_tree_tag.html: Same.
2547         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_find_msvc.png
2548         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_timing_test_msvc.png
2549         * docs/html/ext/pb_ds/tree_text_insert_timing_test_pat_trie_gcc.png
2550         * docs/html/ext/pb_ds/exceptions.html: Same.
2551         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_msvc.png
2552         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_tree_local.png
2553         * docs/html/ext/pb_ds/hash_policy_cd.png
2554         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_tree_gcc.png
2555         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small.html: Same.
2556         * docs/html/ext/pb_ds/ds_gen.html: Same.
2557         * docs/html/ext/pb_ds/hash_exponential_size_policy.html: Same.
2558         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_insert_local.png
2559         * docs/html/ext/pb_ds/hash_random_int_erase_mem_usage_test_msvc.png
2560         * docs/html/ext/pb_ds/index.html: Same.
2561         * docs/html/ext/pb_ds/binary_heap_tag.html: Same.
2562         * docs/html/ext/pb_ds/basic_hash_tag.html: Same.
2563         * docs/html/ext/pb_ds/trie_order_statistics_node_update.html: Same.
2564         * docs/html/ext/pb_ds/sample_resize_trigger.html: Same.
2565         * docs/html/ext/pb_ds/priority_queue_text_push_timing_test_local.png
2566         * docs/html/ext/pb_ds/hash_text_find_find_timing_test.html: Same.
2567         * docs/html/ext/pb_ds/tree_text_insert_timing_test.html: Same.
2568         * docs/html/ext/pb_ds/trie_tag.html: Same.
2569         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_find_local.png
2570         * docs/html/ext/pb_ds/pq_tests.html: Same.
2571         * docs/html/ext/pb_ds/insert_resize_sequence_diagram2.png
2572         * docs/html/ext/pb_ds/node_invariant_invalidations.png
2573         * docs/html/ext/pb_ds/priority_queue_text_modify_down_timing_test_msvc.png
2574         * docs/html/ext/pb_ds/resize_policy_cd.png
2575         * docs/html/ext/pb_ds/embedded_lists_1.png
2576         * docs/html/ext/pb_ds/hash_ranged_hash_range_hashing_fns.png
2577         * docs/html/ext/pb_ds/null_lu_metadata.html: Same.
2578         * docs/html/ext/pb_ds/tree_order_statistics_timing_test.html: Same.
2579         * docs/html/ext/pb_ds/trie_prefix_search_node_update.html: Same.
2580         * docs/html/ext/pb_ds/hash_range_hashing_seq_diagram.png
2581         * docs/html/ext/pb_ds/point_invalidation_guarantee.html: Same.
2582         * docs/html/ext/pb_ds/direct_mod_range_hashing.html: Same.
2583         * docs/html/ext/pb_ds/tree_text_insert_timing_test_vector_tree_local.png
2584         * docs/html/ext/pb_ds/priority_queue_random_int_push_pop_timing_test_msvc.png
2585         * docs/html/ext/pb_ds/misc.html: Same.
2586         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_hash_local.png
2587         * docs/html/ext/pb_ds/counter_lu_policy.html: Same.
2588         * docs/html/ext/pb_ds/different_underlying_dss.png
2589         * docs/html/ext/pb_ds/restoring_node_invariants.png
2590         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large.html: Same.
2591         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_timing_test_local.png
2592         * docs/html/ext/pb_ds/sample_update_policy.html: Same.
2593         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_timing_test_gcc.png
2594         * docs/html/ext/pb_ds/tree_order_statistics_timing_test_local.png
2595         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_tree_msvc.png
2596         * docs/html/ext/pb_ds/simple_list.png
2597         * docs/html/ext/pb_ds/text_find_timing_test_hash_msvc.png
2598         * docs/html/ext/pb_ds/assoc_examples.html: Same.
2599         * docs/html/ext/pb_ds/priority_queue_text_push_pop_timing_test_local.png
2600         * docs/html/ext/pb_ds/hash_based_containers.html: Same.
2601         * docs/html/ext/pb_ds/text_find_timing_test_tree_like_local.png
2602         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_tree_local.png
2603         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_tree_gcc.png
2604         * docs/html/ext/pb_ds/tree_node_iterator.html: Same.
2605         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_pairing_thin_msvc.png
2606         * docs/html/ext/pb_ds/trie_node_iterator.html: Same.
2607         * docs/html/ext/pb_ds/tree_based_containers.html: Same.
2608         * docs/html/ext/pb_ds/hash_random_int_subscript_insert_timing_test.html: Same.
2609         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_tree_msvc.png
2610         * docs/html/ext/pb_ds/ccgp_hash_random_int_subscript_timing_test_insert_msvc.png
2611         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_hash_msvc.png
2612         * docs/html/ext/pb_ds/priority_queue_text_push_timing_test_gcc.png
2613         * docs/html/ext/pb_ds/rationale_null_node_updator.png
2614         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_pairing_thin_local.png
2615         * docs/html/ext/pb_ds/lu.png
2616         * docs/html/ext/pb_ds/assoc_container_traits.html: Same.
2617         * docs/html/ext/pb_ds/gp_hash_random_int_find_timing_test_msvc.png
2618         * docs/html/ext/pb_ds/assoc_design.html: Same.
2619         * docs/html/ext/pb_ds/splay_tree_tag.html: Same.
2620         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_find_gcc.png
2621         * docs/html/ext/pb_ds/priority_queue_random_int_push_timing_test.html: Same.
2622         * docs/html/ext/pb_ds/assoc_container_tag_cd.svg
2623         * docs/html/ext/pb_ds/resize_error.html: Same.
2624         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_hash_msvc.png
2625         * docs/html/ext/pb_ds/tree_text_insert_timing_test_node_tree_gcc.png
2626         * docs/html/ext/pb_ds/priority_queue_text_join_timing_test.html: Same.
2627         * docs/html/ext/pb_ds/basic_tree_assoc_container_const_node_iterator.html: Same.
2628         * docs/html/ext/pb_ds/gp_hash_random_int_find_timing_test_gcc.png
2629         * docs/html/ext/pb_ds/trie_const_node_iterator.html: Same.
2630         * docs/html/ext/pb_ds/hash_zlob_random_int_find_find_timing_test.html: Same.
2631         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_tree_gcc.png
2632         * docs/html/ext/pb_ds/sample_size_policy.html: Same.
2633         * docs/html/ext/pb_ds/tree_text_insert_timing_test_vector_tree_gcc.png
2634         * docs/html/ext/pb_ds/cc_hash_table.html: Same.
2635         * docs/html/ext/pb_ds/node_invariants.png
2636         * docs/html/ext/pb_ds/tree_split_join_timing_test_msvc.png
2637         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test.html: Same.
2638         * docs/html/ext/pb_ds/tree_order_statistics_node_update.html: Same.
2639         * docs/html/ext/pb_ds/cc_hash_random_int_find_timing_test_msvc.png
2640         * docs/html/ext/pb_ds/cc_hash_random_int_subscript_timing_test_insert_local.png
2641         * docs/html/ext/pb_ds/priority_queue.html: Same.
2642         * docs/html/ext/pb_ds/assoc_tests.html: Same.
2643         * docs/html/ext/pb_ds/assoc_container_tag_cd.png
2644         * docs/html/ext/pb_ds/basic_hash_table.html: Same.
2645         * docs/html/ext/pb_ds/basic_tree_tag.html: Same.
2646         * docs/html/ext/pb_ds/tree_split_join_timing_test.html: Same.
2647         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_local.png
2648         * docs/html/ext/pb_ds/insert_resize_sequence_diagram3.png
2649         * docs/html/ext/pb_ds/embedded_lists_2.png
2650         * docs/html/ext/pb_ds/random_int_find_find_timing_test_tree_local.png
2651         * docs/html/ext/pb_ds/sample_ranged_probe_fn.html: Same.
2652         * docs/html/ext/pb_ds/random_int_find_find_timing_test_tree_gcc.png
2653         * docs/html/ext/pb_ds/sample_trie_node_update.html: Same.
2654         * docs/html/ext/pb_ds/introduction.html: Same.
2655         * docs/html/ext/pb_ds/pq_performance_tests.html: Same.
2656         * docs/html/ext/pb_ds/pat_trie.png
2657         * docs/html/ext/pb_ds/range_invalidation_guarantee.html: Same.
2658         * docs/html/ext/pb_ds/contact.html: Same.
2659         * docs/html/ext/pb_ds/sample_range_hashing.html: Same.
2660         * docs/html/ext/pb_ds/priority_queue_random_int_push_timing_test_local.png
2661         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large_s2p_hash_gcc.png
2662         * docs/html/ext/pb_ds/update_seq_diagram.png
2663         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_large_s2p_tree_gcc.png
2664         * docs/html/ext/pb_ds/direct_mask_range_hashing.html: Same.
2665         * docs/html/ext/pb_ds/tests.html: Same.
2666         * docs/html/ext/pb_ds/cc_hash_random_int_find_timing_test_gcc.png
2667         * docs/html/ext/pb_ds/tree_node_updator_policy_cd.png
2668         * docs/html/ext/pb_ds/text_find_timing_test_tree_like_gcc.png
2669         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_large.html: Same.
2670         * docs/html/ext/pb_ds/trie_node_updator_policy_cd.png
2671         * docs/html/ext/pb_ds/priority_queue_random_int_push_timing_test_msvc.png
2672         * docs/html/ext/pb_ds/concepts.html: Same.
2673         * docs/html/ext/pb_ds/pq_examples.html: Same.
2674         * docs/html/ext/pb_ds/priority_queue_tag.html: Same.
2675         * docs/html/ext/pb_ds/priority_queue_random_int_push_pop_timing_test.html: Same.
2676         * docs/html/ext/pb_ds/update_policy_cd.png
2677         * docs/html/ext/pb_ds/thin_heap_tag.html: Same.
2678         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_pop_timing_test_msvc.png
2679         * docs/html/ext/pb_ds/basic_tree.html: Same.
2680         * docs/html/ext/pb_ds/null_hash_fn.html: Same.
2681         * docs/html/ext/pb_ds/null_tree_node_update.html: Same.
2682         * docs/html/ext/pb_ds/priority_queue_text_modify_up_timing_test_pairing_thin_gcc.png
2683         * docs/html/ext/pb_ds/trie.html: Same.
2684         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small_s2p_tree_msvc.png
2685         * docs/html/ext/pb_ds/rc_binomial_heap_tag.html: Same.
2686         * docs/html/ext/pb_ds/priority_queue_text_push_timing_test_msvc.png
2687         * docs/html/ext/pb_ds/pq_container_traits.html: Same.
2688         * docs/html/ext/pb_ds/pq_design.html: Same.
2689         * docs/html/ext/pb_ds/checked_by_tidy.gif
2690         * docs/html/ext/pb_ds/tree_text_insert_timing_test_node_tree_local.png
2691         * docs/html/ext/pb_ds/multimap_text_insert_mem_usage_test_small_s2p_hash_gcc.png
2692         * docs/html/ext/pb_ds/priority_queue_text_push_pop_timing_test.html: Same.
2693         * docs/html/ext/pb_ds/multimap_text_insert_timing_test_small_s2p_tree_gcc.png
2694         * docs/html/ext/pb_ds/pairing_priority_queue_text_push_pop_timing_test_local.png
2695         * docs/html/ext/pb_ds/acks.html: Same.
2696         * docs/html/ext/pb_ds/gp_hash_random_int_find_timing_test_local.png
2697         * docs/html/ext/pb_ds/cc_hash_tag.html: Same.
2698         * docs/html/ext/pb_ds/sample_ranged_hash_fn.html: Same.
2699         * docs/html/ext/pb_ds/multimap_text_find_timing_test_large_s2p_tree_msvc.png
2700         * docs/html/ext/pb_ds/priority_queue_text_pop_mem_usage_test.html: Same.
2701         * docs/html/ext/pb_ds/multimap_text_find_timing_test_small.html: Same.
2702         * docs/html/ext/pb_ds/tree_text_lor_find_timing_test_msvc.png
2703         * docs/html/ext/pb_ds/hash_range_hashing_seq_diagram2.png
2704         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_find_msvc.png
2705         * docs/html/ext/pb_ds/PythonPoweredSmall.gif
2706         * docs/html/ext/pb_ds/cc_hash_random_int_find_timing_test_local.png
2707         * docs/html/ext/pb_ds/pat_trie_tag.html: Same.
2708         * docs/html/ext/pb_ds/hash_standard_resize_policy.html: Same.
2709         * docs/html/ext/pb_ds/tree_text_insert_timing_test_vector_tree_msvc.png
2710         * docs/html/ext/pb_ds/gp_hash_random_int_subscript_timing_test_insert_gcc.png
2711         * docs/html/ext/pb_ds/join_error.html: Same.
2712         * docs/html/ext/pb_ds/priority_queue_text_push_pop_timing_test_gcc.png
2713         * docs/html/ext/pb_ds/priority_queue_text_join_timing_test_local.png
2714
2715         * testsuite/ext/pb_ds: New.
2716         * testsuite/ext/pb_ds/regression: New.
2717         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2718         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
2719         * testsuite/ext/pb_ds/regression/associative_containers.cc: Same.
2720         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
2721         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2722         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
2723         * testsuite/ext/pb_ds/regression/priority_queues.cc: Same.
2724         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2725         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
2726         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2727         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2728         * testsuite/ext/pb_ds/example: New.
2729         * testsuite/ext/pb_ds/example/hash_shift_mask.cc: Same.
2730         * testsuite/ext/pb_ds/example/basic_set.cc: Same.
2731         * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Same.
2732         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Same.
2733         * testsuite/ext/pb_ds/example/store_hash.cc: Same.
2734         * testsuite/ext/pb_ds/example/assoc_container_traits.cc: Same.
2735         * testsuite/ext/pb_ds/example/hash_load_set_change.cc: Same.
2736         * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
2737         * testsuite/ext/pb_ds/example/hash_resize.cc: Same.
2738         * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
2739         * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
2740         * testsuite/ext/pb_ds/example/basic_multiset.cc: Same.
2741         * testsuite/ext/pb_ds/example/priority_queue_xref.cc: Same.
2742         * testsuite/ext/pb_ds/example/hash_find_neg.cc: Same.
2743         * testsuite/ext/pb_ds/example/erase_if.cc: Same.
2744         * testsuite/ext/pb_ds/example/priority_queue_container_traits.cc: Same.
2745         * testsuite/ext/pb_ds/example/tree_join.cc: Same.
2746         * testsuite/ext/pb_ds/example/basic_map.cc: Same.
2747         * testsuite/ext/pb_ds/example/trie_split.cc: Same.
2748         * testsuite/ext/pb_ds/example/priority_queue_split_join.cc: Same.
2749         * testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc: Same.
2750         * testsuite/ext/pb_ds/example/priority_queue_erase_if.cc: Same.
2751         * testsuite/ext/pb_ds/example/hash_mod.cc: Same.
2752         * testsuite/ext/pb_ds/example/tree_order_statistics_join.cc: Same.
2753         * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
2754         * testsuite/ext/pb_ds/example/hash_initial_size.cc: Same.
2755         * testsuite/ext/pb_ds/example/basic_priority_queue.cc: Same.
2756         * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
2757         * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
2758         * testsuite/performance/ext: New.
2759         * testsuite/performance/ext/pb_ds: New.
2760         * testsuite/performance/ext/pb_ds/multimap_text_find_timing_small.cc: Same.
2761         * testsuite/performance/ext/pb_ds/text_find_timing.cc: Same.
2762         * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc: Same.
2763         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
2764         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_down_timing.cc: Same.
2765         * testsuite/performance/ext/pb_ds/random_int_subscript_find_timing.cc: Same.
2766         * testsuite/performance/ext/pb_ds/priority_queue_text_push_timing.cc: Same.
2767         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
2768         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
2769         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing_large.cc: Same.
2770         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp: Same.
2771         * testsuite/performance/ext/pb_ds/priority_queue_random_int_push_timing.cc: Same.
2772         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp: Same.
2773         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp: Same.
2774         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
2775         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_up_timing.cc: Same.
2776         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage_large.cc: Same.
2777         * testsuite/performance/ext/pb_ds/priority_queue_text_push_pop_timing.cc: Same.
2778         * testsuite/performance/ext/pb_ds/multimap_text_find_timing_large.cc: Same.
2779         * testsuite/performance/ext/pb_ds/priority_queue_text_join_timing.cc: Same.
2780         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing_small.cc: Same.
2781         * testsuite/performance/ext/pb_ds/priority_queue_random_int_push_pop_timing.cc: Same.
2782         * testsuite/performance/ext/pb_ds/random_int_subscript_insert_timing.cc: Same.
2783         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
2784         * testsuite/performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc: Same.
2785         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp: Same.
2786         * testsuite/performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc: Same.
2787         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage_small.cc: Same.
2788         * testsuite/data/make_graph_test_infos.xml: Same.
2789         * testsuite/data/thirty_years_among_the_dead_preproc.txt: New.
2790         * testsuite/data/make_graph_htmls.xml: Same.
2791         * testsuite/util/regression: New.
2792         * testsuite/util/regression/trait: New.
2793         * testsuite/util/regression/trait/priority_queue: New.
2794         * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
2795         * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
2796         * testsuite/util/regression/trait/assoc: New.
2797         * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
2798         * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
2799         * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
2800         * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
2801         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2802         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2803         * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
2804         * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
2805         * testsuite/util/regression/rand: New.
2806         * testsuite/util/regression/rand/priority_queue: New.
2807         * testsuite/util/regression/rand/priority_queue/detail: New.
2808         * testsuite/util/regression/rand/priority_queue/detail/erase_fn_imps.hpp: Same.
2809         * testsuite/util/regression/rand/priority_queue/detail/cmp_fn_imps.hpp: Same.
2810         * testsuite/util/regression/rand/priority_queue/detail/policy_access_fn_imps.hpp: Same.
2811         * testsuite/util/regression/rand/priority_queue/detail/defs_fn_imps.hpp: Same.
2812         * testsuite/util/regression/rand/priority_queue/detail/it_conversion_fn_imps.hpp: Same.
2813         * testsuite/util/regression/rand/priority_queue/detail/constructor_destructor_fn_imps.hpp: Same.
2814         * testsuite/util/regression/rand/priority_queue/detail/diagnostic_fn_imps.hpp: Same.
2815         * testsuite/util/regression/rand/priority_queue/detail/insert_fn_imps.hpp: Same.
2816         * testsuite/util/regression/rand/priority_queue/detail/clear_fn_imps.hpp: Same.
2817         * testsuite/util/regression/rand/priority_queue/detail/modify_fn_imps.hpp: Same.
2818         * testsuite/util/regression/rand/priority_queue/detail/split_join_fn_imps.hpp: Same.
2819         * testsuite/util/regression/rand/priority_queue/detail/operator_fn_imps.hpp: Same.
2820         * testsuite/util/regression/rand/priority_queue/rand_regression_test.hpp: Same.
2821         * testsuite/util/regression/rand/priority_queue/container_rand_regression_test.hpp: Same.
2822         * testsuite/util/regression/rand/io: New.
2823         * testsuite/util/regression/rand/io/priority_queue: New.
2824         * testsuite/util/regression/rand/io/priority_queue/xml_formatter.hpp: Same.
2825         * testsuite/util/regression/rand/io/assoc: New.
2826         * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: Same.
2827         * testsuite/util/regression/rand/io/xml_formatter.hpp: Same.
2828         * testsuite/util/regression/rand/assoc: New.
2829         * testsuite/util/regression/rand/assoc/detail: New.
2830         * testsuite/util/regression/rand/assoc/detail/subscript_fn_imps.hpp: Same.
2831         * testsuite/util/regression/rand/assoc/detail/cmp_fn_imps.hpp: Same.
2832         * testsuite/util/regression/rand/assoc/detail/policy_access_fn_imps.hpp: Same.
2833         * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
2834         * testsuite/util/regression/rand/assoc/detail/it_conversion_fn_imps.hpp: Same.
2835         * testsuite/util/regression/rand/assoc/detail/diagnostic_fn_imps.hpp: Same.
2836         * testsuite/util/regression/rand/assoc/detail/clear_fn_imps.hpp: Same.
2837         * testsuite/util/regression/rand/assoc/detail/get_set_load_fn_imps.hpp: Same.
2838         * testsuite/util/regression/rand/assoc/detail/operator_fn_imps.hpp: Same.
2839         * testsuite/util/regression/rand/assoc/detail/erase_fn_imps.hpp: Same.
2840         * testsuite/util/regression/rand/assoc/detail/resize_fn_imps.hpp: Same.
2841         * testsuite/util/regression/rand/assoc/detail/constructor_destructor_fn_imps.hpp: Same.
2842         * testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
2843         * testsuite/util/regression/rand/assoc/detail/split_join_fn_imps.hpp: Same.
2844         * testsuite/util/regression/rand/assoc/detail/get_set_loads_fn_imps.hpp: Same.
2845         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
2846         * testsuite/util/regression/rand/assoc/container_rand_regression_test.hpp: Same.
2847         * testsuite/util/regression/priority_queue: New.
2848         * testsuite/util/regression/priority_queue/common_type.hpp: Same.
2849         * testsuite/util/regression/basic_type.hpp: Same.
2850         * testsuite/util/regression/assoc: New.
2851         * testsuite/util/regression/assoc/common_type.hpp: Same.
2852         * testsuite/util/regression/res_mng: New.
2853         * testsuite/util/regression/res_mng/forced_exception.hpp: Same.
2854         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.cc: Same.
2855         * testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Same.
2856         * testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Same.
2857         * testsuite/util/rng: New.
2858         * testsuite/util/rng/twister_rand_gen.cc: Same.
2859         * testsuite/util/rng/twister_rand_gen.hpp: Same.
2860         * testsuite/util/native_type: New.
2861         * testsuite/util/native_type/priority_queue: New.
2862         * testsuite/util/native_type/priority_queue/native_priority_queue.hpp: Same.
2863         * testsuite/util/native_type/priority_queue/native_pq_tag.hpp: Same.
2864         * testsuite/util/native_type/assoc: New.
2865         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
2866         * testsuite/util/native_type/assoc/native_tree_tag.hpp: Same.
2867         * testsuite/util/native_type/assoc/native_set.hpp: Same.
2868         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
2869         * testsuite/util/native_type/assoc/native_map.hpp: Same.
2870         * testsuite/util/native_type/assoc/native_hash_tag.hpp: Same.
2871         * testsuite/util/native_type/assoc/native_hash_set.hpp: Same.
2872         * testsuite/util/native_type/assoc/native_hash_map.hpp: Same.
2873         * testsuite/util/common_type: New.
2874         * testsuite/util/common_type/priority_queue
2875         * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
2876         * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
2877         * testsuite/util/common_type/priority_queue/detail
2878         * testsuite/util/common_type/priority_queue/detail/ds_string_form.hpp: Same.
2879         * testsuite/util/common_type/assoc: New.
2880         * testsuite/util/common_type/assoc/common_type.hpp: Same.
2881         * testsuite/util/common_type/assoc/string_form.hpp: Same.
2882         * testsuite/util/common_type/assoc/template_policy.hpp: Same.
2883         * testsuite/util/common_type/assoc/detail: New.
2884         * testsuite/util/common_type/assoc/detail/resize_policy_string_form.hpp: Same.
2885         * testsuite/util/common_type/assoc/detail/trigger_policy_string_form.hpp: Same.
2886         * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
2887         * testsuite/util/common_type/assoc/detail/comb_hash_fn_string_form.hpp: Same.
2888         * testsuite/util/common_type/assoc/detail/size_policy_string_form.hpp: Same.
2889         * testsuite/util/common_type/assoc/detail/probe_fn_string_form.hpp: Same.
2890         * testsuite/util/common_type/assoc/detail/tree_supports_order_statistics.hpp: Same.
2891         * testsuite/util/common_type/assoc/detail/trie_supports_prefix_search.hpp: Same.
2892         * testsuite/util/common_type/assoc/detail/list_update_policy_string_form.hpp: Same.
2893         * testsuite/util/common_type/assoc/detail/trie_supports_order_statistics.hpp: Same.
2894         * testsuite/util/common_type/assoc/detail/store_hash_string_form.hpp: Same.
2895         * testsuite/util/common_type/assoc/native_set.hpp: Same.
2896         * testsuite/util/performance: New.
2897         * testsuite/util/performance/priority_queue: New.
2898         * testsuite/util/performance/priority_queue/mem_usage: New.
2899         * testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp: Same.
2900         * testsuite/util/performance/priority_queue/timing: New.
2901         * testsuite/util/performance/priority_queue/timing/push_pop_test.hpp: Same.
2902         * testsuite/util/performance/priority_queue/timing/push_test.hpp: Same.
2903         * testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
2904         * testsuite/util/performance/priority_queue/timing/modify_test.hpp: Same.
2905         * testsuite/util/performance/io: New.
2906         * testsuite/util/performance/io/xml_formatter.hpp: Same.
2907         * testsuite/util/performance/assoc: New.
2908         * testsuite/util/performance/assoc/mem_usage: New.
2909         * testsuite/util/performance/assoc/mem_usage/multimap_insert_test.hpp: Same.
2910         * testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
2911         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
2912         * testsuite/util/performance/assoc/timing: New.
2913         * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
2914         * testsuite/util/performance/assoc/timing/multimap_insert_test.hpp: Same.
2915         * testsuite/util/performance/assoc/timing/subscript_find_test.hpp: Same.
2916         * testsuite/util/performance/assoc/timing/find_test.hpp: Same.
2917         * testsuite/util/performance/assoc/timing/subscript_insert_test.hpp: Same.
2918         * testsuite/util/performance/assoc/timing/insert_test.hpp: Same.
2919         * testsuite/util/performance/assoc/timing/tree_order_statistics_test.hpp: Same.
2920         * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
2921         * testsuite/util/performance/assoc/timing/tree_split_join_test.hpp: Same.
2922         * testsuite/util/performance/time: New.
2923         * testsuite/util/performance/time/elapsed_timer.cc: Same.
2924         * testsuite/util/performance/time/elapsed_timer.hpp: Same.
2925         * testsuite/util/performance/time/timing_test_base.hpp: Same.
2926         * testsuite/util/performance/mem: New.
2927         * testsuite/util/performance/mem/mem_track_allocator_base.hpp: Same.
2928         * testsuite/util/performance/mem/mem_track_allocator.hpp: Same.
2929         * testsuite/util/hash_fn: New.
2930         * testsuite/util/hash_fn/limit_string_hash_fn.hpp: Same.
2931         * testsuite/util/hash_fn/string_ranged_hash_fn.hpp: Same.
2932         * testsuite/util/hash_fn/string_hash_fn.hpp: Same.
2933         * testsuite/util/hash_fn/string_ranged_probe_fn.hpp: Same.
2934         * testsuite/util/hash_fn/dna_str_limit.hpp: Same.
2935         * testsuite/util/io: New.
2936         * testsuite/util/io/prog_bar.cc: Same.
2937         * testsuite/util/io/prog_bar.hpp: Same.
2938         * testsuite/util/io/text_populate.hpp: Same.
2939         * testsuite/util/io/xml.hpp: Same.
2940         * testsuite/util/io/illegal_input_error.hpp: Same.
2941         * testsuite/util/io/xml_test_formatter.hpp: Same.
2942         * testsuite/util/io/verified_cmd_line_input.cc: Same.
2943         * testsuite/util/io/verified_cmd_line_input.hpp: Same.
2944         * testsuite/util/statistic: New.
2945         * testsuite/util/statistic/sample_var.hpp: Same.
2946         * testsuite/util/statistic/res_recorder.hpp: Same.
2947         * testsuite/util/statistic/sample_mean.hpp: Same.
2948         * testsuite/util/statistic/sample_mean_confidence_checker.hpp: Same.
2949         
2950 2006-06-12  Paolo Carlini  <pcarlini@suse.de>
2951
2952         PR libstdc++/26970
2953         * config/locale/gnu/c_locale.h (__convert_from_v<>): Change to
2954         variadic function, instead of template function.
2955         * config/locale/generic/c_locale.h (__convert_from_v<>): Likewise.
2956         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2957         Adjust.
2958         (money_put<>::do_put(long double)): Likewise.
2959         * src/locale-misc-inst.cc: Remove.
2960         * src/Makefile.am: Adjust.
2961         * src/Makefile.in: Regenerate.
2962
2963 2006-06-09  Paolo Carlini  <pcarlini@suse.de>
2964
2965         * include/tr1/random (random_device::random_device(const
2966         std::string& = "/dev/urandom")): Open in binary mode.
2967
2968         * include/tr1/random (random_device::random_device(const
2969         std::string& = "rand")): Use mersenne_twister.
2970         (random_device::_M_strtoul): New.
2971         (random_device::operator()()): Update.
2972
2973         * include/tr1/random: Minor stylistic changes, consistently
2974         qualify with std::.
2975
2976 2006-06-09  Paolo Carlini  <pcarlini@suse.de>
2977
2978         * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): New, check for
2979         the availability of "/dev/random" and "/dev/urandom".
2980         * configure.ac: Use it.
2981         * include/tr1/random (random_device): Implement, a fall-back for
2982         systems not providing "/dev/random" and "/dev/urandom" included.
2983         * testsuite/tr1/5_numerical_facilities/random/random_device/
2984         cons/default.cc: New.
2985         * testsuite/tr1/5_numerical_facilities/random/random_device/
2986         cons/token.cc: Likewise.
2987         * testsuite/tr1/5_numerical_facilities/random/random_device/
2988         requirements/typedefs.cc: Likewise.
2989         * config.h.in: Regenerate.
2990         * configure: Likewise.
2991
2992         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
2993         cons/gen1.cc: Minor tweak, add bool test.
2994
2995 2006-06-06  Benjamin Kosnik  <bkoz@redhat.com>
2996
2997         * testsuite/util: New directory.
2998         * testsuite/testsuite_hooks.cc: Move to util sub-directory.
2999         * testsuite/testsuite_abi_check.cc: Same.
3000         * testsuite/testsuite_abi.cc: Same.
3001         * testsuite/testsuite_tr1.h: Same.
3002         * testsuite/testsuite_io.h: Same.
3003         * testsuite/testsuite_iterators.h: Same.
3004         * testsuite/testsuite_allocator.cc: Same.
3005         * testsuite/testsuite_allocator.h: Same.
3006         * testsuite/testsuite_hooks.h: Same.
3007         * testsuite/testsuite_character.cc: Same.
3008         * testsuite/testsuite_abi.h: Same.
3009         * testsuite/testsuite_character.h: Same.
3010         * testsuite/testsuite_visualization.h: Same.
3011         * testsuite/testsuite_performance.h: Same.
3012         * testsuite/testsuite_shared.cc: Same.
3013         * testsuite/testsuite_common_types.h: Same.
3014
3015         * testsuite/lib/libstdc++.exp (v3-build_support): Adjust paths.
3016         * testsuite/libstdc++-abi/abi.exp: Same.
3017         * testsuite/libstdc++-dg/conformance.exp: Remove any files in the
3018         utilities subdirectory from the list of test cases.
3019         
3020         * scripts/testsuite_flags.in (build-includes): Adjust path for
3021         testsuite includes.
3022         * scripts/create_testsuite_files (dlist): Don't let utility files
3023         creep into the testsuite_files list.
3024         
3025 2006-06-06  Paolo Carlini  <pcarlini@suse.de>
3026
3027         * include/tr1/random (mersenne_twister<>::operator==,
3028         operator!=, operator<<, operator>>): Implement.
3029         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
3030         operators/equal.cc: New.        
3031         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
3032         operators/not_equal.cc: Likewise.
3033         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
3034         operators/serialize.cc: Likewise.
3035
3036         * include/tr1/random (subtract_with_carry<>::operator==): Fix,
3037         compare the whole state; use std::equal.
3038
3039         * include/tr1/random: Minor formatting and style changes.
3040
3041 2006-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3042
3043         * testsuite/tr1/5_numerical_facilies: Move to...
3044         * testsuite/tr1/5_numerical_facilities: ...this.        
3045
3046 2006-06-06  Paolo Carlini  <pcarlini@suse.de>
3047
3048         * include/tr1/random: Trivial uglification fixes.
3049         * include/tr1/random.tcc: Likewise.
3050
3051         * include/tr1/random (subtract_with_carry<>::
3052         subtract_with_carry(_IntType)): Fix parameter type to unsigned long.
3053         (subtract_with_carry<>::seed(_IntType)): Likewise.
3054         * include/tr1/random.tcc (subtract_with_carry<>::seed(_IntType)):
3055         Adjust.
3056
3057 2006-06-05  Paolo Carlini  <pcarlini@suse.de>
3058
3059         * include/tr1/random (mersenne_twister<>::seed()): Fix per
3060         tr1/5.1.4.2, p8.
3061         * include/tr1/random.tcc (mod_w): Add.
3062         (mersenne_twister<>::seed(unsigned long)): Fix per tr1/5.1.4.2, p9.
3063         (mersenne_twister<>::seed(Gen&, false_type)): Adjust to use mod_w.
3064         * testsuite/tr1/5_numerical_facilies/random/mt19937.cc: Fix
3065         expected result per tr1/5.1.5, p2.
3066         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3067         cons/default.cc: Adjust.
3068
3069         * include/tr1/random (exponential_distribution<>::operator()()): Fix.
3070
3071 2006-06-05  Paolo Carlini  <pcarlini@suse.de>
3072
3073         * include/tr1/random.tcc (Max::value()): Cast 1 to Tp(1) and
3074         adjust shift count to w; rename as Max_w.
3075         (struct Mod_w): New.
3076         (mersenne_twister<>::seed(Gen&, false_type): Use the latter.
3077         (mersenne_twister<>::operator()()): Fix ~0ul to ~_UInt().
3078         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3079         cons/default.cc: Fix ~0ul to 2^32-1.
3080         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3081         cons/gen1.cc: Likewise.
3082
3083 2006-06-05  Stephen M. Webb  <stephen.webb@bregmasoft.com>
3084
3085         * include/tr1/random: New.
3086         * include/tr1/random.tcc: Likewise.
3087         * include/Makefile.am: Add.
3088         * testsuite/tr1/5_numerical_facilies/random/ranlux3.cc: New.
3089         * testsuite/tr1/5_numerical_facilies/random/ranlux4.cc: Likewise.
3090         * testsuite/tr1/5_numerical_facilies/random/mt19937.cc: Likewise.
3091         * testsuite/tr1/5_numerical_facilies/random/variate_generator/
3092         requirements/typedefs.cc: Likewise.
3093         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3094         cons/seed1.cc: Likewise.
3095         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3096         cons/seed2.cc: Likewise.
3097         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3098         cons/default.cc: Likewise.
3099         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3100         cons/gen1.cc: Likewise.
3101         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3102         requirements/typedefs.cc: Likewise.
3103         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3104         operators/equal.cc: Likewise.
3105         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3106         operators/not_equal.cc: Likewise.
3107         * testsuite/tr1/5_numerical_facilies/random/subtract_with_carry/
3108         operators/serialize.cc: Likewise.
3109         * testsuite/tr1/5_numerical_facilies/random/uniform_real/
3110         requirements/typedefs.cc: Likewise.
3111         * testsuite/tr1/5_numerical_facilies/random/discard_block/
3112         requirements/requirements.cc: Likewise.
3113         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3114         cons/seed1.cc: Likewise.
3115         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3116         cons/seed2.cc: Likewise.
3117         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3118         cons/default.cc: Likewise.
3119         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3120         cons/gen1.cc: Likewise.
3121         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3122         requirements/non_uint_neg.cc: Likewise.
3123         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3124         requirements/typedefs.cc: Likewise.
3125         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3126         operators/equal.cc: Likewise.
3127         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3128         operators/not_equal.cc: Likewise.
3129         * testsuite/tr1/5_numerical_facilies/random/linear_congruential/
3130         operators/serialize.cc: Likewise.
3131         * testsuite/tr1/5_numerical_facilies/random/xor_combine/
3132         requirements/typedefs.cc: Likewise.
3133         * testsuite/tr1/5_numerical_facilies/random/minstd_rand.cc: Likewise.
3134         * testsuite/tr1/5_numerical_facilies/random/minstd_rand0.cc: Likewise.
3135         * testsuite/tr1/5_numerical_facilies/random/uniform_int/
3136         cons/range.cc: Likewise.
3137         * testsuite/tr1/5_numerical_facilies/random/uniform_int/
3138         cons/default.cc: Likewise.
3139         * testsuite/tr1/5_numerical_facilies/random/uniform_int/
3140         cons/range_neg.cc: Likewise.
3141         * testsuite/tr1/5_numerical_facilies/random/uniform_int/
3142         requirements/typedefs.cc: Likewise.
3143         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3144         cons/seed1.cc: Likewise.
3145         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3146         cons/seed2.cc: Likewise.
3147         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3148         cons/default.cc: Likewise.
3149         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3150         cons/gen1.cc: Likewise.
3151         * testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
3152         requirements/typedefs.cc: Likewise.
3153         * include/Makefile.in: Regenerate.
3154         * testsuite/tr1/headers.cc: Update.
3155
3156 2006-06-04  Paolo Carlini  <pcarlini@suse.de>
3157
3158         PR libstdc++/27867
3159         * include/bits/valarray_before.h (struct _BinClos<_Oper, _ValArray,
3160         _ValArray, _Tp, _Tp>): Fix value_type typedef.
3161         * testsuite/26_numerics/valarray/27867.cc: New.
3162
3163 2006-05-29  Paolo Carlini  <pcarlini@suse.de>
3164
3165         PR libstdc++/24692
3166         * include/bits/atomicity.h (__exchange_and_add_multi,
3167         __atomic_add_multi): New, depending on _GLIBCXX_ATOMIC_BUILTINS,
3168         inline the atomic builtins.
3169         (__exchange_and_add_dispatch, __atomic_add_dispatch): Adjust.
3170         * configure.ac: Define _GLIBCXX_ATOMIC_BUILTINS when the atomic
3171         builtins are available.
3172         * configure: Regenerate.
3173         * config.h.in: Likewise.
3174
3175 2006-05-27  Paolo Carlini  <pcarlini@suse.de>
3176
3177         * configure.host: If the CPU provides atomic builtins select
3178         generic/atomic_builtins/atomicity.h.
3179         * config/cpu/generic/atomic_builtins/atomicity.h: Add.
3180         * config/cpu/powerpc/atomicity.h: Remove.
3181         * config/cpu/ia64/atomicity.h: Likewise.
3182         * config/cpu/alpha/atomicity.h: Likewise.
3183         * config/cpu/s390/atomicity.h: Likewise.
3184
3185 2006-05-26  Carlos O'Donell  <carlos@codesourcery.com>
3186
3187         * Makefile.am: Add install-html target. Add install-html to .PHONY
3188         * Makefile.in: Regenerate.
3189
3190 2006-05-24  Paolo Carlini  <pcarlini@suse.de>
3191
3192         PR libstdc++/24704
3193         * include/bits/atomicity.h (__exchange_and_add_single,
3194         __atomic_add_single): New, single thread versions of the atomic
3195         functions.
3196         (__exchange_and_add_dispatch, __atomic_add_dispatch): New,
3197         depending on __GTHREADS and __gthread_active_p() dispatch either
3198         to the above or to the existing atomic functions.
3199         * include/ext/pool_allocator.h: Update callers.
3200         * include/ext/rc_string_base.h: Likewise.
3201         * include/bits/locale_classes.h: Likewise.
3202         * include/bits/basic_string.h: Likewise.
3203         * include/bits/ios_base.h: Likewise.
3204         * include/tr1/boost_shared_ptr.h: Likewise.
3205         * src/ios.cc: Likewise.
3206         * src/locale.cc: Likewise.
3207         * src/ios_init.cc: Likewise.
3208
3209 2006-05-23  Paolo Carlini  <pcarlini@suse.de>
3210
3211         * testsuite/testsuite_shared.cc: Fix --enable-threads=single build.
3212
3213 2006-05-19  Paolo Carlini  <pcarlini@suse.de>
3214
3215         * testsuite/27_io/objects/wchar_t/9661-1.cc: Avoid leaking the
3216         semaphores if a VERIFY fails.
3217         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3218         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3219         * testsuite/27_io/objects/char/7.cc: Likewise.
3220         * testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: Likewise.
3221         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
3222         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3223         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Likewise.
3224         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3225         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3226
3227 2006-05-17  Paolo Carlini  <pcarlini@suse.de>
3228
3229         * include/tr1/hashtable (hashtable<>::m_find): Remove; update callers.
3230
3231         * include/tr1/hashtable (map_base<>::operator[]): Move out of line.
3232
3233         * include/tr1/hashtable (hashtable<>::m_insert(const value_type&,
3234         std::tr1::false_type)): Avoid memory leak risk for new_node.
3235
3236 2006-05-15  Paolo Carlini  <pcarlini@suse.de>
3237
3238         * include/tr1/hashtable (hashtable<>::m_find, m_insert_bucket): Add.
3239         (hashtable<>::find, m_insert(const value_type&, std::tr1::true_type),
3240         map_base<>::operator[]): Use the above.
3241         * testsuite/performance/23_containers/insert/unordered_map_array.cc:
3242         New.    
3243
3244         * include/tr1/hashtable (hashtable<>::find_node,
3245         insert(const value_type&, ...), erase_node): Rename to m_*, adjust
3246         callers.
3247         * include/tr1/hashtable: Minor cosmetic changes.
3248
3249 2006-05-13  Peter Doerfler  <gcc@pdoerfler.com>
3250
3251         * include/tr1/hashtable (identity<>::operator(),
3252         extract1st<>::operator()): Return by const ref.
3253
3254 2006-05-10  Steve Ellcey  <sje@cup.hp.com>
3255
3256         * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit):
3257         Move to gcc subdir.
3258         * testsuite/lib/dg-options.exp (dg-require-iconv): Remove.
3259         (dg-require-cxa-atexit): Move to gcc subdir.
3260
3261 2006-05-10  Paolo Carlini  <pcarlini@suse.de>
3262             Peter Doerfler  <gcc@pdoerfler.com>
3263
3264         * include/tr1/hashtable (hashtable_iterator<>::hashtable_iterator(),
3265         hashtable_const_iterator<>::hashtable_const_iterator(),
3266         node_iterator<>::node_iterator(),
3267         node_const_iterator<>::node_const_iterator()): Add.
3268         (node_iterator<>::node_iterator(hash_node<>*),
3269         node_const_iterator<>::node_const_iterator(hash_node<>*)): Tweak,
3270         remove default.
3271         * testsuite/tr1/6_containers/unordered/hashtable/
3272         iterators_default_constructor.c: New.
3273
3274 2006-05-10  Marc Glisse  <marc.glisse@normalesup.org>
3275
3276         * include/ext/pool_allocator.h: Add missing std:: qualifications.
3277         * include/ext/mt_allocator.h: Likewise.
3278         * include/ext/pb_assoc/detail/resize_policy/
3279         hash_load_check_resize_trigger_imp.hpp: Likewise.
3280         * include/ext/pb_assoc/detail/resize_policy/
3281         hash_standard_resize_policy_imp.hpp: Likewise.
3282         * include/ext/pb_assoc/detail/lu_policy/
3283         counter_lu_metadata_imp.hpp: Likewise.
3284         * include/ext/pb_assoc/detail/map_debug_base.hpp: Likewise.
3285         * libsupc++/eh_alloc.cc: Typo: memcpy -> memset.
3286
3287 2006-05-07  Paolo Carlini  <pcarlini@suse.de>
3288
3289         * include/tr1/type_traits (integral_constant<>::value): Define.
3290         * testsuite/tr1/4_metaprogramming/helper_classes/static_definition.cc:
3291         New.
3292
3293 2006-05-04  Douglas Gregor  <dgregor@cs.indiana.edu>
3294
3295         PR libstdc++/27404
3296         * include/ext/rope (_Rope_const_iterator<>::operator*() const,
3297         _Rope_iterator<>::operator*() const): Add.
3298
3299 2006-05-01  Paolo Carlini  <pcarlini@suse.de>
3300
3301         * acinclude.m4 (GLIBCXX_ENABLE_WCHAR_T): Always check the
3302         presence of wctype.h, for use in GLIBCXX_ENABLE_C99.
3303         * configure: Regenerate.
3304
3305 2006-04-29  Paolo Carlini  <pcarlini@suse.de>
3306
3307         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
3308         Special case main parsing loop for !_M_allocated (i.e., "C" locale).
3309         (num_get<>::_M_extract_int): Likewise.
3310         * include/bits/locale_facets.h (num_get<>::_M_find): New.
3311
3312 2006-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3313
3314         * docs/html/17_intro/TODO: Update.
3315         
3316 2006-04-26  Benjamin Kosnik  <bkoz@redhat.com>
3317
3318         PR libstdc++/26875
3319         * include/ext/array_allocator.h (array_allocator): _M_used, new
3320         data member.  
3321         * testsuite/ext/array_allocator/26875.cc: New.
3322         
3323 2006-04-26  Shantonu Sen  <ssen@opendarwin.org>
3324
3325         PR libstdc++/26513
3326         * scripts/make_exports.pl: Use $ENV{NM_FOR_TARGET}, if present.
3327
3328 2006-04-23  Marc Glisse  <marc.glisse@normalesup.org>
3329
3330         PR libstdc++/27199
3331         * ext/pool_allocator.h: Add using declarations for size_t, ptrdiff_t.
3332         * ext/bitmap_allocator.h: Likewise; qualify with std::.
3333         * ext/new_allocator.h: Likewise.
3334         * ext/malloc_allocator.h: Likewise.
3335         * ext/array_allocator.h: Likewise.
3336         * ext/mt_allocator.h: Likewise.
3337         * ext/functional: Likewise for size_t.
3338         * ext/debug_allocator.h: Likewise.
3339         * bits/char_traits.h: Qualify with std:: size_t.
3340         * debug/hash_multimap.h: Likewise.
3341
3342 2006-04-23  Paolo Carlini  <pcarlini@suse.de>
3343
3344         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 42.
3345
3346 2006-04-19  Paolo Carlini  <pcarlini@suse.de>
3347
3348         PR libstdc++/26424
3349         * include/tr1/hashtable (X<>::primes): Extend for 64-bit machines.
3350         (X<>::n_primes): Adjust.
3351         (prime_rehash_policy::next_bkt, bkt_for_elements, need_rehash): Adjust.
3352
3353 2006-04-18  Paolo Carlini  <pcarlini@suse.de>
3354
3355         * docs/html/faq/index.html ([5.5]): Adjust to mention function
3356         objects and reference_wrapper; minor tweaks.
3357         * docs/html/faq/index.txt: Regenerate.
3358
3359 2006-04-16  Paolo Carlini  <pcarlini@suse.de>
3360
3361         PR libstdc++/6702 (again)
3362         * acinclude.m4 (GLIBCXX_ENABLE_C99): Don't check non-C99
3363         wchar_t functions...
3364         (GLIBCXX_ENABLE_WCHAR_T): ... do that here.
3365         * configure.ac: Adjust order of checks.
3366         * configure: Regenerate.
3367
3368 2006-04-14  Douglas Gregor  <dgregor@cs.indiana.edu>
3369
3370         PR libstdc++/27162
3371         * include/bits/stl_algo.h (__search_n(,,,, _BinaryPredicate,
3372         std::forward_iterator_tag)): Use __binary_pred, not ==.
3373
3374 2006-04-10  Matthias Klose  <doko@debian.org>
3375
3376         * testsuite/lib/libstdc++.exp (libstdc++_init): Recognize multilib
3377         directory names containing underscores.
3378
3379 2006-04-10  Paolo Carlini  <pcarlini@suse.de>
3380
3381         DR 538, [Ready]
3382         * include/bits/stl_algo.h (__unique_copy(,,, input_iterator_tag,
3383         output_iterator_tag), and predicated counterpart): Revert to the
3384         algorithm pre-DR 241, i.e., value_type of InputIterator is now
3385         required to be Assignable too.
3386         * testsuite/25_algorithms/unique_copy/3.cc: Remove.
3387         * docs/html/ext/howto.html: Add an entry for DR 538.
3388
3389 2006-03-29  Benjamin Kosnik  <bkoz@redhat.com>
3390
3391         * testsuite/data/sgetn.txt: Correct copyright holder.
3392         * testsuite/data/wistream_extractor_other-1.tst: Same.
3393         * testsuite/data/wistream_extractor_other-2.tst: Same.
3394         * testsuite/data/istream_extractor_other-1.txt: Same.
3395         * testsuite/data/filebuf_virtuals-1.txt: Same.
3396         * testsuite/data/wostream_inserter_other-1.tst: Same.
3397         * testsuite/data/wostream_inserter_other-2.tst: Same.
3398         * testsuite/data/ostream_inserter_other-1.tst: Same.
3399         * testsuite/data/ostream_inserter_other-2.tst: Same.
3400         * testsuite/data/wistream_extractor_other-1.txt: Same.
3401         * testsuite/data/istream_extractor_other-1.tst: Same.
3402         * testsuite/data/istream_extractor_other-2.tst: Same.
3403         * testsuite/data/filebuf_virtuals-1.tst: Same.
3404         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Adjust test
3405         conditions.
3406         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Same.
3407         * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Same.
3408         * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Same.
3409
3410 2006-03-28  Paolo Carlini  <pcarlini@suse.de>
3411
3412         * include/ext/vstring.h (operator[]): Allow s[s.size()] in
3413         debug mode, but not pedantic mode.
3414
3415 2006-03-24  Mark Mitchell  <mark@codesourcery.com>
3416             Joseph S. Myers  <joseph@codesourcery.com>
3417
3418         PR libstdc++/20448
3419         PR libstdc++/20451
3420         * scripts/testsuite_flags.in (--cxxflags): Don't define LOCALEDIR.
3421         * testsuite/lib/libstdc++.exp (libstdc++_init): Always define
3422         LOCALEDIR to ".".
3423         (v3-build_support): Build MO files.
3424
3425 2006-03-22  Paolo Carlini  <pcarlini@suse.de>
3426
3427         PR libstdc++/26777
3428         * include/bits/fstream.tcc (basic_filebuf<>::_M_seek): Check
3429         the return value of _M_file.seekoff.
3430         * testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: New.
3431
3432 2006-03-21  Paolo Carlini  <pcarlini@suse.de>
3433
3434         PR libstdc++/25482
3435         * include/bits/stl_algobase.h (__copy_aux(_CharT*, _CharT*,
3436         ostreambuf_iterator<_CharT>), __copy_aux(const _CharT*, const _CharT*,
3437         ostreambuf_iterator<_CharT>), __copy_aux(istreambuf_iterator<_CharT>,
3438         istreambuf_iterator<_CharT>, _CharT*), copy(istreambuf_iterator<_CharT>,
3439         istreambuf_iterator<_CharT>, ostreambuf_iterator<_CharT>)): Declare.
3440         * include/bits/stl_algo.h (find(istreambuf_iterator<_CharT>,
3441         istreambuf_iterator<_CharT>, _CharT)): Likewise.
3442         * include/bits/streambuf_iterator.h (copy(istreambuf_iterator<_CharT>,
3443         istreambuf_iterator<_CharT>, ostreambuf_iterator<_CharT>),
3444         __copy_aux(_CharT*, _CharT*, ostreambuf_iterator<_CharT>),
3445         __copy_aux(const _CharT*, const _CharT*, ostreambuf_iterator<_CharT>),
3446         __copy_aux(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,
3447         _CharT*), find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,
3448         _CharT)): Define.
3449         (class istreambuf_iterator<>, class ostreambuf_iterator<>): Declare
3450         friends.
3451         * include/std/std_streambuf.h (class basic_streambuf<>): Likewise.
3452         * include/bits/cpp_type_traits.h (struct __is_char<>): Add.
3453         * testsuite/25_algorithms/copy/streambuf_iterators/char/1.cc: New.
3454         * testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc: New.
3455         * testsuite/25_algorithms/copy/streambuf_iterators/char/3.cc: New.
3456         * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc: New.
3457         * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/1.cc: New.
3458         * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/2.cc: New.
3459         * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/3.cc: New.
3460         * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc: New.
3461         * testsuite/25_algorithms/find/istreambuf_iterators/char/1.cc: New.
3462         * testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc: New.
3463         * testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/1.cc: New.
3464         * testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc: New.
3465         * testsuite/performance/25_algorithms/copy_streambuf_iterators.cc: New.
3466         * testsuite/performance/25_algorithms/find_istreambuf_iterators.cc: New.
3467
3468 006-03-13  Paolo Carlini  <pcarlini@suse.de>
3469
3470         * include/bits/postypes.h (fpos<>::operator==, operator!=): Remove,
3471         exploit conversion to streamoff.
3472         * testsuite/27_io/fpos/mbstate_t/5.cc: New.
3473
3474 2006-03-12  Howard Hinnant  <hhinnant@apple.com>
3475
3476         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc:
3477         Fix race condition.
3478         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3479         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3480
3481 2006-03-10  Paolo Carlini  <pcarlini@suse.de>
3482
3483         * include/tr1/cmath: Add atan2 and pow bits; add using declarations.    
3484         * include/tr1/math.h: Add using declarations.
3485         * include/tr1/complex: Add using declarations.
3486         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Fully
3487         qualify calls.
3488         * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Likewise;
3489         add atan2 and pow bits.
3490         * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise.
3491         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Likewise;
3492         adjust polar bits.
3493
3494         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add checks for double_t
3495         and float_t typedefs.
3496         * include/tr1/cmath: Add double_t and float_t.
3497         * testsuite/tr1/8_c_compatibility/cmath/types.cc: New.
3498
3499         * include/tr1/ctgmath: New.
3500         * include/tr1/tgmath.h: Likewise.
3501         * include/Makefile.am: Add.
3502         * testsuite/tr1/headers.cc: Update.
3503
3504         * include/Makefile.in: Regenerate.
3505         * configure: Likewise.
3506
3507         * docs/html/ext/tr1.html: Update.
3508
3509 2006-03-08  Paolo Carlini  <pcarlini@suse.de>
3510
3511         Implement the resolution of DR 455, [DR].
3512         * src/ios_init.cc (ios_base::Init::Init()): Do it.
3513         * testsuite/27_io/objects/char/dr455.cc: New.
3514         * testsuite/27_io/objects/wchar_t/dr455.cc: Likewise.
3515         * docs/html/ext/howto.html: Add an entry for DR 455.
3516
3517 2006-03-07  Paolo Carlini  <pcarlini@suse.de>
3518
3519         * include/tr1/cmath: Add C99 overloads.
3520         * include/tr1/common.h (struct __promote_3): Add.
3521         * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: New.
3522
3523         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Tweak.
3524         * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise.
3525
3526 2006-03-06  Paolo Carlini  <pcarlini@suse.de>
3527
3528         PR target/26532
3529         * config/io/c_io_stdio.h (struct __ios_flags): Remove.
3530         * include/bits/ios_base.h: Adjust consistently.
3531         (ios_base::_S_local_word_size): Change to an anonymous enum.
3532         * src/ios.cc: Do not define static const data of __ios_flags,
3533         likewise for ios_base::_S_local_word_size.      
3534         * include/bits/locale_classes.h (locale::_S_categories_size):
3535         Change to an anonymous enum.
3536         * src/locale.cc: Don't define.
3537
3538 2006-03-03  Paolo Carlini  <pcarlini@suse.de>
3539
3540         PR libstdc++/26526
3541         * config/abi/pre/gnu.ver (__copy_streambufs, 64-bit version): Add
3542         @GLIBCXX_3.4.8; move existing symbols @GLIBCXX_3.4.8 to 3.4.9.
3543         * configure.ac (libtool_VERSION): To 6:9:0.
3544         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.9.
3545         * configure: Regenerate.
3546
3547 2006-03-02  Paolo Carlini  <pcarlini@suse.de>
3548
3549         * config/abi/pre/gnu.ver: Adjust __copy_streambufs_eof export
3550         vs 64-bit arches.
3551
3552 2006-03-01  Paolo Carlini  <pcarlini@suse.de>
3553
3554         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 41.
3555
3556 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
3557
3558         PR other/26208
3559         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
3560         _Unwind_GetIPInfo instead of _Unwind_GetIP.
3561
3562 2006-02-27  Paolo Carlini  <pcarlini@suse.de>
3563
3564         PR libstdc++/14866
3565         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Redirect
3566         stderr instead.
3567
3568 2006-02-26  Paolo Carlini  <pcarlini@suse.de>
3569
3570         * include/tr1/cmath: Add templates (8.16.3).    
3571         * include/tr1/cstdbool: New.
3572         * include/tr1/stdbool.h: Likewise.
3573         * include/Makefile.am: Add.
3574         * testsuite/tr1/8_c_compatibility/cmath/templates.cc: New.
3575         * testsuite/tr1/headers.cc: Update.
3576         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdbool.h> check.
3577         * docs/html/ext/tr1.html: Update.
3578         * include/Makefile.in: Regenerate.
3579         * config.h.in: Likewise.
3580         * configure: Likewise.
3581
3582 2006-02-24  Paolo Carlini  <pcarlini@suse.de>
3583
3584         * include/tr1/array (array<>::swap, assign): Implement.
3585         * include/tr1/array (operator==, operator!=, operator<,
3586         operator>, operator>=, operator<=, swap, get): Inline.
3587         * testsuite/tr1/6_containers/array/requirements/member_swap.cc: New.
3588         * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
3589         * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
3590         Likewise.
3591
3592 2006-02-23  Benjamin Kosnik  <bkoz@redhat.com>
3593
3594         * testsuite/22_locale/codecvt/in/wchar_t/1.cc (test01): Change int
3595         to size_t. Use explicit static_cast for casts.
3596         * testsuite/22_locale/codecvt/in/wchar_t/6.cc (test06): Same.
3597         * testsuite/22_locale/codecvt/in/wchar_t/5.cc (test05): Same.
3598         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc (test01): Same.
3599         
3600 2006-02-22  Paolo Carlini  <pcarlini@suse.de>
3601
3602         * docs/html/ext/pb_assoc/
3603         basic_tree_assoc_cntnr_const_node_iterator.html:Fix links
3604         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_node_iterator.html:
3605         Likewise.
3606         * docs/html/ext/pb_assoc/hash_based_containers.html: Likewise.
3607         * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: Likewise.
3608         * docs/html/ext/pb_assoc/interface.html: Likewise..
3609         * docs/html/ext/pb_assoc/list_updates.html: Likewise.
3610         * docs/html/ext/pb_assoc/lu_based_containers.html: Likewise.
3611         * docs/html/ext/pb_assoc/resize_policies.html: Likewise.
3612         * docs/html/ext/pb_assoc/sample_probe_fn.html: Likewise.
3613         * docs/html/ext/pb_assoc/sample_range_hashing.html: Likewise.
3614         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: Likewise.
3615         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: Likewise.
3616         * docs/html/ext/pb_assoc/sample_resize_policy.html: Likewise.
3617         * docs/html/ext/pb_assoc/tree_assoc_cntnr_const_node_iterator.html:
3618         Likewise.
3619         * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: Likewise.
3620
3621 2006-02-22  Paolo Carlini  <pcarlini@suse.de>
3622
3623         PR libstdc++/26132
3624         * include/tr1/hashtable (hashtable<>::rehash): Define.
3625         * testsuite/tr1/6_containers/unordered/hashtable/26132.cc: New.
3626
3627         * include/tr1/hashtable: Trivial formatting and stylistic fixes.
3628
3629         * testsuite/tr1/headers.cc: remove <tr1/hashtable>, not a tr1 header,
3630         only an implementation detail.
3631
3632 2006-02-22  Paolo Carlini  <pcarlini@suse.de>
3633
3634         * include/debug/list (splice): Remove splice_alloc check, redundant
3635         after implementing the splice bits of N1599.
3636
3637 2006-02-21  Benjamin Kosnik  <bkoz@redhat.com>
3638
3639         * include/c_std/cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE,
3640         _GLIBCXX_END_NAMESPACE.
3641
3642 2006-02-21  Benjamin Kosnik  <bkoz@redhat.com>
3643
3644         * include/bits/c++config: Simplify debug namespaces.
3645         * include/ext/hash_set: Specialize insert_iterator after norm,
3646         debug containers have been (optionally) declared. Use nested
3647         namespaces.     
3648         * include/ext/hash_map: Same.
3649         * include/debug/hash_map.h (insert): Add specialization for value
3650         pointer types.
3651         * include/debug/hash_set.h (insert): Same.
3652         * include/debug/hash_multimap.h: Change __gnu_debug_def to __debug.
3653         * include/debug/set.h: Same.
3654         * include/debug/bitset: Same.
3655         * include/debug/multiset.h: Same.
3656         * include/debug/hash_multiset.h: Same.
3657         * include/debug/vector: Same.
3658         * include/debug/map.h: Same.
3659         * include/debug/deque: Same.
3660         * include/debug/list: Same.
3661         * include/debug/multimap.h. Same.
3662         * include/debug/macros.h: Use __gnu_debug.
3663         * include/debug/debug.h: Same.
3664         * include/debug/formatter.h: Same.
3665         * include/debug/safe_sequence.h: Same.
3666         * include/debug/functions.h: Same.
3667         * include/debug/safe_base.h: Same.
3668         * include/debug/safe_iterator.h: Same.
3669         * include/debug/safe_iterator.tcc: Same.
3670         (_M_invalidate): Adjust compare order.
3671         * include/debug/string: Change std::__gnu_debug to __gnu_debug.
3672         * include/ext/hashtable.h: Formatting fixes.
3673         * include/bits/stl_map.h: Formatting fixes.             
3674         * src/compatibility.cc: Adjust compatibility symbols for old debug
3675         mode model.     
3676         * src/debug_list.cc: Tweak.
3677         * src/debug.cc: Adjust namespaces.
3678         * docs/html/debug_mode.html: Adjust namespace names.
3679         * testsuite/25_algorithms/heap/heap.cc: Restore _GLIBCXX_DEBUG
3680         macro guards, as count values differ when in debug mode.        
3681         * testsuite/23_containers/vector/26412.cc: Move to...
3682         * testsuite/23_containers/vector/26412-1.cc: ... here.
3683         * testsuite/23_containers/vector/26412-2.cc: Add.
3684
3685         * include/ext/pb_assoc/detail/standard_policies.hpp
3686         (PB_ASSOC_HASH_NAMESPACE): Remove, use __gnu_cxx::hash_map and
3687         std::equal_to.
3688
3689         * configure.ac (libtool_VERSION): To 6:8:0.
3690         * configure: Regenerate.
3691         * config/abi/pre/gnu.ver: Revert to exporting __gnu_debug symbols.
3692         (GLIBCXX_3.4.8): New.
3693         * testsuite/testsuite_abi.cc: Add GLIBCXX_3.4.8 to known versions.
3694         
3695 2006-02-21  Paolo Carlini  <pcarlini@suse.de>
3696
3697         * include/tr1/hashtable: Trivial formatting fixes.
3698
3699 2006-02-20  Paolo Carlini  <pcarlini@suse.de>
3700
3701         Revert recent commit for libstdc++/26211, now suspended waiting for
3702         DR 342 (reopened) to reach a new resolution.
3703         * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
3704         seekg(off_type, ios_base::seekdir)): Remove sentry.
3705         * testsuite/27_io/basic_istream/seekg/char/26211.cc: Remove.
3706         * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
3707         * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
3708         * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
3709         * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Revert changes.
3710         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
3711         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
3712         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
3713         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
3714         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
3715
3716 2006-02-19  Paolo Carlini  <pcarlini@suse.de>
3717
3718         * include/std/std_sstream.h (basic_stringbuf<>::setbuf): Simply
3719         clear the internal _M_string, adjust _M_sync call.
3720         * include/bits/sstream.tcc (basic_stringbuf<>::_M_sync): Adjust
3721         consistently for calls from setbuf.
3722
3723 2006-02-17  Paolo Carlini  <pcarlini@suse.de>
3724             Howard Hinnant  <hhinnant@apple.com>
3725
3726         PR libstdc++/26250
3727         * include/bits/sstream.tcc (basic_stringbuf<>::overflow): Tweak
3728         to leave epgtr() just past the new write position, as per the
3729         relevant bits of 27.7.1.3/8 (not changed by DR 432).
3730         * testsuite/27_io/basic_stringbuf/overflow/char/26250.cc: New.
3731         * testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc: Same.
3732
3733         * docs/html/ext/howto.html: Add entries for DR 169 and DR 432.
3734
3735         * include/std/std_sstream.h (basic_stringbuf<>::_M_sync): Move out
3736         of line...
3737         * include/bits/sstream.tcc: ... here.
3738
3739 2006-02-16  Joseph S. Myers  <joseph@codesourcery.com>
3740
3741         PR libstdc++/14939
3742         * config/os/uclibc/ctype_base.h, config/os/uclibc/ctype_inline.h,
3743         config/os/uclibc/ctype_noninline.h, config/os/uclibc/os_defines.h:
3744         New.
3745         * acinclude.m4 (GLIBCXX_CONFIGURE): Test whether using uClibc.
3746         * configure.host: Use os/uclibc for uClibc.
3747         * crossconfig.m4 (*-linux*): Use link tests.  Don't hardcode
3748         presence of math functions.
3749         * configure: Regenerate.
3750
3751 2006-02-12  Paolo Carlini  <pcarlini@suse.de>
3752
3753         PR libstdc++/26211
3754         * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
3755         seekg(off_type, ios_base::seekdir)): Construct a sentry, as per
3756         27.6.1.3/1.
3757         * testsuite/27_io/basic_istream/seekg/char/26211.cc: New.
3758         * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
3759         * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
3760         * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
3761         * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Adjust.
3762         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
3763         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
3764         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
3765         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
3766         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
3767
3768 2006-02-10  Paolo Carlini  <pcarlini@suse.de>
3769
3770         PR libstdc++/26181
3771         * include/bits/streambuf.tcc (__copy_streambufs_eof): New, like
3772         the existing __copy_streambufs but reporting eof in input.
3773         (__copy_streambufs): Just use the latter.
3774         * src/streambuf.cc (__copy_streambufs_eof): Adjust specializations
3775         of __copy_streambufs.
3776         * include/bits/istream.tcc (operator>>(__streambuf_type*)): Use
3777         __copy_streambufs_eof instead.
3778         * include/std/std_streambuf.h: Adjust.
3779         * src/streambuf-inst.cc: Adjust.
3780         * config/abi/pre/gnu.ver: Export the new symbols.
3781         * testsuite/27_io/basic_istream/extractors_other/char/26181.cc: New.
3782         * testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc:
3783         Likewise.
3784         * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Adjust.
3785         * testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc:
3786         Likewise.
3787
3788 2006-02-08  Benjamin Kosnik  <bkoz@redhat.com>
3789
3790         PR libstdc++/26142
3791         * include/debug/debug.h: Move debug alias inside namespace std,
3792         same with namespace __gnu_cxx. Add top-level __gnu_debug
3793         namespace.      
3794         * include/debug/hash_multimap.h: Nest within __gnu_cxx, not
3795         std. Also, change nesting namespace name from __gnu_debug_def to
3796         __gnu_debug.    
3797         * include/debug/hash_map.h: Same.
3798         * include/debug/hash_multiset.h: Same.
3799         * include/debug/hash_set.h: Same.
3800         * docs/html/debug.html: Same.
3801         * testsuite/23_containers/vector/26412.cc: New.
3802         * testsuite/23_containers/vector/invalidation/1.cc:  Correct
3803         qualifications for debug namespace change.
3804         * testsuite/23_containers/vector/invalidation/2.cc: Same.
3805         * testsuite/23_containers/vector/invalidation/3.cc: Same.
3806         * testsuite/23_containers/vector/invalidation/4.cc: Same.
3807         * testsuite/23_containers/deque/invalidation/1.cc: Same.
3808         * testsuite/23_containers/deque/invalidation/2.cc: Same.
3809         * testsuite/23_containers/deque/invalidation/3.cc: Same.
3810         * testsuite/23_containers/deque/invalidation/4.cc: Same.
3811         * testsuite/23_containers/multiset/invalidation/1.cc: Same.
3812         * testsuite/23_containers/multiset/invalidation/2.cc: Same.
3813         * testsuite/23_containers/multimap/invalidation/1.cc: Same.
3814         * testsuite/23_containers/multimap/invalidation/2.cc: Same.
3815         * testsuite/23_containers/bitset/invalidation/1.cc: Same.
3816         * testsuite/23_containers/bitset/cons/16020.cc: Same.
3817         * testsuite/23_containers/bitset/operations/13838.cc: Same.
3818         * testsuite/23_containers/list/invalidation/1.cc: Same.
3819         * testsuite/23_containers/list/invalidation/2.cc: Same.
3820         * testsuite/23_containers/list/invalidation/3.cc: Same.
3821         * testsuite/23_containers/list/invalidation/4.cc: Same.
3822         * testsuite/23_containers/set/invalidation/1.cc: Same.
3823         * testsuite/23_containers/set/invalidation/2.cc: Same.
3824         * testsuite/23_containers/map/invalidation/1.cc: Same.
3825         * testsuite/23_containers/map/invalidation/2.cc: Same.
3826         * testsuite/23_containers/map/modifiers/insert/16813.cc: Same.
3827         * testsuite/21_strings/basic_string/2.cc: Same.
3828
3829 2006-02-08  Paolo Carlini  <pcarlini@suse.de>
3830
3831         PR libstdc++/26133  (DR 241, [WP])
3832         * include/bits/stl_algo.h (__unique_copy(,,, forward_iterator_tag,
3833         output_iterator_tag), __unique_copy(,,, input_iterator_tag,
3834         output_iterator_tag), __unique_copy(,,, input_iterator_tag,
3835         forward_iterator_tag), and predicated counterparts): Add.
3836         (__unique_copy(,,, output_iterator_tag), __unique_copy(,,,
3837         forward_iterator_tag), and predicated counterparts): Remove.
3838         (unique_copy): Adjust, dispatch to the three helpers above.
3839         * testsuite/25_algorithms/unique_copy/2.cc: New.
3840         * testsuite/25_algorithms/unique_copy/26133.cc: Likewise.
3841         * testsuite/25_algorithms/unique_copy/3.cc: Likewise.   
3842         * docs/html/ext/howto.html: Add an entry for DR 241.
3843
3844         * testsuite/25_algorithms/unique_copy/1.cc: Minor cosmetic changes.
3845
3846 2006-02-07  Jakub Jelinek  <jakub@redhat.com>
3847             Benjamin Kosnik  <bkoz@redhat.com>
3848
3849         * configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check.
3850         If true, set also port_specific_symbol_files and create
3851         as_symver_specs.
3852         (GLIBCXX_LDBL_COMPAT): New GLIBCXX_CONDITIONAL.
3853         * configure: Rebuilt.
3854         * config.h.in: Rebuilt.
3855         * config/os/gnu-linux/ldbl-extra.ver: New file.
3856         * config/abi/pre/gnu.ver: Make sure no __float128 symbols are
3857         exported.
3858         * include/bits/c++config (_GLIBCXX_LONG_DOUBLE_COMPAT,
3859         _GLIBCXX_LDBL_NAMESPACE, _GLIBCXX_BEGIN_LDBL_NAMESPACE,
3860         _GLIBCXX_END_LDBL_NAMESPACE): Define.
3861         * include/bits/localefwd.h: Use them to conditionally scope facets.
3862         * include/bits/locale_facets.h: Surround std::{money,num}_{get,put}
3863         with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
3864         Surround std::{money,num}_{get,put}
3865         with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
3866         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_get): Add __do_get method.
3867         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_put): Add __do_put method.
3868         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_get): Add __do_get method.
3869         [_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_put): Add __do_put method.
3870         * include/bits/locale_facets.tcc: Surround std::{money,num}_{get,put}
3871         with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
3872         (std::money_get::__do_get, std::money_put::__do_put,
3873         std::num_get::__do_get, std::num_put::__do_put): New
3874         specializations.
3875         * include/Makefile.am: Conditionally define
3876         _GLIBCXX_LONG_DOUBLE_COMPAT in c++config.
3877         * include/Makefile.in: Regenerate.
3878         * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT] (_GLIBCXX_LOC_ID,
3879         _GLIBCXX_SYNC_ID): Define, use them.
3880         * src/compatibility-ldbl.cc: New file.
3881         * src/complex_io.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Add compatibility
3882         symbols.
3883         * src/limits.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
3884         * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
3885         * src/locale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.   
3886         * src/locale-misc-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
3887         * src/istream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
3888         * src/ostream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
3889         * src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
3890         * src/wlocale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
3891         * src/compatibility.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
3892         * config/locale/generic/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
3893         Likewise.
3894         * config/locale/gnu/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
3895         Likewise.
3896         * src/Makefile.am (libstdc++-symbol.ver): Append instead of
3897         insert in the middle if port specific symbol file requests it.
3898         (ldbl_compat_sources): New variable.
3899         (sources): Use it.
3900         (compatibility-ldbl.lo, compatibility-ldbl.o): New rules.
3901         * src/Makefile.in: Rebuilt.
3902         * testsuite/testsuite_abi.cc: Recognize GLIBCXX_LDBL_3.4,
3903         GLIBCXX_LDBL_3.4.7, CXXABI_LDBL_1.3.    
3904
3905 2006-02-07  Paolo Carlini  <pcarlini@suse.de>   
3906
3907         * include/tr1/hashtable: Trivial formatting fixes.
3908
3909 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
3910             Zak Kipling  <zak@transversal.com>
3911
3912         PR libstdc++/26127
3913         * include/tr1/hashtable (hashtable<>::key_equal): Define.
3914         (hashtable<>::bucket, rehash_base<>::max_load_factor): Fix.
3915         * testsuite/tr1/6_containers/unordered/hashtable/26127.cc: New.
3916
3917 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
3918
3919         * include/tr1/cmath: New.
3920         * include/tr1/cstdlib: Likewise.
3921         * include/tr1/ctime: Likewise.
3922         * include/tr1/math.h: Likewise. 
3923         * include/tr1/stdlib.h: Likewise.
3924         * include/Makefile.am: Add.
3925         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <math.h> checks.
3926         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: New.
3927         * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise.
3928         * testsuite/tr1/8_c_compatibility/cstdlib/types.cc: Likewise.
3929         * testsuite/tr1/headers.cc: Update.     
3930
3931         * include/tr1/cinttypes: Do not provide abs and div, conflicting
3932         with the above overloads for _Longlong types.
3933         * include/tr1/inttypes.h: Adjust.
3934         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Adjust.
3935
3936         * docs/html/ext/tr1.html: Update.
3937         
3938         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Tweak.
3939
3940         * include/Makefile.in: Regenerate.
3941         * config.h.in: Likewise.
3942         * configure: Likewise.
3943
3944 2006-02-07  Mark Mitchell  <mark@codesourcery.com>
3945
3946         * testsuite/testsuite_tr1.h (test_property): New function.
3947         * testsuite/tr1/4_metaprogramming/type_properties/extent/extent.cc 
3948         (test01) 
3949
3950 2006-02-05  Paolo Carlini  <pcarlini@suse.de>
3951
3952         * include/tr1/cstdio: New.
3953         * include/tr1/stdio.h: Likewise.
3954         * include/Makefile.am: Add.
3955         * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: New.
3956         * testsuite/tr1/headers.cc: Update.     
3957         * docs/html/ext/tr1.html: Update.
3958
3959         * include/tr1/cwchar: Simplify, use _GLIBCXX_USE_C99, consistently
3960         with the facilities in std::.
3961         * include/tr1/cwctype: Likewise.
3962         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Tweak.
3963         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
3964         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Remove <wchar.h> and
3965         <wctype.h> checks.
3966
3967         * include/Makefile.in: Regenerate.
3968         * config.h.in: Likewise.
3969         * configure: Likewise.
3970
3971 2006-02-04  Paolo Carlini  <pcarlini@suse.de>
3972
3973         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Fix.
3974
3975 2006-02-04  Paolo Carlini  <pcarlini@suse.de>
3976
3977         * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: Avoid
3978         warning on string constant.
3979
3980 2006-02-03  Paolo Carlini  <pcarlini@suse.de>
3981
3982         * include/tr1/cwchar: New.
3983         * include/tr1/cwctype: Likewise.
3984         * include/tr1/wchar.h: Likewise.
3985         * include/tr1/wctype.h: Likewise.
3986         * include/Makefile.am: Add.
3987         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: New.
3988         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
3989         * testsuite/tr1/headers.cc: Update.
3990         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <wchar.h> and
3991         <wctype.h> checks.
3992         * docs/html/ext/tr1.html: Update.
3993         * include/Makefile.in: Regenerate.
3994         * config.h.in: Likewise.
3995         * configure: Likewise.
3996
3997         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Cosmetic tweak.
3998
3999 2006-02-02  Paolo Carlini  <pcarlini@suse.de>
4000
4001         * include/tr1/cfloat: New.
4002         * include/tr1/climits: Likewise.                
4003         * include/tr1/cstdarg: Likewise.
4004         * include/tr1/ctype.h: Likewise.
4005         * include/tr1/fenv.h: Likewise.
4006         * include/tr1/float.h: Likewise.
4007         * include/tr1/inttypes.h: Likewise.
4008         * include/tr1/limits.h: Likewise.
4009         * include/tr1/stdint.h: Likewise.
4010         * include/tr1/stdarg.h: Likewise.
4011         * include/Makefile.am: Add.
4012         * include/Makefile.in: Regenerate.
4013         * docs/html/ext/tr1.html: Update.
4014         * testsuite/tr1/headers.cc: New.
4015
4016         * include/tr1/cctype: Include <cctype> instead.
4017
4018 2006-01-31  Paolo Carlini  <pcarlini@suse.de>
4019
4020         PR libstdc++/21554
4021         * include/tr1/array (array<>::_M_instance): Maximally align.
4022         * testsuite/ext/array_allocator/2.cc: Do not xfail for powerpc.
4023
4024 2006-01-31  Ed Smith-Rowland  <3dw4rd@verizon.net>
4025
4026         * docs/html/faq/index.html ([1.0]): Replace references to CVS
4027         with appropriate references to SVN.
4028         ([1.3]): Likewise.
4029         ([1.4]): Likewise.
4030         ([2.3]): Likewise.
4031         * docs/html/faq/index.txt: Regenerated.
4032
4033 2006-01-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
4034
4035         * include/bits/valarray_array.h (__valarray_default_construct):
4036         Replace use __is_fundamental with __is_pod.
4037         (__valarray_fill_construct): Likewise.
4038         (__valarray_copy_construct): Likewise.
4039         (__valarray_destroy_elements): Likewise.
4040         (__valarray_copy): Likewise.
4041
4042 2006-01-30  Paolo Carlini  <pcarlini@suse.de>
4043
4044         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Do the <inttypes.h>
4045         checks only if the <stdint.h> checks are successful.
4046         * configure: Regenerate.
4047
4048 2006-01-30  Paolo Carlini  <pcarlini@suse.de>
4049
4050         * include/tr1/cinttypes: New.
4051         * include/Makefile.am: Add.
4052         * testsuite/tr1/8_c_compatibility/cinttypes/functions: New.     
4053         * testsuite/tr1/8_c_compatibility/cinttypes/types: Likewise.
4054         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <inttypes.h> checks.
4055         * docs/html/ext/tr1.html: Update.
4056         * include/Makefile.in: Regenerate.
4057         * config.h.in: Likewise.
4058         * configure: Likewise.
4059
4060         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Cosmetic tweak.
4061         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Likewise.
4062
4063         * testsuite/tr1/8_c_compatibility/cstdint/types.cc: Fix, check in
4064         std::tr1.
4065
4066 2006-01-29  Paolo Carlini  <pcarlini@suse.de>
4067
4068         * include/tr1/cstdint: New.
4069         * include/Makefile.am: Add.
4070         * testsuite/tr1/8_c_compatibility/cstdint/types: New.
4071         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdint.h> checks.
4072         * docs/html/ext/tr1.html: Update.
4073         * include/Makefile.in: Regenerate.
4074         * config.h.in: Likewise.
4075         * configure: Likewise.
4076
4077         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Cosmetic tweak.
4078
4079 2006-01-29  Paolo Carlini  <pcarlini@suse.de>
4080
4081         PR libstdc++/26006
4082         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten <ctype.h> and
4083         <fenv.h> checks.
4084         * configure: Regenerate.
4085
4086 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
4087
4088         * include/std/std_bitset.h (bitset<>::_M_copy_to_string):
4089         Call the internal _Unchecked_set(size_t) instead of set.
4090
4091 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
4092
4093         * docs/html/install.html ([Tools you will need beforehand]):
4094         Clarify that the de_DE locale is used by configure; clarify
4095         that missing localedata leads to skipped tests, not fails.
4096
4097 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
4098
4099         * include/tr1/cfenv: New.
4100         * include/Makefile.am: Add.
4101         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: New.
4102         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Likewise.
4103         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <fenv.h> checks.
4104         * docs/html/ext/tr1.html: Update; add note.
4105         * include/Makefile.in: Regenerate.
4106         * config.h.in: Likewise.
4107         * configure: Likewise.  
4108
4109         * testsuite/tr1/8_c_compatibility/complex/functions.cc: Tweak.
4110         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
4111
4112         * docs/html/faq/index.html: Fix link to tr1.html text; fix
4113         formatting.
4114
4115 2006-01-25  Paolo Carlini  <pcarlini@suse.de>
4116
4117         * include/tr1/cctype: New.
4118         * include/Makefile.am: Add.
4119         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: New.
4120         * include/Makefile.in: Regenerate.
4121
4122         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): New, check for C99
4123         support to TR1, Chapter 8.
4124         * configure.ac: Use it.
4125         * include/tr1/complex: Adjust.
4126         * config.h.in: Regenerate.
4127         * configure: Likewise.
4128
4129 2006-01-25  Benjamin Kosnik  <bkoz@redhat.com>
4130
4131         * docs/html/configopts.html: Tweak docs.
4132
4133         * libsupc++/eh_personality.cc: Fix typos.
4134
4135 2006-01-24  Paolo Carlini  <pcarlini@suse.de>
4136
4137         PR libstdc++/25649
4138         * include/std/std_istream.h (operator>>(short&), operator>>(int&)):
4139         Move out of line...
4140         * include/bits/istream.tcc: ... here.
4141         * include/std/std_ostream.h (operator<<(short), operator<<(int)):
4142         Move out of line...
4143         * include/bits/ostream.tcc: ... here.
4144
4145 2006-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
4146
4147         * docs/html/faq/index.html ([5.2]): Mention TR1 and point to
4148         paragraph [5.5], describing it.
4149         ([5.5]): New.
4150         * docs/html/ext/tr1.html: New.
4151
4152 2006-01-20  Benjamin Kosnik  <bkoz@redhat.com>
4153
4154         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Verbose ld version
4155         reporting.  Disable --gc-sections for old binutils, by version.
4156         * configure: Regenerate.
4157
4158 2006-01-20  Joseph S. Myers  <joseph@codesourcery.com>
4159
4160         PR libstdc++/25524
4161         * include/Makefile.am: Install host-specific headers in multilib
4162         subdirectory.
4163         * include/Makefile.in: Regenerate.
4164
4165 2006-01-19  Paolo Carlini  <pcarlini@suse.de>
4166
4167         Implement list::splice (and merge) bits of N1599
4168         * include/bits/stl_list.h (list<>::_M_check_equal_allocators): New.
4169         (list<>::splice(iterator, list&), splice(iterator, list&, iterator),
4170         splice(iterator, list&, iterator, iterator)): Use it.
4171         * include/bits/list.tcc (list<>::merge(list&), merge(list&,
4172         _StrictWeakOrdering)): Likewise.
4173         * testsuite/23_containers/list/operators/5.cc: New.
4174
4175 2006-01-19  H.J. Lu  <hongjiu.lu@intel.com>
4176
4177         PR libstdc++/25797
4178         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Remove -Werror
4179         from CFLAGS.  Check if linker really supports --gc-sections.
4180         * configure: Regenerated.
4181
4182 2006-01-18  Paul Brook  <paul@codesourcery.com>
4183
4184         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use std::abort.
4185
4186 2006-01-18  Paolo Carlini  <pcarlini@suse.de>
4187
4188         * include/bits/allocator.h: Include <bits/cpp_type_traits.h>.
4189
4190 2006-01-18  Perry Smith  <pedz@easesoftware.net>
4191
4192         PR libstdc++/25823
4193         PR libstdc++/25824
4194         * libsupc++/eh_alloc.cc: Fix return type of memset declaration.
4195         * libsupc++/eh_globals.cc: If !_GLIBCXX_HOSTED declare malloc and free.
4196
4197 2006-01-18  Paolo Carlini  <pcarlini@suse.de>
4198
4199         * include/ext/pb_assoc/detail/value_type_adapter/
4200         value_type_adapter.hpp: Include <tr1/type_traits>.
4201         * include/ext/pb_assoc/detail/value_type_adapter/
4202         it_value_type_traits.hpp (it_value_type_traits_<>::value_type_holder):
4203         Use tr1::aligned_storage and tr1::alignment_of.
4204         (it_value_type_traits_<>::buf_t): Remove.
4205         (it_value_type_traits_<>::make_valid, recast): Adjust.
4206
4207 2006-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4208
4209         PR libstdc++/25797
4210         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Add -Werror to
4211         CFLAGS for --gc-sections test.  Correct compile test.
4212         * configure: Regenerated.
4213         
4214 2006-01-15  Paolo Carlini  <pcarlini@suse.de>
4215             Gabriel Dos Reis  <gdr@integrable-solutions.net>
4216
4217         PR libstdc++/25626
4218         * include/std/std_valarray.h (valarray(const slice_array<>&),
4219         valarray(const gslice_array<>&), valarray(const mask_array<>&),
4220         valarray(const indirect_array<>&), valarray(const _Expr<>&)):
4221         Forward to __valarray_copy_construct, not __valarray_copy.
4222         * include/bits/valarray_array.h
4223         (__valarray_copy_construct(_Array<>, _Array<>, _Array<>, size_t),
4224         __valarray_copy_construct(_Array<>, size_t, size_t, _Array<>)):
4225         New.
4226
4227 2006-01-15  Paolo Carlini  <pcarlini@suse.de>
4228
4229         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
4230         Fix norm test, use casts everywhere.
4231
4232 2006-01-14  Paolo Carlini  <pcarlini@suse.de>
4233
4234         * testsuite/testsuite_tr1.h: Add missing include; use std::__are_same.
4235
4236 2006-01-14  Paolo Carlini  <pcarlini@suse.de>
4237
4238         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
4239         Fix wrong test (don't pick by mistake the (const complex<>&, int)
4240         overload); add some.
4241
4242 2006-01-13  Paolo Carlini  <pcarlini@suse.de>
4243             Howard Hinnant  <hhinnant@apple.com>
4244
4245         * include/tr1/complex (arg, conj, imag, norm, polar, pow, real):
4246         Add, implementing TR1, 8.1.9.
4247         (__promote_2): New.
4248         * include/tr1/common.h: New, provides __promote, __promote_2.
4249         * include/Makefile.am: Add.
4250         * include/Makefile.in: Regenerate.
4251         * testsuite/testsuite_tr1.h (check_ret_type): New.
4252         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: New.
4253         * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: New.
4254
4255 2006-01-12  Benjamin Kosnik  <bkoz@redhat.com>
4256
4257         * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Enable
4258         --gc-sections in more cases.    
4259         * configure: Regenerate.
4260         * scripts/testsuite_flags.in: Remove SECTION_LDFLAGS.
4261         * scripts/testsuite_flags.in (cxxldflags): New.
4262         * testsuite/lib/libstdc++.exp (v3_target_compile): Add cxxldflags.
4263         (libstdc++_init ): Same.
4264                 
4265 2006-01-12  Jan Beulich  <jbeulich@novell.com>
4266
4267         * crossconfig.m4: Add AC_DEFINE-s for HAVE_HYPOT, HAVE_ISINF, and
4268         HAVE_ISNAN for *-*-netware*.
4269         * configure: Refresh.
4270
4271 2006-01-11  Benjamin Kosnik  <bkoz@redhat.com>
4272
4273         * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Use -Wl,-z,relro if
4274         possible.  
4275         * configure: Regenerate.
4276
4277 2006-01-10  Paolo Carlini  <pcarlini@suse.de>
4278
4279         * include/tr1/complex: New file, hosts the additions to header
4280         <complex> described in TR1, Chapter 8 [tr.c99].
4281         * include/Makefile.am: Add.
4282         * include/Makefile.in: Regenerate.
4283         * testsuite/tr1/8_c_compatibility/complex/functions.cc: New.
4284
4285 2006-01-09  Paolo Carlini  <pcarlini@suse.de>
4286
4287         PR libstdc++/25658
4288         * testsuite/23_containers/deque/cons/assign/1.cc: Divide
4289         sizes by 10.
4290
4291 2006-01-08  Paolo Carlini  <pcarlini@suse.de>
4292
4293         PR libstdc++/22102 (insert as close to hint as possible)
4294         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_lower,
4295         _M_insert_equal_lower): New.
4296         (_M_insert_equal(iterator, const _Val&),
4297         _M_insert_equal(const_iterator, const _Val&)): Use the above.
4298         * docs/html/ext/howto.html: Add an entry for DR 233.
4299         * testsuite/23_containers/multiset/modifiers/insert/22102.cc: New.
4300         * testsuite/23_containers/multimap/modifiers/insert/22102.cc: New.
4301
4302         * testsuite/23_containers/set/insert/: Move...
4303         * testsuite/23_containers/set/modifiers/insert/: ...here.
4304         * testsuite/23_containers/map/insert/: Move...
4305         * testsuite/23_containers/map/modifiers/insert/: ...here.
4306         * testsuite/23_containers/multiset/insert/: Move...
4307         * testsuite/23_containers/multiset/modifiers/insert/: ...here.
4308
4309 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
4310
4311         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique): Rename
4312         to _M_insert_unique.
4313         (_Rb_tree<>::insert_equal): Rename to _M_insert_equal.
4314         * include/bits/stl_map.h (class map<>): Update callers.
4315         * include/bits/stl_set.h (class set<>): Likewise.
4316         * include/bits/stl_multimap.h (class multimap<>): Likewise.
4317         * include/bits/stl_multiset.h (class multiset<>): Likewise.
4318
4319 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
4320
4321         * include/bits/stl_bvector.h (vector<bool>::erase(iterator,
4322         iterator)): Just use _M_erase_at_end.
4323
4324 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
4325
4326         * include/bits/stl_bvector.h (class vector<bool>): Move all the
4327         helpers under protected access mode, consistently with the primary
4328         vector template.
4329         (vector<bool>::_M_erase_at_end): Add.
4330         (erase(iterator, iterator), clear, resize, _M_fill_assign,
4331         _M_assign_aux): Use it.
4332         * testsuite/23_containers/vector/bool/modifiers/erase/1.cc: New.
4333
4334 2006-01-06  Paolo Carlini  <pcarlini@suse.de>
4335
4336         Implement Option 3 of DR 431 for vector<bool>.
4337         * include/bits/stl_bvector.h (class _Bvector_base): Change to
4338         a struct, consistently with the primary vector template.
4339         (class vector<bool>): Adjust to protected inheritance, tidy
4340         typedefs.
4341         (_Bvector_base<>::_M_get_Bit_allocator): Add.
4342         (vector<bool>::vector(const vector&)): Use it.
4343         (_Bvector_base<>::get_allocator): Tidy.
4344         (vector<bool>::swap): Use __alloc_swap.
4345         * testsuite/23_containers/vector/bool/modifiers/swap/1.cc: New.
4346         * testsuite/23_containers/vector/bool/modifiers/swap/2.cc: New.
4347
4348 2006-01-05  Paolo Carlini  <pcarlini@suse.de>
4349         
4350         * testsuite/testsuite_hooks.h (test_tm(unsigned)): Change to
4351         take all the tm members.
4352         * testsuite/testsuite_hooks.cc (test_tm): Adjust.
4353         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Update.
4354         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
4355         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
4356         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
4357         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
4358         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
4359         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
4360         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
4361         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
4362         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
4363         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
4364         * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
4365         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
4366         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
4367         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
4368         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
4369         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
4370         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
4371         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
4372         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
4373         * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
4374         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
4375         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
4376         * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
4377         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
4378         * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
4379         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
4380         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
4381         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
4382         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
4383         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
4384         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
4385         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
4386         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
4387         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
4388         * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
4389         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
4390         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
4391         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
4392         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
4393         * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
4394         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
4395         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
4396         * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
4397         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
4398         * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
4399         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
4400         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
4401         * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
4402         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
4403         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
4404         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
4405         * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
4406         * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
4407
4408 2006-01-05  Paolo Carlini  <pcarlini@suse.de>
4409         
4410         * testsuite/testsuite_hooks.h (test_tm(unsigned)): New.
4411         * testsuite/testsuite_hooks.cc (test_tm(unsigned)): Define.
4412         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Use it.
4413         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
4414         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
4415         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
4416         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
4417         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
4418         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
4419         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
4420         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
4421         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
4422         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
4423         * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
4424         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
4425         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
4426         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
4427         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
4428         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
4429         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
4430         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
4431         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
4432         * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
4433         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
4434         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
4435         * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
4436         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
4437         * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
4438         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
4439         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
4440         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
4441         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
4442         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
4443         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
4444         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
4445         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
4446         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
4447         * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
4448         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
4449         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
4450         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
4451         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
4452         * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
4453         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
4454         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
4455         * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
4456         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
4457         * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
4458         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
4459         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
4460         * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
4461         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
4462         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
4463         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
4464         * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
4465         * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
4466
4467 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
4468
4469         * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
4470         Use _CharT_alloc_type as base class.
4471         (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
4472         * include/ext/vstring.h (get_allocator): Tidy.
4473
4474 2006-01-04  Paolo Carlini  <pcarlini@suse.de>
4475
4476         Implement Option 3 of DR 431 for all the containers.
4477         * include/bits/allocator.h (struct __alloc_swap): Add, swaps
4478         allocators, optimized to nothing in case they are empty.
4479         * include/bits/stl_deque.h (deque<>::swap): Use it.
4480         * include/bits/stl_list.h (list<>::swap): Likewise.
4481         * include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
4482         * include/bits/stl_vector.h (vector<>::swap): Likewise.
4483         * include/tr1/hashtable (hashtable<>::swap): Likewise.
4484         * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
4485         Likewise.
4486         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
4487         Likewise.
4488         * include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
4489         Clean-up (now vstring uses the generic __alloc_swap facility).
4490         * include/tr1/unordered_map: Adjust includes.
4491         * include/tr1/unordered_set: Likewise.
4492         * docs/html/ext/howto.html: Add an entry for DR 431.
4493         * testsuite/23_containers/deque/modifiers/swap.cc: Move to...
4494         * testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.          
4495         * testsuite/23_containers/deque/modifiers/swap/2.cc: New.
4496         * testsuite/23_containers/deque/modifiers/swap/3.cc: New.
4497         * testsuite/23_containers/list/modifiers/swap.cc: Move to...
4498         * testsuite/23_containers/list/modifiers/swap/1.cc: ... here.           
4499         * testsuite/23_containers/list/modifiers/swap/2.cc: New.
4500         * testsuite/23_containers/list/modifiers/swap/3.cc: New.
4501         * testsuite/23_containers/vector/modifiers/swap.cc: Move to...
4502         * testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.         
4503         * testsuite/23_containers/vector/modifiers/swap/2.cc: New.
4504         * testsuite/23_containers/vector/modifiers/swap/3.cc: New.
4505         * testsuite/23_containers/set/modifiers/swap.cc: Move to...
4506         * testsuite/23_containers/set/modifiers/swap/1.cc: ... here.            
4507         * testsuite/23_containers/set/modifiers/swap/2.cc: New.
4508         * testsuite/23_containers/set/modifiers/swap/3.cc: New.
4509         * testsuite/23_containers/map/modifiers/swap.cc: Move to...
4510         * testsuite/23_containers/map/modifiers/swap/1.cc: ... here.            
4511         * testsuite/23_containers/map/modifiers/swap/2.cc: New.
4512         * testsuite/23_containers/map/modifiers/swap/3.cc: New.
4513         * testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
4514         * testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.               
4515         * testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
4516         * testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
4517         * testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
4518         * testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.               
4519         * testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
4520         * testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
4521         * testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.    
4522         * testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
4523         * testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.    
4524         * testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
4525         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.       
4526         * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
4527         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.       
4528         * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
4529
4530 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
4531
4532         * include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
4533         (_M_get_Tp_allocator, get_allocator): Tidy.
4534         (list<>::list(const list&), insert(iterator, size_type, const
4535         value_type&), insert(iterator, _InputIterator, _InputIterator)):
4536         Use _M_get_Node_allocator.
4537         * include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
4538         (_Rb_tree(const _Rb_tree<>&): Use it.
4539         * include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
4540         get_allocator): Tidy.
4541         * include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
4542         * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
4543         line numbers.
4544         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
4545         
4546         * testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
4547
4548         * testsuite/testsuite_allocator.h (class uneq_allocator): A simple
4549         non-empty testing allocator which can be endowed of a "personality"
4550         at construction time.
4551
4552 2006-01-03  Paolo Carlini  <pcarlini@suse.de>
4553
4554         * testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
4555         * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
4556         * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
4557         * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
4558
4559 2006-01-02  Mark Mitchell  <mark@codesourcery.com>
4560
4561         * src/Makefile.am (LTLDFLAGS): New variable. 
4562         (CXXLINK): Use LTLDFLAGS.
4563         * src/Makefile.in: Regenerated.
4564         * libsupc++/Makefile.am (LTLDFLAGS): New variable. 
4565         (CXXLINK): Use LTLDFLAGS.
4566         * libsupc++/Makefile.in: Regenerated.
4567
4568 2006-01-02  Paolo Carlini  <pcarlini@suse.de>
4569
4570         PR libstdc++/24645
4571         * include/std/std_istream.h (basic_istream<>::_M_extract): New.
4572         (operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
4573         operator>>(int&), operator>>(unsigned int&), operator>>(long&),
4574         operator>>(unsigned long&), operator>>(long long&), operator>>
4575         (unsigned long long&), operator>>(float&), operator>>(double&),
4576         operator>>(long double&), operator>>(void*&)): Use it.
4577         * include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
4578         * include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
4579         (operator<<(long), operator<<(unsigned long), operator<<(bool),
4580         operator<<(short), operator<<(unsigned short), operator<<(int),
4581         operator<<(unsigned int), operator<<(long long), operator<<
4582         (unsigned long long), operator<<(double), operator<<(float),
4583         operator<<(long double), operator<<(const void*): Use it.
4584         * include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
4585         * src/istream-inst.cc: Add _M_extract instantiations.
4586         * src/ostream-inst.cc: Add _M_insert instantiations.
4587         * config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
4588         detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
4589         money_put, etc., symbols to avoid exporting _M_insert symbols
4590         @GLIBCXX_3.4.