OSDN Git Service

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