OSDN Git Service

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