OSDN Git Service

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