OSDN Git Service

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