OSDN Git Service

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