OSDN Git Service

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