OSDN Git Service

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