re PR libstdc++/48430 (std::hash partial specialization for std::unique_ptr and std...
[gcc.git] / libstdc++-v3 / ChangeLog
1 2011-07-18 Paolo Carlini <paolo.carlini@oracle.com>
2
3 PR libstdc++/48430
4 * include/bits/shared_ptr.h (struct hash<shared_ptr<>>): Use
5 __hash_base.
6 * include/bits/unique_ptr.h (struct hash<unique_ptr<>>): Likewise.
7
8 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9
10 * crossconfig.m4 (*-netware): Remove.
11 * configure: Regenerate.
12
13 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>
14
15 * config/locale/newlib/ctype_members.cc: New file.
16 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale
17 kind: newlib. Configure to use the newlib specific
18 ctype_members.cc when with_newlib is enabled.
19 * configure: Regenerate.
20
21 2011-07-15 Paolo Carlini <paolo.carlini@oracle.com>
22 Jakub Jelinek <jakub@redhat.com>
23
24 PR libstdc++/49745
25 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check separately for
26 _POSIX_TIMEOUTS and define _GTHREADS_USE_MUTEX_TIMEDLOCK.
27 * libsupc++/guard.cc: Include <unistd.h>.
28 * testsuite/17_intro/headers/c++1998/49745.cc: New.
29 * configure: Regenerate.
30 * config.h.in: Likewise.
31
32 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
33
34 PR libstdc++/49559
35 * include/bits/stl_algo.h (__move_merge_backward): Remove.
36 (__move_merge_adaptive, __move_merge_adaptive_backward): New.
37 (__merge_adaptive): Use the latter two.
38 (__rotate_adaptive): Avoid self move-assignment.
39 * include/bits/stl_algobase.h (move_backward): Fix comment.
40 * testsuite/25_algorithms/stable_sort/49559.cc: New.
41 * testsuite/25_algorithms/inplace_merge/49559.cc: Likewise.
42 * testsuite/25_algorithms/inplace_merge/moveable.cc: Extend.
43 * testsuite/25_algorithms/inplace_merge/moveable2.cc: Likewise.
44 * testsuite/util/testsuite_rvalref.h (rvalstruct::operator=
45 (rvalstruct&&)): Check for self move-assignment.
46
47 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
48
49 * testsuite/util/testsuite_allocator.h (propagating_allocator<>::
50 operator=(const propagating_allocator<>&)): Retun *this.
51
52 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
53
54 * include/Makefile.am: Add new header.
55 * include/Makefile.in: Regenerate.
56 * include/std/scoped_allocator: New.
57 * doc/xml/manual/status_cxx200x.xml: Update.
58 * testsuite/20_util/scoped_allocator/1.cc: New.
59 * testsuite/20_util/scoped_allocator/propagation.cc: New.
60 * testsuite/20_util/scoped_allocator/requirements/typedefs.cc: New.
61 * testsuite/20_util/scoped_allocator/requirements/
62 explicit_instantiation.cc: New.
63
64 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
65
66 * include/bits/stl_vector.h: Use new allocator model in C++0x mode.
67 * include/bits/vector.tcc: Likewise.
68 * testsuite/util/testsuite_allocator.h (propagating_allocator): Define.
69 * testsuite/23_containers/vector/allocator/copy_assign.cc: New.
70 * testsuite/23_containers/vector/allocator/noexcept.cc: New.
71 * testsuite/23_containers/vector/allocator/copy.cc: New.
72 * testsuite/23_containers/vector/allocator/swap.cc: New.
73 * testsuite/23_containers/vector/allocator/move_assign.cc: New.
74 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
75 Adjust dg-error line numbers.
76 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
77 Likewise.
78 * testsuite/23_containers/vector/requirements/dr438/
79 constructor_1_neg.cc: Likewise.
80 * testsuite/23_containers/vector/requirements/dr438/
81 constructor_2_neg.cc: Likewise.
82
83 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
84
85 * include/ext/alloc_traits.h (__allocator_always_compares_equal): New
86 trait, provide partial specializations for known allocators.
87 (__alloc_traits::construct, __alloc_traits::destroy): Overload for
88 non-standard pointer types.
89 (__alloc_traits::_S_always_equal): New trait for use with noexcept.
90 (__alloc_traits::_S_nothrow_move): Likewise.
91 (__alloc_traits::_S_nothrow_swap): Likewise.
92
93 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
94
95 * include/ext/cast.h: Fix typo in include guard.
96 * include/ext/pointer.h (_Unqualified_type): Remove redundant
97 partial specializations for volatile types. Fix typos in comments.
98 (pointer_traits<_Pointer_adaptor<Tp>>::pointer_to): Define.
99
100 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
101
102 PR libstdc++/49668
103 * include/std/functional (__bind_simple): Define.
104 * include/std/future (_Task_setter): Parameterize by type of result
105 pointer instead of state object.
106 (_S_task_setter): Type deduction helper.
107 (_Task_state): Use _S_task_setter and __bind_simple.
108 (_Deferred_state, _Async_state): Store call wrapper directly not as
109 std::function. Use _S_task_setter and __bind_simple.
110 (_S_make_deferred_state, _S_make_async_state): Type deduction helpers.
111 (async): Use new functions and __bind_simple.
112 * include/std/mutex (call_once): Use __bind_simple.
113 * include/std/thread (thread): Likewise. Remove unused headers.
114 * src/thread.cc: Add header.
115 * testsuite/30_threads/async/49668.cc: New.
116 * testsuite/30_threads/call_once/49668.cc: New.
117 * testsuite/30_threads/thread/cons/49668.cc: New.
118 * testsuite/30_threads/thread/cons/moveable.cc: Remove unused bool.
119
120 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
121
122 * configure.host (abi_baseline_subdir_switch): Describe.
123 Provide default.
124 (*-*-solaris2.[89], *-*-solaris2.1[0-9]): Override.
125 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Substitute
126 baseline_subdir_switch.
127 * testsuite/Makefile.am (site.exp): Emit it.
128 (baseline_subdir): Use it.
129 * testsuite/libstdc++-abi/abi.exp: Use it.
130 * configure: Regenerate.
131 * Makefile.in: Regenerate.
132 * doc/Makefile.in: Regenerate.
133 * include/Makefile.in: Regenerate.
134 * libsupc++/Makefile.in: Regenerate.
135 * po/Makefile.in: Regenerate.
136 * python/Makefile.in: Regenerate.
137 * src/Makefile.in: Regenerate.
138 * testsuite/Makefile.in: Regenerate.
139
140 2011-06-29 François Dumont <francois.cppdevs@free.fr>
141
142 * include/debug/set.h, unordered_map, multiset.h, forward_list,
143 unordered_set, vector, deque, string, list, multimap.h: Remove
144 base class default constructor calls.
145 * include/debug/map.h: Likewise and cleanup several redefinition of
146 base iterator typedef.
147
148 2011-06-29 Nathan Sidwell <nathan@codesourcery.com>
149
150 * libsupc++/eh_arm.c (__cxa_type_match): Construct address of
151 thrown object here. Return succeded_with_ptr_to_base for all
152 pointer cases.
153
154 2011-06-23 Jonathan Wakely <jwakely.gcc@gmail.com>
155
156 * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
157 C++0x mode.
158 * testsuite/25_algorithms/sort/35588.cc: Likewise.
159 * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
160
161 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
162
163 * testsuite/20_util/bind/socket.cc: Use variable and remove attribute.
164
165 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
166
167 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Avoid -Wall
168 warning.
169
170 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
171
172 * testsuite/20_util/reference_wrapper/invoke.cc: Avoid -Wall warnings.
173 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise.
174 * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
175 * testsuite/20_util/allocator_traits/members/allocate_hint.cc:
176 Likewise.
177 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
178 * testsuite/20_util/bind/socket.cc: Likewise.
179 * testsuite/20_util/pointer_traits/pointer_to.cc: Likewise.
180 * testsuite/util/testsuite_random.h: Likewise.
181
182 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
183
184 * include/Makefile.am: Add alloc_traits.h headers.
185 * include/Makefile.in: Regenerate.
186 * include/std/memory: Include uses_allocator.h explicitly.
187 * include/bits/allocator.h (allocator_traits): Move to ...
188 * include/bits/alloc_traits.h: New header.
189 * include/ext/alloc_traits.h (__alloc_traits): Extension to provide
190 a common allocator interface for C++98 and C++0x.
191 * include/bits/stl_construct.h: Use __alloc_traits.
192 * include/bits/stl_uninitialized.h: Likewise.
193
194 2011-06-22 Daniel Krugler <daniel.kruegler@googlemail.com>
195 Paolo Carlini <paolo.carlini@oracle.com>
196
197 * include/bits/move.h (__is_nothrow_swappable): Add.
198 (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Use noexcept.
199 * include/bits/algorithmfwd.h: Adjust.
200 * testsuite/25_algorithms/swap/noexcept.cc: New.
201
202 2011-06-21 Jakub Jelinek <jakub@redhat.com>
203
204 * testsuite/Makefile.am (check_DEJAGNU_normal_targets): Add
205 check-DEJAGNUnormal[4-9].
206 (check-DEJAGNU): Split into 10 jobs for parallel testing instead of 4.
207 * testsuite/Makefile.in: Regenerated.
208
209 2011-06-20 Daniel Krugler <daniel.kruegler@googlemail.com>
210 Paolo Carlini <paolo.carlini@oracle.com>
211
212 * include/std/tuple (__conv_types, __one_by_one_convertible,
213 __all_convertible): Add.
214 (tuple): Use the latter.
215 (tuple<_T1>): Remove.
216 * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error
217 line number.
218 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
219
220 2011-06-14 Jonathan Wakely <jwakely.gcc@gmail.com>
221
222 * include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use
223 noexcept.
224
225 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
226
227 * include/std/valarray (~valarray): Use noexcept.
228 * include/bits/unique_ptr.h (~unique_ptr): Likewise.
229 * testsuite/26_numerics/valarray/noexcept_move_construct.cc: New.
230 * testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc:
231 Likewise.
232 * testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc:
233 Likewise.
234 * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc:
235 Likewise.
236
237 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
238
239 * include/std/functional: Use noexcept.
240 * include/bits/stl_tempbuf.h: Likewise.
241
242 2011-06-12 François Dumont <francois.cppdevs@free.fr>
243 Paolo Carlini <paolo.carlini@oracle.com>
244
245 * include/bits/allocator.h (__shrink_to_fit): Rename to
246 __shrink_to_fit_aux, fix.
247 * include/bits/stl_vector.h (_M_shrink_to_fit): Declare.
248 (shrink_to_fit): Use the latter.
249 * include/debug/vector (shrink_to_fit): Likewise.
250 * include/bits/vector.tcc (_M_shrink_to_fit): Define.
251 * include/bits/stl_deque.h (_M_shrink_to_fit): Declare.
252 (shrink_to_fit): Use the latter.
253 * include/debug/deque (shrink_to_fit): Likewise.
254 * include/bits/deque.tcc (_M_shrink_to_fit): Define.
255 * include/bits/vector.tcc (vector<bool>::_M_reallocate): Add.
256 * include/bits/stl_bvector.h (_M_shrink_to_fit): Declare.
257 (shrink_to_fit): Use the latter.
258 (reserve): Use _M_reallocate, move inline.
259 (_Bvector_base<>::_S_nword): Add, use it throughout.
260 * include/debug/string (shrink_to_fit): Redo.
261 * include/ext/vstring.h (shrink_to_fit): Optimize.
262 * include/bits/basic_string.h (shrink_to_fit): Likewise.
263 * testsuite/21_strings/debug/shrink_to_fit.cc: New.
264 * testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise.
265 * testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc:
266 Likewise.
267 * testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc:
268 Likewise.
269 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
270
271 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
272
273 * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
274 C++0x mode.
275 * testsuite/25_algorithms/sort/35588.cc: Likewise.
276 * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
277
278 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
279
280 * include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x
281 mode by overloading to take allocator's pointer type.
282 * testsuite/23_containers/vector/ext_pointer/types/2.cc: New.
283 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
284 2.cc: New.
285
286 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
287
288 * testsuite/20_util/allocator_traits/requirements/
289 explicit_instantiation.cc: Add another instantiation.
290
291 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
292
293 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: Check
294 for allocator_type and value_type.
295
296 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
297
298 * testsuite/30_threads/packaged_task/uses_allocator.cc: New.
299 * testsuite/30_threads/promise/uses_allocator.cc: Likewise.
300
301 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com>
302
303 * include/ext/throw_allocator.h: Use noexcept.
304 * include/ext/pool_allocator.h: Likewise.
305 * include/ext/bitmap_allocator.h: Likewise.
306 * include/ext/new_allocator.h: Likewise.
307 * include/ext/malloc_allocator.h: Likewise.
308 * include/ext/array_allocator.h: Likewise.
309 * include/ext/mt_allocator.h: Likewise.
310 * include/ext/extptr_allocator.h: Likewise.
311 * testsuite/util/testsuite_allocator.h: Likewise; do not include
312 <cassert> directly, include <testsuite_hooks.h> instead.
313
314 2011-06-10 Benjamin Kosnik <bkoz@redhat.com>
315
316 * include/ext/pb_ds/*: Doxygen markup redo.
317 * include/Makefile.am: Fold in constructors_destructor_fn_imps.hpp.
318 * include/Makefile.in: Regenerate.
319
320 2011-06-10 Jason Merrill <jason@redhat.com>
321
322 * testsuite/20_util/bind/ref_neg.cc: Remove wrong test lines.
323
324 * testsuite/20_util/bind/ref_neg.cc: Remove dg-excess-errors,
325 fix dg-error markup.
326
327 2011-06-09 Jason Merrill <jason@redhat.com>
328
329 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust.
330
331 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
332 * testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
333 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
334 * testsuite/20_util/forward/1_neg.cc: Likewise.
335 * testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
336 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
337 * testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
338 * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
339 * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
340 Likewise.
341 * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
342 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
343 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
344 Likewise.
345 * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
346 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
347 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
348 Likewise.
349 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
350 auto_ptr_rvalue_neg.cc: Likewise.
351 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
352 Likewise.
353 * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
354 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
355 Likewise.
356 * testsuite/23_containers/deque/requirements/dr438/
357 constructor_1_neg.cc: Likewise.
358 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
359 Likewise.
360 * testsuite/23_containers/forward_list/requirements/dr438/
361 assign_neg.cc: Likewise.
362 * testsuite/23_containers/forward_list/requirements/dr438/
363 constructor_1_neg.cc: Likewise.
364 * testsuite/23_containers/forward_list/requirements/dr438/
365 constructor_2_neg.cc: Likewise.
366 * testsuite/23_containers/forward_list/requirements/dr438/
367 insert_neg.cc: Likewise.
368 * testsuite/23_containers/list/requirements/dr438/
369 assign_neg.cc: Likewise.
370 * testsuite/23_containers/list/requirements/dr438/
371 constructor_1_neg.cc: Likewise.
372 * testsuite/23_containers/list/requirements/dr438/
373 constructor_2_neg.cc: Likewise.
374 * testsuite/23_containers/list/requirements/dr438/
375 insert_neg.cc: Likewise.
376 * testsuite/23_containers/vector/requirements/dr438/
377 assign_neg.cc: Likewise.
378 * testsuite/23_containers/vector/requirements/dr438/
379 constructor_1_neg.cc: Likewise.
380 * testsuite/23_containers/vector/requirements/dr438/
381 constructor_2_neg.cc: Likewise.
382 * testsuite/23_containers/vector/requirements/dr438/
383 insert_neg.cc: Likewise.
384 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
385 * testsuite/29_atomics/atomic_integral/operators/
386 bitwise_neg.cc: Likewise.
387 * testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
388 * testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
389 * testsuite/decimal/operator_neg.cc: Likewise.
390
391 2011-06-09 Simon Baldwin <simonb@google.com>
392
393 * scripts/extract_symvers.in: Handle processor/OS specific or
394 unknown symbol binding strings from readelf.
395
396 2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
397
398 * include/std/type_traits (__is_copy_assignable_impl,
399 __is_nt_copy_assignable_impl): Fix typo.
400
401 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
402
403 * include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
404 instead of <limits>.
405 * include/bits/allocator.h: Likewise.
406
407 * include/std/chrono (duration_values<>::min): Call lowest, not min.
408
409 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
410
411 * include/bits/allocator.h (__shrink_to_fit): Simplify.
412 * include/bits/stl_vector.h (vector<>::shrink_to_fit): Adjust.
413 * include/bits/stl_deque.h: Likewise.
414 * include/bits/stl_bvector.h: Likewise.
415
416 2011-06-07 Jason Merrill <jason@redhat.com>
417
418 * testsuite/lib/prune.exp: s/required/instantiated/.
419 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
420 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
421 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
422 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
423 * testsuite/20_util/forward/1_neg.cc: Likewise.
424 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
425 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
426 Likewise.
427 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
428 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
429 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
430 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
431 * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
432 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
433 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
434 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
435 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
436 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
437 shared_ptr_neg.cc: Likewise.
438
439 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
440
441 * include/bits/move.h (struct __move_if_noexcept_cond): Add.
442 (move_if_noexcept): Use the latter.
443 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator,
444 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add.
445 * include/bits/stl_uninitialized.h
446 (__uninitialized_move_if_noexcept_a): Add.
447 * include/bits/vector.tcc (vector<>::reserve): Use
448 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR.
449 (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append,
450 _M_range_insert): Use __uninitialized_move_if_noexcept_a.
451 * testsuite/util/testsuite_rvalref.h (throwing_move_constructor):
452 Add.
453 (copycounter::copycounter(copycounter&&)): Use noexcept.
454 * testsuite/23_containers/vector/modifiers/moveable2.cc: New.
455 * testsuite/23_containers/vector/capacity/resize/moveable2.cc:
456 Likewise.
457 * testsuite/23_containers/vector/capacity/reserve/moveable2.cc:
458 Likewise.
459
460 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
461
462 PR libstdc++/49293
463 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
464 for glibc 2.14.
465 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
466
467 2011-06-06 Paolo Carlini <paolo.carlini@oracle.com>
468
469 * include/bits/move.h (move_if_noexcept): Use __and_ and __not_.
470
471 2011-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
472
473 * include/bits/ptr_traits.h (pointer_traits): Fix typos.
474 * include/ext/pointer.h (pointer_traits): Add partial specialization
475 for _Pointer_adapter.
476
477 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com>
478
479 * testsuite/util/testsuite_allocator.h (tracker_allocator::construct):
480 Update to C++0x definition using type to construct as template
481 parameter.
482 (tracker_allocator::destroy): Likewise for type to destroy.
483 (uneq_allocator::construct, uneq_allocator::destroy): Likewise.
484
485 2011-06-01 Paolo Carlini <paolo.carlini@oracle.com>
486
487 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
488 Use std::move on the allocator, use noexcept.
489 (_Hashtable<>::~_Hashtable): Use noexcept.
490 * include/bits/stl_list.h: Likewise.
491 * include/bits/forward_list.h: Likewise.
492 * include/bits/stl_vector.h: Likewise.
493 * include/bits/stl_bvector.h: Likewise.
494 * include/bits/stl_map.h (map<>::map(map&&)): Use noexcept.
495 * include/bits/stl_set.h: Likewise.
496 * include/bits/stl_multimap.h: Likewise.
497 * include/bits/stl_multiset.h: Likewise.
498 * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
499 std::move on the allocator.
500 (_Rb_tree<>::~_Rb_tree): Use noexcept.
501 * include/bits/stl_deque.h: Likewise.
502 * include/bits/basic_string.h (basic_string<>::~basic_string): Use
503 noexcept.
504 * include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
505 * include/debug/set.h: Adjust.
506 * include/debug/unordered_map: Likewise.
507 * include/debug/multiset.h: Likewise.
508 * include/debug/forward_list: Likewise.
509 * include/debug/vector: Likewise.
510 * include/debug/unordered_set: Likewise.
511 * include/debug/deque: Likewise.
512 * include/debug/map.h: Likewise.
513 * include/debug/string: Likewise.
514 * include/debug/list: Likewise.
515 * include/debug/multimap.h: Likewise.
516 * include/profile/set.h: Likewise.
517 * include/profile/unordered_map: Likewise.
518 * include/profile/multiset.h: Likewise.
519 * include/profile/forward_list: Likewise.
520 * include/profile/unordered_set: Likewise.
521 * include/profile/vector: Likewise.
522 * include/profile/deque: Likewise.
523 * include/profile/map.h: Likewise.
524 * include/profile/list: Likewise.
525 * include/profile/multimap.h: Likewise.
526 * testsuite/21_strings/basic_string/cons/wchar_t/
527 noexcept_move_construct.cc: New.
528 * testsuite/21_strings/basic_string/cons/char/
529 noexcept_move_construct.cc: Likewise.
530 * testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
531 * testsuite/23_containers/unordered_map/cons/
532 noexcept_move_construct.cc: Likewise.
533 * testsuite/23_containers/multimap/cons/
534 noexcept_move_construct.cc: Likewise.
535 * testsuite/23_containers/set/cons/
536 noexcept_move_construct.cc: Likewise.
537 * testsuite/23_containers/unordered_multimap/cons/
538 noexcept_move_construct.cc: Likewise.
539 * testsuite/23_containers/forward_list/cons/
540 noexcept_move_construct.cc: Likewise.
541 * testsuite/23_containers/unordered_set/cons/
542 noexcept_move_construct.cc: Likewise.
543 * testsuite/23_containers/vector/bool/cons/
544 noexcept_move_construct.cc: Likewise.
545 * testsuite/23_containers/vector/cons/
546 noexcept_move_construct.cc: Likewise.
547 * testsuite/23_containers/multiset/cons/
548 noexcept_move_construct.cc: Likewise.
549 * testsuite/23_containers/list/cons/
550 noexcept_move_construct.cc: Likewise.
551 * testsuite/23_containers/unordered_multiset/cons/
552 noexcept_move_construct.cc: Likewise.
553 * testsuite/23_containers/map/cons/noexcept_move_construct.cc
554 * testsuite/23_containers/forward_list/requirements/dr438/
555 assign_neg.cc: Adjust dg-error line numbers.
556 * testsuite/23_containers/forward_list/requirements/dr438/
557 insert_neg.cc: Likewise.
558 * testsuite/23_containers/forward_list/requirements/dr438/
559 constructor_1_neg.cc: Likewise.
560 * testsuite/23_containers/forward_list/requirements/dr438/
561 constructor_2_neg.cc: Likewise.
562 * testsuite/23_containers/vector/requirements/dr438/
563 assign_neg.cc: Likewise.
564 * testsuite/23_containers/vector/requirements/dr438/
565 insert_neg.cc: Likewise.
566 * testsuite/23_containers/vector/requirements/dr438/
567 constructor_1_neg.cc: Likewise.
568 * testsuite/23_containers/vector/requirements/dr438/
569 constructor_2_neg.cc: Likewise.
570 * testsuite/23_containers/deque/requirements/dr438/
571 assign_neg.cc: Likewise.
572 * testsuite/23_containers/deque/requirements/dr438/
573 insert_neg.cc: Likewise.
574 * testsuite/23_containers/deque/requirements/dr438/
575 constructor_1_neg.cc: Likewise.
576 * testsuite/23_containers/deque/requirements/dr438/
577 constructor_2_neg.cc: Likewise.
578 * testsuite/23_containers/list/requirements/dr438/
579 assign_neg.cc: Likewise.
580 * testsuite/23_containers/list/requirements/dr438/
581 insert_neg.cc: Likewise.
582 * testsuite/23_containers/list/requirements/dr438/
583 constructor_1_neg.cc: Likewise.
584 * testsuite/23_containers/list/requirements/dr438/
585 constructor_2_neg.cc: Likewise.
586
587 * include/bits/move.h (swap): Use __and_ in the noexcept.
588 * include/bits/algorithmfwd.h: Adjust.
589
590 2011-05-31 Paolo Carlini <paolo.carlini@oracle.com>
591
592 * include/bits/basic_string.h: Use noexcept per the FDIS (minus
593 compare(const string&), which uses char_traits::compare, which
594 isn't noexcept; also no noexcept in the move assignment operator
595 and move assign, see c++std-lib-30855).
596 * include/bits/basic_string.tcc: Likewise.
597 * include/ext/vstring.h: Likewise.
598 * include/ext/vstring.tcc: Likewise.
599 * include/debug/string: Likewise.
600
601 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
602
603 * doc/xml/manual/status_cxx200x.xml: Update.
604 * doc/html/*: Regenerate.
605
606 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
607
608 * include/std/type_traits (__or_, __and_): Add trivial definitions
609 for a single element.
610 * include/bits/stl_pair.h: Use __and_ in noexcept specs and
611 constraints.
612 (pair<>::pair(pair&&)): Define.
613 (pair<>::pair(const pair<>&)): Constrain with is_convertible.
614 (pair<>::pair(pair<>&&)): Likewise, remove noexcept.
615 * include/std/tuple: Use __and_ in noexcept specs and constraints.
616 (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&,
617 _Tuple_impl&&)): Remove noexcept.
618 (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&),
619 tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&),
620 tuple(pair<_U1, _U2>&&)): Constrain with is_convertible.
621 * testsuite/20_util/tuple/moveable2.cc: Use = delete.
622 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
623 Adjust dg-error line numbers.
624 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
625 Likewise.
626 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
627 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
628 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
629
630 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
631
632 * include/std/tuple: Restore is_convertible constraint.
633 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
634
635 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
636
637 PR libstdc++/49236
638 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
639 line number.
640
641 2011-05-30 Jonathan Wakely <jwakely.gcc@gmail.com>
642
643 * include/std/tuple: Implement uses-allocator construction.
644 * include/bits/allocator.h (uses_allocator): Move to ...
645 * include/bits/uses_allocator.h: New file.
646 * include/Makefile.am: Add new header.
647 * include/Makefile.in: Regenerate.
648 * testsuite/20_util/uses_allocator/cons_neg.cc: New.
649 * testsuite/20_util/uses_allocator/construction.cc: New.
650 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
651 * testsuite/20_util/tuple/cons/allocators.cc: New.
652
653 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
654
655 * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
656
657 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
658
659 * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
660 GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
661 * configure.ac: Use them. Increase minor version.
662 * configure: Regenerate.
663 * config.h.in: Regenerate.
664 * include/std/thread (thread::hardware_concurrency): Remove inline
665 definition.
666 * src/thread.cc (thread::hardware_concurrency): Define.
667 * config/abi/pre/gnu.ver: Export new symbol @3.4.17
668 * testsuite/util/testsuite_abi.cc: Add new version.
669 * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
670 * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
671 * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
672 dg-require-nprocs and verify hardware_concurrency returns non-zero.
673
674 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
675
676 * testsuite/20_util/pointer_traits/pointer_to.cc: New.
677
678 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
679
680 * include/Makefile.am: Add new ptr_traits.h header.
681 * include/Makefile.in: Regenerate.
682 * include/bits/ptr_traits.h (pointer_traits): New.
683 * include/bits/allocator.h (allocator_traits): Add.
684 * include/ext/array_allocator.h (construct, destroy): Update C++0x
685 versions.
686 * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
687 * include/ext/extptr_allocator.h (construct, destroy): Likewise.
688 * include/ext/malloc_allocator.h (construct, destroy): Likewise.
689 * include/ext/mt_allocator.h (construct, destroy): Likewise.
690 * include/ext/new_allocator.h (construct, destroy): Likewise.
691 * include/ext/pool_allocator.h (construct, destroy): Likewise.
692 * include/ext/throw_allocator.h (construct, destroy): Likewise.
693 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
694 * testsuite/20_util/allocator_traits/requirements/
695 explicit_instantiation.cc: New.
696 * testsuite/20_util/allocator_traits/members/max_size.cc: New.
697 * testsuite/20_util/allocator_traits/members/select.cc: New.
698 * testsuite/20_util/allocator_traits/members/construct.cc: New.
699 * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
700 * testsuite/20_util/allocator_traits/members/destroy.cc: New.
701 * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
702 * testsuite/20_util/pointer_traits/requirements/
703 explicit_instantiation.cc: New.
704
705 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
706
707 * include/std/future (launch): Update enumerators and define
708 operators required for bitmask type. Remove trailing whitespace.
709 * src/future.cc: Remove trailing whitespace.
710 * testsuite/30_threads/async/any.cc: Adjust.
711 * testsuite/30_threads/async/sync.cc: Adjust.
712 * testsuite/30_threads/async/launch.cc: New.
713
714 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
715
716 * include/std/future: Use noexcept.
717 * src/future.cc: Likewise.
718
719 2011-05-27 Jonathan Wakely <jwakely.gcc@gmail.com>
720
721 * include/std/thread (this_thread::sleep_until): Move after sleep_for.
722
723 2011-05-27 Paolo Carlini <paolo.carlini@oracle.com>
724
725 PR libstdc++/49187
726 * include/parallel/losertree.h: Add missing using declarations
727 of _Base::_M_comp.
728 * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
729 * include/parallel/multiway_merge.h: Include <parallel/
730 multiseq_selection.h>, forward declare __merge_advance.
731 * include/parallel/multiseq_selection.h: Don't include <parallel/
732 sort.h> here.
733 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
734 qualification of upper_bound.
735
736 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
737 Use dg-require-debug-mode.
738 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
739 Likewise.
740 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
741 Likewise.
742 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
743 Likewise.
744 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
745 Likewise.
746 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
747 Likewise.
748 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
749 Likewise.
750 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
751 Likewise.
752 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
753 Likewise.
754
755 * include/parallel/algo.h: Minor uglification fixes.
756
757 2011-05-26 Paolo Carlini <paolo.carlini@oracle.com>
758
759 * src/list.cc: Use noexcept per the FDIS.
760 * src/compatibility-list-2.cc: Likewise.
761 * include/debug/set.h: Likewise.
762 * include/debug/unordered_map: Likewise.
763 * include/debug/multiset.h: Likewise.
764 * include/debug/forward_list: Likewise.
765 * include/debug/unordered_set: Likewise.
766 * include/debug/vector: Likewise.
767 * include/debug/map.h: Likewise.
768 * include/debug/deque: Likewise.
769 * include/debug/list: Likewise.
770 * include/debug/multimap.h: Likewise.
771 * include/profile/set.h: Likewise.
772 * include/profile/unordered_map: Likewise.
773 * include/profile/multiset.h: Likewise.
774 * include/profile/forward_list: Likewise.
775 * include/profile/vector: Likewise.
776 * include/profile/unordered_set: Likewise.
777 * include/profile/map.h: Likewise.
778 * include/profile/deque: Likewise.
779 * include/profile/list: Likewise.
780 * include/profile/multimap.h: Likewise.
781 * include/bits/hashtable.h: Likewise.
782 * include/bits/stl_list.h: Likewise.
783 * include/bits/stl_map.h: Likewise.
784 * include/bits/hashtable_policy.h: Likewise.
785 * include/bits/stl_set.h: Likewise.
786 * include/bits/forward_list.h: Likewise.
787 * include/bits/stl_multimap.h: Likewise.
788 * include/bits/stl_vector.h: Likewise.
789 * include/bits/stl_deque.h: Likewise.
790 * include/bits/stl_multiset.h: Likewise.
791 * include/bits/stl_bvector.h: Likewise.
792 * include/bits/stl_tree.h: Likewise.
793
794 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
795
796 * include/bits/stl_queue.h: Use noexcept per the FDIS.
797 * include/bits/stl_stack.h: Likewise.
798
799 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
800
801 * config/abi/pre/gnu.ver: Correct last change, export instead
802 at the existing @3.4.16.
803 * configure.ac: Revert last change.
804 * testsuite/util/testsuite_abi.cc: Likewise.
805 * configure: Regenerate.
806
807 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
808
809 * doc/xml/manual/documentation_hacking.xml: Minor corrections.
810
811 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
812
813 * include/std/mutex: Add doxygen comments.
814
815 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
816
817 * config/abi/pre/gnu.ver: Export recently added basic_streambuf
818 and basic_stringbuf symbols @3.4.17.
819 * configure.ac: Update.
820 * testsuite/util/testsuite_abi.cc: Likewise.
821 * configure: Regenerate.
822
823 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
824
825 * libsupc++/guard.cc: Fix comments.
826
827 2011-05-25 Ian Lance Taylor <iant@google.com>
828
829 PR libstdc++/49060
830 * include/backward/hashtable.h (hashtable::erase): Don't crash if
831 erasing first and another element with a reference to the other
832 element.
833 * testsuite/backward/hash_set/49060.cc: New.
834
835 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
836
837 * include/bits/random.h (random_device::min, max): Specify constexpr.
838
839 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
840
841 * include/std/thread: Use noexcept throughout per the FDIS.
842 * include/std/mutex: Likewise.
843
844 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
845
846 * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
847
848 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
849
850 PR libstdc++/49151
851 * include/std/chrono (operator+, operator-, operator*, operator/,
852 operator&): Implement LWG 2020 [WP]; specify constexpr.
853 * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
854
855 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
856
857 PR libstdc++/49141
858 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
859 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
860 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
861
862 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
863
864 * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
865 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
866 line number.
867
868 2011-05-23 Benjamin Kosnik <bkoz@redhat.com>
869
870 PR libstdc++/37144
871 PR libstdc++/28457
872 Interface changes for ext/pb_ds.
873 PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
874 * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
875 (basic_hash_table, basic_branch, list_update): Derive from
876 container_base_dispatch.
877 * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
878 (move_to_front_lu_policy): To lu_move_to_front_policy.
879 (counter_lu_policy): To lu_counter_policy.
880 * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
881 * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
882 template parameters, declare here.
883 (null_mapped_type) Remove.
884 (null_type): Just use this for template tricks everywhere.
885 * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
886 Remove.
887 * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
888 (string_trie_e_access_traits): To trie_string_access_traits.
889 * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
890
891 File changes.
892 * include/Makefile.am (pb_headers): Removed and changed file names.
893 * include/Makefile.in: Regenerated.
894 * include/ext/pb_ds/detail/basic_types.hpp: Remove.
895 * include/ext/pb_ds/detail/bin_search_tree_/
896 cond_dtor_entry_dealtor.hpp: Remove.
897 * include/ext/pb_ds/detail/bin_search_tree_/
898 cond_key_dtor_entry_dealtor.hpp: Remove.
899 * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
900 * include/ext/pb_ds/detail/binary_heap_/
901 point_const_iterator.hpp: ..here.
902 * include/ext/pb_ds/detail/basic_tree_policy: Move to...
903 * include/ext/pb_ds/detail/branch_policy: This.
904 * include/ext/pb_ds/detail/branch_policy/
905 basic_tree_policy_base.hpp: Move...
906 * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
907 * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
908 * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
909 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
910 null_metadata.hpp: Remove.
911 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
912 const_point_iterator.hpp: Move...
913 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
914 point_const_iterator.hpp: ...here.
915 * include/ext/pb_ds/detail/list_update_policy/
916 counter_lu_metadata.hpp: Move..
917 * include/ext/pb_ds/detail/list_update_policy/
918 lu_counter_metadata.hpp: ...here.
919 * include/ext/pb_ds/detail/list_update_policy/
920 counter_lu_policy_imp.hpp: Remove.
921 * include/ext/pb_ds/detail/list_update_policy/
922 mtf_lu_policy_imp.hpp: Remove.
923 * include/ext/pb_ds/detail/trie_policy/
924 string_trie_e_access_traits_imp.hpp: Move...
925 * include/ext/pb_ds/detail/trie_policy/
926 sample_trie_access_traits.hpp: ...here.
927 * include/ext/pb_ds/detail/trie_policy/
928 sample_trie_e_access_traits.hpp: Move...
929 * include/ext/pb_ds/detail/trie_policy/
930 trie_string_access_traits_imp.hpp: ...here.
931 * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
932 * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
933 * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
934 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
935 types found in the following files into pat_trie_base.
936 * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
937 * include/ext/pb_ds/detail/pat_trie_/
938 cond_dtor_entry_dealtor.hpp: Folded.
939 * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
940 * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
941 * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
942 * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
943 * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
944 * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
945 * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
946 * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
947 * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
948 * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
949 * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
950 * include/ext/pb_ds/detail/unordered_iterator/
951 const_point_iterator.hpp: Move...
952 * include/ext/pb_ds/detail/unordered_iterator/
953 point_const_iterator.hpp: ...here.
954
955
956 Adjust for above changes.
957 * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
958 * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
959 * include/ext/pb_ds/detail/resize_policy/
960 sample_resize_trigger.hpp: Same.
961 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
962 * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
963 * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
964 * include/ext/pb_ds/detail/binomial_heap_base_/
965 binomial_heap_base_.hpp: Same.
966 * include/ext/pb_ds/detail/binomial_heap_base_/
967 constructors_destructor_fn_imps.hpp: Same.
968 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
969 * include/ext/pb_ds/detail/binomial_heap_base_/
970 split_join_fn_imps.hpp: Same.
971 * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
972 for template parameter ordering change.
973 * include/ext/pb_ds/detail/cc_hash_table_map_/
974 erase_store_hash_fn_imps.hpp: Same.
975 * include/ext/pb_ds/detail/cc_hash_table_map_/
976 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
977 * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
978 * include/ext/pb_ds/detail/cc_hash_table_map_/
979 insert_no_store_hash_fn_imps.hpp: Same.
980 * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
981 * include/ext/pb_ds/detail/cc_hash_table_map_/
982 policy_access_fn_imps.hpp: Same.
983 * include/ext/pb_ds/detail/cc_hash_table_map_/
984 resize_store_hash_fn_imps.hpp: Same.
985 * include/ext/pb_ds/detail/cc_hash_table_map_/
986 constructor_destructor_store_hash_fn_imps.hpp: Same.
987 * include/ext/pb_ds/detail/cc_hash_table_map_/
988 insert_store_hash_fn_imps.hpp: Same.
989 * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
990 * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
991 * include/ext/pb_ds/detail/cc_hash_table_map_/
992 entry_list_fn_imps.hpp: Same.
993 * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
994 * include/ext/pb_ds/detail/cc_hash_table_map_/
995 find_store_hash_fn_imps.hpp: Same.
996 * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
997 * include/ext/pb_ds/detail/cc_hash_table_map_/
998 debug_no_store_hash_fn_imps.hpp: Same.
999 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
1000 * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
1001 * include/ext/pb_ds/detail/cc_hash_table_map_/
1002 constructor_destructor_fn_imps.hpp: Same.
1003 * include/ext/pb_ds/detail/cc_hash_table_map_/
1004 cond_key_dtor_entry_dealtor.hpp: Same.
1005 * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
1006 * include/ext/pb_ds/detail/cc_hash_table_map_/
1007 debug_store_hash_fn_imps.hpp: Same.
1008 * include/ext/pb_ds/detail/cc_hash_table_map_/
1009 erase_no_store_hash_fn_imps.hpp: Same.
1010 * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
1011 * include/ext/pb_ds/detail/cc_hash_table_map_/
1012 iterators_fn_imps.hpp: Same.
1013 * include/ext/pb_ds/detail/cc_hash_table_map_/
1014 resize_no_store_hash_fn_imps.hpp: Same.
1015 * include/ext/pb_ds/detail/cc_hash_table_map_/
1016 standard_policies.hpp: Same.
1017 * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
1018 * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
1019 * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
1020 * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
1021 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
1022 * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
1023 * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
1024 * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
1025 * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
1026 * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
1027 * include/ext/pb_ds/detail/pat_trie_/
1028 constructors_destructor_fn_imps.hpp: Same.
1029 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
1030 * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
1031 * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
1032 * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
1033 * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
1034 * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
1035 * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
1036 * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
1037 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
1038 * include/ext/pb_ds/detail/bin_search_tree_/
1039 policy_access_fn_imps.hpp: Same.
1040 * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
1041 * include/ext/pb_ds/detail/bin_search_tree_/
1042 constructors_destructor_fn_imps.hpp: Same.
1043 * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
1044 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
1045 * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
1046 * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
1047 * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
1048 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
1049 * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
1050 * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
1051 * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
1052 * include/ext/pb_ds/detail/bin_search_tree_/
1053 split_join_fn_imps.hpp: Same.
1054 * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
1055 * include/ext/pb_ds/detail/list_update_policy/
1056 sample_update_policy.hpp: Same.
1057 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1058 trace_fn_imps.hpp: Same.
1059 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1060 erase_fn_imps.hpp: Same.
1061 * include/ext/pb_ds/detail/gp_hash_table_map_/
1062 erase_store_hash_fn_imps.hpp: Same.
1063 * include/ext/pb_ds/detail/gp_hash_table_map_/
1064 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
1065 * include/ext/pb_ds/detail/gp_hash_table_map_/
1066 insert_no_store_hash_fn_imps.hpp: Same.
1067 * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
1068 * include/ext/pb_ds/detail/gp_hash_table_map_/
1069 policy_access_fn_imps.hpp: Same.
1070 * include/ext/pb_ds/detail/gp_hash_table_map_/
1071 resize_store_hash_fn_imps.hpp: Same.
1072 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
1073 * include/ext/pb_ds/detail/gp_hash_table_map_/
1074 constructor_destructor_store_hash_fn_imps.hpp: Same.
1075 * include/ext/pb_ds/detail/gp_hash_table_map_/
1076 insert_store_hash_fn_imps.hpp: Same.
1077 * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
1078 * include/ext/pb_ds/detail/gp_hash_table_map_/
1079 iterator_fn_imps.hpp: Same.
1080 * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
1081 * include/ext/pb_ds/detail/gp_hash_table_map_/
1082 find_no_store_hash_fn_imps.hpp: Same.
1083 * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
1084 * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
1085 * include/ext/pb_ds/detail/gp_hash_table_map_/
1086 find_store_hash_fn_imps.hpp: Same.
1087 * include/ext/pb_ds/detail/gp_hash_table_map_/
1088 debug_no_store_hash_fn_imps.hpp: Same.
1089 * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
1090 * include/ext/pb_ds/detail/gp_hash_table_map_/
1091 constructor_destructor_fn_imps.hpp: Same.
1092 * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
1093 * include/ext/pb_ds/detail/gp_hash_table_map_/
1094 debug_store_hash_fn_imps.hpp: Same.
1095 * include/ext/pb_ds/detail/gp_hash_table_map_/
1096 erase_no_store_hash_fn_imps.hpp: Same.
1097 * include/ext/pb_ds/detail/gp_hash_table_map_/
1098 resize_no_store_hash_fn_imps.hpp: Same.
1099 * include/ext/pb_ds/detail/gp_hash_table_map_/
1100 standard_policies.hpp: Same.
1101 * include/ext/pb_ds/detail/standard_policies.hpp: Same.
1102 * include/ext/pb_ds/detail/types_traits.hpp: Same.
1103 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
1104 * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
1105 * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
1106 * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
1107 * include/ext/pb_ds/detail/binary_heap_/
1108 constructors_destructor_fn_imps.hpp: Same.
1109 * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
1110 * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
1111 * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
1112 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
1113 * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
1114 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
1115 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
1116 * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
1117 * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
1118 * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
1119 * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
1120 * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
1121 * include/ext/pb_ds/detail/tree_policy/
1122 sample_tree_node_update.hpp: Same.
1123 * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
1124 * include/ext/pb_ds/detail/trie_policy/
1125 sample_trie_node_update.hpp: Same.
1126 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
1127 * include/ext/pb_ds/detail/trie_policy/
1128 prefix_search_node_update_imp.hpp: Same.
1129 * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
1130 * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
1131 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
1132 Adjust for template parameter change, fold into
1133 container_base_dispatch.
1134 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
1135 * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
1136 * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
1137 * include/ext/pb_ds/detail/pairing_heap_/
1138 constructors_destructor_fn_imps.hpp: Same.
1139 * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
1140 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
1141 * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
1142 * include/ext/pb_ds/detail/binomial_heap_/
1143 constructors_destructor_fn_imps.hpp: Same.
1144 * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
1145 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
1146 * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
1147 * include/ext/pb_ds/detail/type_utils.hpp: Same.
1148 * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
1149 * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
1150 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1151 policy_access_fn_imps.hpp: Same.
1152 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1153 left_child_next_sibling_heap_.hpp: Same.
1154 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1155 const_iterator.hpp: Same.
1156 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1157 insert_fn_imps.hpp: Same.
1158 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1159 constructors_destructor_fn_imps.hpp: Same.
1160 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1161 debug_fn_imps.hpp: Same.
1162 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1163 node.hpp: Same.
1164 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1165 info_fn_imps.hpp: Same.
1166 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1167 iterators_fn_imps.hpp: Same.
1168 * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
1169 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
1170 * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
1171 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
1172 * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
1173 * include/ext/pb_ds/detail/thin_heap_/
1174 constructors_destructor_fn_imps.hpp: Same.
1175 * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
1176 * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
1177 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
1178 * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
1179 * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
1180 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
1181 * include/ext/pb_ds/detail/ov_tree_map_/
1182 constructors_destructor_fn_imps.hpp: Same.
1183 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1184 * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
1185 * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
1186 * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
1187 * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
1188 * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
1189 * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
1190 * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
1191 * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
1192 * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
1193 * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
1194 * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
1195 * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
1196 * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
1197 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
1198 * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
1199 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
1200 * include/ext/pb_ds/detail/splay_tree_/
1201 constructors_destructor_fn_imps.hpp: Same.
1202 * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
1203 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
1204 * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
1205 * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
1206 * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
1207 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
1208 * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
1209 * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
1210 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
1211 * include/ext/pb_ds/detail/list_update_map_/
1212 entry_metadata_base.hpp: Same.
1213 * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
1214 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
1215 * include/ext/pb_ds/detail/list_update_map_/
1216 constructor_destructor_fn_imps.hpp: Same.
1217 * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
1218 * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
1219 * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
1220 * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
1221 * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
1222 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
1223 * include/ext/pb_ds/detail/rc_binomial_heap_/
1224 rc_binomial_heap_.hpp: Same.
1225 * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
1226 * include/ext/pb_ds/detail/rc_binomial_heap_/
1227 constructors_destructor_fn_imps.hpp: Same.
1228 * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
1229 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
1230 * include/ext/pb_ds/detail/rc_binomial_heap_/
1231 split_join_fn_imps.hpp: Same.
1232 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
1233 * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
1234 * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
1235 * include/ext/pb_ds/detail/rb_tree_map_/
1236 constructors_destructor_fn_imps.hpp: Same.
1237 * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
1238 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
1239 * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
1240 * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
1241 * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
1242 * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
1243
1244
1245 Documentation changes.
1246 * include/ext/pb_ds/*: Add doxygen markup.
1247 * doc/doxygen/user.cfg.in: Add details for extracting comments
1248 from pb_ds.
1249 * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
1250 * scripts/make_graph.py: Move to svg output. Re-format generated tables.
1251
1252 * doc/Makefile.am (stamp-html-copy): New rule.
1253 (stamp-html): Use it to copy non-generated files into html docs.
1254 * doc/Makefile.in: Regenerated.
1255
1256 * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
1257 * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
1258 * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
1259 * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
1260
1261 * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
1262 hash_random_int_erase_mem_usage_test_local.png,
1263 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
1264 tree_text_insert_timing_test_pat_trie_local.png ,
1265 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
1266 priority_queue_text_modify_down_timing_test_local.png,
1267 gp_hash_random_int_subscript_timing_test_find_local.png,
1268 text_find_timing_test_hash_local.png,
1269 multimap_text_insert_timing_test_small_s2p_hash_local.png,
1270 multimap_text_insert_timing_test_small_s2p_tree_local.png,
1271 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
1272 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
1273 multimap_text_insert_timing_test_large_s2p_hash_local.png,
1274 hash_zlob_random_int_find_timing_test_local.png,
1275 multimap_text_insert_timing_test_large_s2p_tree_local.png,
1276 binary_priority_queue_random_int_push_timing_test_local.png,
1277 priority_queue_text_pop_mem_usage_test_local.png,
1278 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
1279 tree_split_join_timing_test_local.png,
1280 multimap_text_find_timing_test_small_s2p_hash_local.png,
1281 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
1282 priority_queue_random_int_push_pop_timing_test_local.png,
1283 multimap_text_find_timing_test_small_s2p_tree_local.png,
1284 gp_hash_random_int_subscript_timing_test_insert_local.png,
1285 priority_queue_text_push_timing_test_local.png,
1286 cc_hash_random_int_subscript_timing_test_find_local.png,
1287 tree_text_insert_timing_test_vector_tree_local.png,
1288 multimap_text_find_timing_test_large_s2p_hash_local.png,
1289 pairing_priority_queue_text_push_timing_test_local.png,
1290 tree_order_statistics_timing_test_local.png,
1291 priority_queue_text_push_pop_timing_test_local.png,
1292 text_find_timing_test_tree_like_local.png,
1293 multimap_text_find_timing_test_large_s2p_tree_local.png,
1294 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
1295 cc_hash_random_int_subscript_timing_test_insert_local.png,
1296 priority_queue_text_modify_up_timing_test_local.png,
1297 random_int_find_find_timing_test_tree_local.png,
1298 priority_queue_random_int_push_timing_test_local.png,
1299 tree_text_insert_timing_test_node_tree_local.png,
1300 pairing_priority_queue_text_push_pop_timing_test_local.png,
1301 gp_hash_random_int_find_timing_test_local.png,
1302 cc_hash_random_int_find_timing_test_local.png,
1303 priority_queue_text_join_timing_test_local.png: Update local pngs.
1304
1305
1306 Testsuite changes.
1307 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
1308 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
1309 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
1310 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
1311 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
1312 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
1313 New.
1314 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
1315 New.
1316 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
1317 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
1318
1319 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
1320
1321 * testsuite/ext/pb_ds/example/basic_set.cc: Update.
1322 * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
1323 * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
1324 * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
1325 * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
1326 * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
1327 * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
1328 * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
1329 Same.
1330 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
1331 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
1332 * testsuite/data/make_graph_test_infos.xml: Same.
1333 * testsuite/util/regression/common_type.hpp: Same.
1334 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
1335 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
1336 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
1337 * testsuite/util/regression/rand/priority_queue/
1338 rand_regression_test.hpp: Same.
1339 * testsuite/util/regression/rand/priority_queue/
1340 container_rand_regression_test.tcc: Same.
1341 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
1342 * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
1343 * testsuite/util/regression/rand/assoc/
1344 container_rand_regression_test.tcc: Same.
1345 * testsuite/util/native_type/native_priority_queue.hpp: Same.
1346 * testsuite/util/native_type/native_multimap.hpp: Same.
1347 * testsuite/util/native_type/native_hash_multimap.hpp: Same.
1348 * testsuite/util/native_type/native_set.hpp: Same.
1349 * testsuite/util/native_type/native_map.hpp: Same.
1350 * testsuite/util/native_type/native_hash_set.hpp: Same.
1351 * testsuite/util/native_type/native_hash_map.hpp: Same.
1352 * testsuite/util/testsuite_containers.h
1353 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
1354 * testsuite/util/common_type/assoc/common_type.hpp: Same.
1355 * testsuite/util/common_type/assoc/string_form.hpp: Same.
1356 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
1357 * testsuite/util/common_type/assoc/detail/
1358 trigger_policy_string_form.hpp: Same.
1359 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
1360 * testsuite/util/common_type/assoc/detail/
1361 size_policy_string_form.hpp: Same.
1362 * testsuite/util/common_type/assoc/detail/
1363 probe_fn_string_form.hpp: Same.
1364 * testsuite/util/common_type/assoc/detail/
1365 tree_supports_order_statistics.hpp: Same.
1366 * testsuite/util/common_type/assoc/detail/
1367 trie_supports_prefix_search.hpp: Same.
1368 * testsuite/util/common_type/assoc/detail/
1369 list_update_policy_string_form.hpp: Same.
1370 * testsuite/util/common_type/assoc/detail/
1371 trie_supports_order_statistics.hpp: Same.
1372 * testsuite/util/common_type/assoc/native_set.hpp: Same.
1373 * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
1374 * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
1375 * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
1376
1377 2011-05-23 Paolo Carlini <paolo.carlini@oracle.com>
1378
1379 * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
1380 (istreambuf_iterator<>::istreambuf_iterator(const
1381 istreambuf_iterator&), ~istreambuf_iterator()): Add defaulted
1382 in C++0x mode.
1383
1384 2011-05-23 Jason Merrill <jason@redhat.com>
1385
1386 * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
1387
1388 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1389
1390 * testsuite/20_util/bind/cv_quals_2.cc: New.
1391
1392 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
1393
1394 PR libstdc++/49058
1395 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
1396 operator()(_Args&&...)): Don't cv qualify _Functor directly
1397 in the default template argument, SFINAE doesn't apply when
1398 the functor has no arguments.
1399 * testsuite/20_util/bind/49058_1.cc: New.
1400 * testsuite/20_util/bind/49058_2.cc: Likewise.
1401
1402 2011-05-21 Paolo Carlini <paolo.carlini@oracle.com>
1403
1404 * include/bits/unique_ptr.h: Use noexcept per the FDIS.
1405
1406 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1407
1408 * testsuite/21_strings/basic_string/requirements/exception/
1409 propagation_consistent.cc: Fix vs POD-ness of value_type.
1410 * testsuite/21_strings/basic_string/requirements/exception/
1411 basic.cc: Likewise.
1412 * testsuite/ext/vstring/requirements/exception/
1413 propagation_consistent.cc: Likewise.
1414 * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
1415
1416 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1417
1418 * include/bits/char_traits.h: Use noexcept throughout.
1419 * include/std/typeindex: Likewise.
1420
1421 * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
1422 noexcept; adjust callers.
1423 * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
1424 * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
1425 * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
1426 * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
1427 * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
1428 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1429 line numbers.
1430
1431 2011-05-20 Jason Merrill <jason@redhat.com>
1432
1433 * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
1434 functions from dependent bases.
1435 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
1436 * include/ext/pb_ds/detail/rb_tree_map_/
1437 split_join_fn_imps.hpp: Likewise.
1438 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
1439 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
1440 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
1441 * include/ext/pb_ds/detail/splay_tree_/
1442 split_join_fn_imps.hpp: Likewise.
1443 * include/ext/pb_ds/detail/tree_policy/
1444 order_statistics_imp.hpp: Likewise.
1445 * include/ext/pb_ds/detail/trie_policy/
1446 prefix_search_node_update_imp.hpp: Likewise.
1447 * include/ext/rc_string_base.h: Likewise.
1448 * include/ext/rope: Likewise.
1449 * include/ext/ropeimpl.h: Likewise.
1450 * testsuite/util/exception/safety.h: Likewise.
1451 * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
1452 * testsuite/util/testsuite_io.h: Likewise.
1453 * include/std/functional: Declare mem_fn earlier.
1454 * include/tr1/functional: Likewise.
1455 * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
1456
1457 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1458
1459 * include/std/tuple (tuple_element<__i, const _Tp>,
1460 tuple_element<__i, volatile _Tp>, tuple_element<__i,
1461 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
1462 tuple_size<const volatile _Tp>): Add.
1463 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
1464 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
1465 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
1466 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
1467 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
1468 line number.
1469
1470 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1471
1472 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
1473 noexcept.
1474 (__get_helper): Likewise.
1475 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
1476 * include/bits/move.h (swap): Likewise.
1477 * include/bits/algorithmfwd.h (swap): Adjust.
1478 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
1479 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
1480 mode, prefer delete to access control to make the type not copy
1481 assignable.
1482 * testsuite/util/testsuite_tr1.h: Add test classes.
1483 * testsuite/20_util/tuple/noexcept_swap.cc: New.
1484 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
1485 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
1486 delete to access control.
1487 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
1488 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1489 line numbers.
1490
1491 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
1492
1493 * testsuite/util/testsuite_tr1.h: Add test classes.
1494 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
1495
1496 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1497
1498 * include/std/type_traits (is_assignable, is_copy_assignable,
1499 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
1500 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
1501 (has_nothrow_copy_assign): Remove.
1502 * testsuite/util/testsuite_tr1.h: Add test classes.
1503 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
1504 * testsuite/20_util/is_assignable/requirements/
1505 explicit_instantiation.cc: Likewise.
1506 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
1507 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
1508 Likewise.
1509 * testsuite/20_util/is_nothrow_assignable/requirements/
1510 explicit_instantiation.cc: Likewise.
1511 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
1512 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
1513 Likewise.
1514 * testsuite/20_util/is_move_assignable/requirements/
1515 explicit_instantiation.cc: Likewise.
1516 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
1517 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
1518 Likewise.
1519 * testsuite/20_util/is_copy_assignable/requirements/
1520 explicit_instantiation.cc: Likewise.
1521 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
1522 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1523 typedefs.cc: Likewise.
1524 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1525 explicit_instantiation.cc: Likewise.
1526 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
1527 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1528 typedefs.cc: Likewise.
1529 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1530 explicit_instantiation.cc: Likewise.
1531 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1532 dg-error line numbers.
1533 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1534 Likewise.
1535 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1536
1537 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1538
1539 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
1540 functions as defaulted/deleted.
1541 * include/bits/shared_ptr.h: Use noexcept.
1542 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
1543 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1544
1545 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1546
1547 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
1548
1549 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
1550
1551 * libsupc++/initializer_list: Use noexcept specifier.
1552 (initializer_list<>::size, begin, end): Qualify as const.
1553 * include/bits/move.h (__addressof, forward, move, addressof): Specify
1554 as noexcept.
1555 * include/std/bitset: Use noexcept specifier throughout.
1556 * include/debug/bitset: Update.
1557 * include/profile/bitset: Likewise.
1558
1559 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
1560
1561 * include/std/tuple: Use noexcept where appropriate.
1562 (tuple<>::swap): Rework implementation.
1563 (_Head_base<>::_M_swap_impl): Remove.
1564 (get(std::tuple<>&&)): Add.
1565 * testsuite/20_util/tuple/element_access/get2.cc: New.
1566 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1567 line number.
1568
1569 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1570
1571 * include/std/utility: Simplify the last commit, the whole
1572 std::get code is C++0x only.
1573
1574 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1575
1576 * include/std/utility (get(std::pair<>&&)): Add.
1577 * include/bits/stl_pair.h (pair::swap(pair&),
1578 swap(pair<>&, pair<>&)): Use noexcept.
1579 * include/bits/random.h (discard_block_engine<>::base,
1580 independent_bits_engine<>::base, shuffle_order_engine<>::base,
1581 random_device::entropy): Use noexcept.
1582 * include/std/array: Use noexcept where appropriate.
1583 (get(array<>&&)): Add.
1584 * testsuite/23_containers/array/requirements/get.cc: New.
1585 * testsuite/20_util/pair/get.cc: Likewise.
1586 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
1587 line number.
1588
1589 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
1590
1591 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
1592 Add.
1593 * include/std/limits: Use the latter everywhere.
1594 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
1595 macro usages, the specializations exist only in C++0x mode.
1596 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
1597 line number.
1598
1599 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
1600
1601 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
1602 dg-require-cmath.
1603 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1604
1605 2011-05-11 François Dumont <francois.cppdevs@free.fr>
1606
1607 * include/ext/pb_ds/detail/resize_policy/
1608 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
1609 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
1610 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1611 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1612 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
1613 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
1614 * include/ext/pb_ds/detail/debug_map_base.hpp,
1615 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
1616 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
1617 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
1618 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
1619 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
1620 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
1621 macro definitions move...
1622 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
1623 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
1624 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
1625 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
1626 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
1627 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
1628 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
1629 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
1630 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
1631 ...here.
1632
1633 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
1634
1635 PR libstdc++/48933
1636 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
1637 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
1638 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
1639 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
1640 scalbn, tgamma, trunc): Use __enable_if on the return type.
1641 * include/tr1/cmath: Likewise.
1642 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
1643 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1644
1645 2011-05-07 François Dumont <francois.cppdevs@free.fr>
1646
1647 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
1648 (_GLICXX_DEBUG_VERIFY): Use latter.
1649 * include/ext/pb_ds/detail/resize_policy/
1650 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
1651 containing the original assert call.
1652 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1653 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1654 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1655 split_join_fn_imps.hpp: Likewise.
1656 * include/ext/pb_ds/detail/cc_hash_table_map_/
1657 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1658 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
1659 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
1660 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
1661 erase_no_store_hash_fn_imps.hpp: Likewise.
1662 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
1663 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
1664 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
1665 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
1666 Likewise.
1667 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
1668 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1669 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
1670 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
1671 Likewise.
1672 * include/ext/pb_ds/detail/gp_hash_table_map_/
1673 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1674 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
1675 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
1676 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
1677 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
1678 Likewise.
1679 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
1680 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1681 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
1682 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
1683 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
1684 find_fn_imps.hpp, insert_fn_imps.hpp,
1685 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1686 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
1687 * include/ext/pb_ds/detail/binomial_heap_/
1688 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1689 binomial_heap_.hpp: Likewise.
1690 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1691 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
1692 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1693 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
1694 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
1695 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1696 split_join_fn_imps.hpp: Likewise.
1697 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
1698 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
1699 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
1700 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
1701 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
1702 find_fn_imps.hpp, insert_fn_imps.hpp,
1703 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1704 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
1705 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
1706 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
1707 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1708 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
1709 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
1710 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
1711 split_join_fn_imps.hpp: Likewise.
1712 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
1713 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1714 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
1715 * include/ext/pb_ds/hash_policy.hpp: Likewise.
1716
1717 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
1718
1719 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
1720
1721 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
1722
1723 PR libstdc++/47913 (again)
1724 * include/std/ratio (ratio_add, ratio_less): Rewrite.
1725 * testsuite/20_util/ratio/operations/47913.cc: Extend.
1726 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
1727 line numbers.
1728 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1729
1730 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1731
1732 PR libstdc++/48848
1733 * include/std/valarray (valarray<>::valarray(valarray&&),
1734 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
1735 * doc/xml/manual/status_cxx200x.xml: Update.
1736 * testsuite/26_numerics/valarray/moveable.cc: New.
1737 * testsuite/26_numerics/valarray/swap.cc: Likewise.
1738
1739 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1740
1741 PR libstdc++/48750
1742 * include/parallel/multiway_merge.h: Run _ValueType destructors.
1743 * include/parallel/multiway_mergesort.h: Likewise.
1744 * include/parallel/quicksort.h: Likewise.
1745 * include/parallel/random_shuffle.h: Likewise.
1746 * include/parallel/partial_sum.h: Likewise.
1747 * include/parallel/losertree.h: Run destructors; minor tweaks.
1748 * include/parallel/par_loop.h: Run destructors, fix memory
1749 allocations and deallocations.
1750 * testsuite/26_numerics/accumulate/48750.cc: New.
1751
1752 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
1753 parallel-mode to avoid spurious multiple errors.
1754
1755 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1756
1757 * include/std/functional (bind): Remove from overload set when first
1758 argument type might be a socket file descriptor.
1759 * testsuite/20_util/bind/socket.cc: New.
1760
1761 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1762
1763 PR libstdc++/48848
1764 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
1765 * doc/html/*: Regenerate.
1766
1767 2011-05-02 Ollie Wild <aaw@google.com>
1768
1769 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
1770 Fix unqualified lookup.
1771 (__sso_string_base<>::_M_assign): Likewise.
1772 (__sso_string_base<>::_M_reserve): Likewise.
1773 (__sso_string_base<>::_M_mutate): Likewise.
1774 (__sso_string_base<>::_M_erase): Likewise.
1775 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
1776 (__versa_string<>::compare): Likewise.
1777 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
1778
1779 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1780
1781 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
1782 and FDIS content.
1783 * doc/xml/manual/documentation_hacking.xml: Fix typo.
1784 * doc/html/*: Regenerate.
1785
1786 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
1787
1788 * include/std/type_traits (__is_default_constructible_atom,
1789 __is_default_constructible_safe<, true>,
1790 __is_direct_constructible_new_safe,
1791 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
1792 __is_direct_constructible_ref_cast, __is_direct_constructible,
1793 __is_nary_constructible): Simplify; add comments throughout.
1794
1795 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
1796
1797 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1798 Adjust dg-error line numbers.
1799 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1800 Likewise.
1801 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1802
1803 2011-04-30 Doug Kwan <dougkwan@google.com>
1804
1805 * include/Makefile.am (install-freestanding-headers): Also install
1806 cxxabi_tweaks.h.
1807 * include/Makefile.in: Regenerate.
1808
1809 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1810
1811 PR libstdc++/48760
1812 * include/std/complex (complex<float>::complex(float, float),
1813 complex<double>::complex(double, double),
1814 complex<long double>::complex(long double, long double)): Use
1815 list-initialization in C++0x mode, initialize in the body in
1816 C++03 mode.
1817 * testsuite/26_numerics/complex/cons/48760.cc: New.
1818 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
1819
1820 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1821
1822 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
1823 tweak, remove redundant round braces.
1824
1825 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
1826
1827 * include/bits/move.h (move_if_noexcept): Add.
1828 * testsuite/20_util/move_if_noexcept/requirements/
1829 explicit_instantiation.cc: New.
1830 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
1831
1832 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
1833
1834 * include/std/type_traits (struct underlying_type): Add.
1835 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
1836 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
1837 Likewise.
1838 * testsuite/20_util/underlying_type/requirements/
1839 explicit_instantiation.cc: Likewise.
1840 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1841 line number.
1842
1843 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
1844
1845 * include/parallel/multiway_merge.h: Uglify equally_split
1846 and equally_split_point throughout.
1847 * include/parallel/par_loop.h: Likewise.
1848 * include/parallel/equally_split.h: Likewise.
1849 * include/parallel/set_operations.h: Likewise.
1850 * include/parallel/unique_copy.h: Likewise.
1851 * include/parallel/multiway_mergesort.h: Likewise.
1852 * include/parallel/search.h: Likewise.
1853 * include/parallel/partial_sum.h: Likewise.
1854 * include/parallel/find.h: Likewise.
1855
1856 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1857
1858 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
1859 documentation. Expand link text.
1860
1861 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1862
1863 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
1864
1865 2011-04-22 François Dumont <francois.cppdevs@free.fr>
1866
1867 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
1868 unused compilation result thanks to /dev/null.
1869 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
1870 check_v3_target_profile_mode, check_v3_target_normal_mode,
1871 check_v3_target_cstdint, check_v3_target_cmath,
1872 check_v3_target_atomic_builtins, check_v3_target_gthreads,
1873 check_v3_target_nanosleep, check_v3_target_sched_yield,
1874 check_v3_target_string_conversions, check_v3_target_swprintf,
1875 check_v3_target_binary_io): Use simple preprocessing rather than
1876 compilation. Discard unused preprocessing result thanks to /dev/null.
1877
1878 2011-04-20 Jim Meyering <meyering@redhat.com>
1879
1880 * libsupc++/del_opnt.cc (operator delete): Remove useless
1881 if-before-free.
1882
1883 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
1884
1885 PR libstdc++/48521
1886 * include/std/type_traits (result_of): Handle pointer to member.
1887 * include/std/functional (__invoke): Likewise.
1888 (_Function_to_function_pointer): Remove.
1889 (_Reference_wrapper_base): Provide nested types independent of
1890 unary_function and binary_function.
1891 (reference_wrapper::operator()): DR 2017.
1892 (ref(const A&&), cref(const A&&): Define as deleted.
1893 * include/std/future (async): Simplify SFINAE and use result_of to
1894 support pointer to member.
1895 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
1896 member.
1897 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1898 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
1899 instead of derivation from unary_function and binary_function.
1900 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1901 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
1902 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
1903 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
1904
1905 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
1906
1907 PR testsuite/48675
1908 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
1909 this part if SAMPLES < 100000.
1910
1911 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
1912
1913 * include/std/type_traits (is_nothrow_default_constructible,
1914 is_nothrow_copy_constructible, is_nothrow_move_constructible,
1915 is_copy_constructible, is_move_constructible): Add.
1916 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
1917 Remove.
1918 (is_nothrow_constructible): Adjust.
1919
1920 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
1921 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
1922 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
1923 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
1924
1925 * testsuite/20_util/has_nothrow_default_constructor: Remove.
1926 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
1927
1928 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1929 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1930 typedefs.cc: Likewise.
1931 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1932 explicit_instantiation.cc: Likewise.
1933 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1934 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1935 typedefs.cc: Likewise.
1936 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1937 explicit_instantiation.cc: Likewise.
1938 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
1939 Likewise.
1940 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1941 typedefs.cc: Likewise.
1942 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1943 explicit_instantiation.cc: Likewise.
1944 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1945 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
1946 Likewise.
1947 * testsuite/20_util/is_move_constructible/requirements/
1948 explicit_instantiation.cc: Likewise.
1949 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1950 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
1951 Likewise.
1952 * testsuite/20_util/is_copy_constructible/requirements/
1953 explicit_instantiation.cc: Likewise.
1954
1955 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
1956 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
1957
1958 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1959 Adjust dg-error line numbers.
1960 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1961 Likewise.
1962 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1963
1964 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
1965
1966 * testsuite/25_algorithms/partition/moveable.cc: Actually run
1967 it in parallel-mode for check-parallel.
1968
1969 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
1970 Paolo Carlini <paolo.carlini@oracle.com>
1971
1972 PR libstdc++/48635 (again)
1973 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
1974 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
1975 unique_ptr<>::operator=(unique_ptr<>&&),
1976 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
1977 forward<_Dp>, to forward the deleter.
1978 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
1979
1980 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1981 Paolo Carlini <paolo.carlini@oracle.com>
1982
1983 PR libstdc++/48631
1984 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
1985 function call operator.
1986 * testsuite/20_util/default_delete/48631_neg.cc: New.
1987 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1988 line numbers.
1989
1990 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1991 Paolo Carlini <paolo.carlini@oracle.com>
1992
1993 PR libstdc++/48635
1994 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
1995 unique_ptr<>::operator=(unique_ptr<>&&),
1996 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
1997 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
1998 instead of moving it.
1999 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
2000
2001 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2002
2003 * scripts/extract_symvers.pl: Handle NOTY.
2004
2005 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
2006
2007 * include/std/istream: Fix comments in the light of DR60 + N3168.
2008
2009 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
2010 Paolo Carlini <paolo.carlini@oracle.com>
2011
2012 PR libstdc++/48526
2013 * include/std/type_traits (struct is_constructible): Re-implement,
2014 according to n3290.
2015 (struct is_default_constructible): Add.
2016 (struct is_destructible): Likewise.
2017 (struct __and_, __or_, __not_): Add and use throughout; reorder some
2018 facilities, other minor tweaks.
2019 * testsuite/util/testsuite_tr1.h: Add test types.
2020 * testsuite/20_util/is_constructible/value-2.cc: New.
2021 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
2022 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
2023 Likewise.
2024 * testsuite/20_util/is_default_constructible/requirements/
2025 explicit_instantiation.cc: Likewise.
2026 * testsuite/20_util/is_destructible/value.cc: Likewise.
2027 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
2028 Likewise.
2029 * testsuite/20_util/is_destructible/requirements/
2030 explicit_instantiation.cc: Likewise.
2031 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2032 dg-error line numbers.
2033 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2034 Likewise.
2035 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2036 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
2037
2038 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
2039
2040 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
2041 testsuite.
2042 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
2043 * testsuite/20_util/is_function/requirements/
2044 explicit_instantiation.cc: Likewise.
2045 * testsuite/20_util/is_function/24808.cc: Likewise.
2046 * testsuite/20_util/is_function/35637.cc: Likewise.
2047 * testsuite/20_util/is_object/value.cc: Likewise.
2048 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
2049 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
2050 : Likewise.
2051 * testsuite/20_util/is_object/24808.cc: Likewise.
2052 * testsuite/20_util/is_compound/value.cc: Likewise.
2053 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
2054 * testsuite/20_util/is_compound/requirements/
2055 explicit_instantiation.cc: Likewise.
2056 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
2057 * testsuite/20_util/is_member_object_pointer/requirements/
2058 typedefs.cc: Likewise.
2059 * testsuite/20_util/is_member_object_pointer/requirements/
2060 explicit_instantiation.cc: Likewise.
2061 * testsuite/20_util/is_fundamental/value.cc: Likewise.
2062 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
2063 * testsuite/20_util/is_fundamental/requirements/
2064 explicit_instantiation.cc: Likewise.
2065 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
2066 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
2067 Likewise.
2068 * testsuite/20_util/is_member_pointer/requirements/
2069 explicit_instantiation.cc: Likewise.
2070 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
2071 * testsuite/20_util/is_member_function_pointer/
2072 requirements/typedefs.cc: Likewise.
2073 * testsuite/20_util/is_member_function_pointer/requirements/
2074 explicit_instantiation.cc: Likewise.
2075
2076 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
2077 Copyright years.
2078
2079 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
2080
2081 PR libstdc++/48476
2082 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
2083 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
2084 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
2085 * testsuite/20_util/tuple/cons/48476.cc: New.
2086 * testsuite/20_util/tuple/48476.cc: Likewise.
2087 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
2088
2089 2011-04-12 Allan McRae <allan@archlinux.org>
2090
2091 PR libstdc++/48566
2092 * testsuite/tr1/6_containers/unordered_map/requirements/
2093 iterator_null_neg.cc: Include <cstddef>.
2094 * testsuite/tr1/6_containers/unordered_set/requirements/
2095 iterator_null_neg.cc: Likewise.
2096 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
2097 <cstring>.
2098 * testsuite/util/testsuite_common_types.h: Include <limits>.
2099 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
2100 Adjust dg-error line numbers.
2101 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
2102 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
2103 Likewise.
2104 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
2105 Likewise.
2106 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
2107 Likewise.
2108 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
2109 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2110
2111 2011-04-11 Jason Merrill <jason@redhat.com>
2112
2113 * testsuite/20_util/is_convertible/value.cc: Adjust.
2114
2115 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
2116
2117 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
2118 it in parallel-mode for check-parallel.
2119 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
2120 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
2121 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
2122 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
2123 Likewise.
2124 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
2125 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
2126 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
2127
2128 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
2129 the tests based on std::lexicographical_compare for check-parallel.
2130 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
2131
2132 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2133
2134 PR libstdc++/48541
2135 * include/std/functional (_Base_manager::_M_get_pointer): Use
2136 addressof.
2137 * testsuite/20_util/function/48541.cc: New.
2138
2139 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2140
2141 PR libstdc++/48465
2142 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
2143 * configure: Regenerate.
2144 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
2145 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
2146
2147 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
2148
2149 * include/ext/algorithm (is_sorted): In C++0x mode import from
2150 namespace std.
2151 * include/ext/numeric (iota): In C++0x mode import from
2152 namespace std.
2153 * testsuite/ext/is_sorted/cxx0x.cc: New.
2154 * testsuite/ext/iota/cxx0x.cc: New.
2155
2156 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
2157
2158 PR libstdc++/48398
2159 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
2160 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
2161 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
2162 unused parameter name.
2163
2164 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
2165
2166 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
2167 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
2168 redundant default argument from std::__throw_with_nested.
2169
2170 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
2171
2172 PR libstdc++/48382
2173 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
2174 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
2175 * src/Makefile.in: Regenerate.
2176 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
2177 * include/Makefile.in: Regenerate.
2178 * doc/xml/manual/internals.xml: Update.
2179 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
2180 * config/os/newlib/ctype_configure_char.cc: ... this.
2181 * config/os/aix/ctype_noninline.h: Likewise.
2182 * config/os/aix/ctype_configure_char.cc: Likewise.
2183 * config/os/vxworks/ctype_noninline.h: Likewise.
2184 * config/os/vxworks/ctype_configure_char.cc
2185 * config/os/hpux/ctype_noninline.h: Likewise.
2186 * config/os/hpux/ctype_configure_char.cc: Likewise.
2187 * config/os/gnu-linux/ctype_noninline.h: Likewise.
2188 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
2189 * config/os/mingw32/ctype_noninline.h: Likewise.
2190 * config/os/mingw32/ctype_configure_char.cc: Likewise.
2191 * config/os/tpf/ctype_noninline.h: Likewise.
2192 * config/os/tpf/ctype_configure_char.cc: Likewise.
2193 * config/os/uclibc/ctype_noninline.h: Likewise.
2194 * config/os/uclibc/ctype_configure_char.cc: Likewise.
2195 * config/os/bionic/ctype_noninline.h: Likewise.
2196 * config/os/bionic/ctype_configure_char.cc: Likewise.
2197 * config/os/djgpp/ctype_noninline.h: Likewise.
2198 * config/os/djgpp/ctype_configure_char.cc: Likewise.
2199 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
2200 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
2201 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
2202 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
2203 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
2204 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
2205 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
2206 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
2207 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
2208 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
2209 * config/os/generic/ctype_noninline.h: Likewise.
2210 * config/os/generic/ctype_configure_char.cc: Likewise.
2211 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
2212 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
2213
2214 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
2215
2216 * include/std/future (future::share): Add.
2217 (packaged_task::result_type): Remove as per LWG 2030.
2218 (packaged_task::packaged_task): Remove redundant constructors, as per
2219 LWG 1514.
2220 * testsuite/30_threads/future/members/share.cc: New.
2221 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
2222
2223 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
2224
2225 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
2226 members which require a fully established result state.
2227 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
2228
2229 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
2230
2231 * include/bits/random.h (negative_binomial_distribution<>::
2232 negative_binomial_distribution(_IntType, double),
2233 negative_binomial_distribution<>::
2234 negative_binomial_distribution(const param_type&)): Tweak
2235 construction of _M_gd.
2236 * include/bits/random.tcc (negative_binomial_distribution<>::
2237 operator()): Adjust.
2238
2239 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
2240
2241 * include/bits/random.h (negative_binomial_distribution<>::
2242 negative_binomial_distribution(_IntType, double),
2243 negative_binomial_distribution<>::
2244 negative_binomial_distribution(const param_type&)): Fix
2245 construction of _M_gd.
2246 * include/bits/random.tcc (negative_binomial_distribution<>::
2247 operator()): Fix computation, per Leger's algorithm.
2248 * testsuite/util/testsuite_random.h (discrete_pdf,
2249 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
2250 (binomial_pdf): Swap last two parameters.
2251 * testsuite/26_numerics/random/discrete_distribution/
2252 operators/values.cc: New.
2253 * testsuite/26_numerics/random/negative_binomial_distribution/
2254 operators/values.cc: Likewise.
2255 * testsuite/26_numerics/random/poisson_distribution/
2256 operators/values.cc: Likewise.
2257 * testsuite/26_numerics/random/uniform_int_distribution/
2258 operators/values.cc: Likewise.
2259 * testsuite/26_numerics/random/binomial_distribution/
2260 operators/values.cc: Adjust.
2261
2262 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2263
2264 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
2265 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2266 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2267 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2268 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2269
2270 2011-03-23 Matthias Klose <doko@ubuntu.com>
2271
2272 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
2273
2274 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
2275
2276 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
2277
2278 2011-03-22 Joseph Myers <joseph@codesourcery.com>
2279
2280 * configure.ac: Don't handle powerpc*-*-gnu*.
2281 * configure: Regenerate.
2282
2283 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
2284
2285 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
2286 Copyright years.
2287 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
2288 Likewise.
2289
2290 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
2291
2292 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
2293 per DR 1401.
2294 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
2295 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
2296 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
2297 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
2298 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
2299 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
2300 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
2301
2302 2011-03-22 Jakub Jelinek <jakub@redhat.com>
2303
2304 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
2305 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
2306 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
2307 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2308 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2309 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2310 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2311 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2312 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2313 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2314 Likewise.
2315 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2316 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2317 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2318 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2319 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
2320 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2321 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
2322 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
2323 test.
2324
2325 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
2326
2327 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
2328 create compact unwind for" warnings.
2329
2330 2011-03-21 Jakub Jelinek <jakub@redhat.com>
2331
2332 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2333 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2334 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2335 Likewise.
2336 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2337 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2338 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2339 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2340 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2341 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2342 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2343 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2344 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2345
2346 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
2347 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
2348 CXXABI_LDBL_1.3 versions.
2349
2350 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
2351
2352 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
2353
2354 2011-03-21 Jakub Jelinek <jakub@redhat.com>
2355
2356 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
2357 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
2358
2359 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2360
2361 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
2362 sparc*-sun-solaris2.10 && lp64.
2363
2364 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
2365
2366 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
2367 to check_v3_target_cmath.
2368 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
2369 to dg-require-cmath.
2370 * testsuite/26_numerics/random/binomial_distribution/
2371 operators/values.cc: Adjust.
2372
2373 2011-03-18 Diego Novillo <dnovillo@google.com>
2374
2375 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
2376 mixed-mode_neg.cc
2377 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
2378 mixed-mode-arith_neg.cc
2379
2380 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
2381
2382 * testsuite/util/testsuite_random.h: New.
2383 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
2384 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
2385 * testsuite/26_numerics/random/bernoulli_distribution/
2386 operators/values.cc: New.
2387 * testsuite/26_numerics/random/binomial_distribution/
2388 operators/values.cc: Likewise.
2389 * testsuite/26_numerics/random/geometric_distribution/
2390 operators/values.cc: Likewise.
2391
2392 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
2393
2394 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
2395 * testsuite/19_diagnostics/stdexcept.cc: New.
2396
2397 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2398
2399 * include/std/thread: Revert.
2400 * src/thread.cc: Same.
2401 * config/abi/pre/gnu.ver: Same.
2402
2403 2011-03-15 Doug Kwan <dougkwan@google.com>
2404
2405 PR libstdc++/48123
2406 * include/Makefile.am (install-freestanding-headers): Install
2407 cpu_defines.h
2408 * include/Makefile.in: Regenerate.
2409
2410 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2411
2412 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
2413 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
2414
2415 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2416
2417 PR libstdc++/48130
2418 * src/future.cc: Guard definitions.
2419 * libsupc++/nested_exception.cc: Same.
2420
2421 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2422
2423 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
2424 * src/Makefile.in: Regenerate.
2425 * libsupc++/Makefile.am: Add nested_exception.cc.
2426 * libsupc++/Makefile.in: Regenerate.
2427 * src/system_error.cc: Add ctor and dtor definitions for error_category.
2428 * src/functional.cc: New. Add dtor definition for bad_function_call.
2429 * src/stdexcept.cc: Add dtor definitions for domain_error,
2430 invalid_argument, length_error, out_of_range, range_error,
2431 overflow_error, underflow_error.
2432 * src/future.cc: Add dtor definition for __future_base::_Result_base.
2433 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
2434 * src/thread.cc: Add dtor for thread::_Impl_base.
2435 * include/std/system_error: Adjust.
2436 * include/std/stdexcept: Same.
2437 * include/std/future: Same.
2438 * include/std/functional: Same.
2439 * include/std/thread: Same.
2440 * include/bits/shared_ptr_base.h: Same.
2441 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
2442 * libsupc++/nested_exception.h: Adjust.
2443 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
2444 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2445 * config/abi/pre/gnu.ver: Add new exports.
2446
2447 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2448
2449 * include/bits/regex_compiler.h: Nest namespace versioning.
2450 * include/bits/regex_grep_matcher.tcc: Same.
2451 * include/bits/regex_grep_matcher.h: Same.
2452 * include/bits/regex_cursor.h: Same.
2453 * include/bits/regex_nfa.h: Same.
2454 * include/bits/regex_nfa.tcc: Same.
2455
2456 * include/bits/regex_grep_matcher.h: Version forward declarations.
2457 * include/bits/c++config: Add namespace association for __regex.
2458 * include/bits/regex.h: Make sub_match consistent.
2459
2460 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2461
2462 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
2463 equivalents.
2464 * doc/html/manual/abi.html: Regenerate.
2465
2466 2011-03-14 Tom Tromey <tromey@redhat.com>
2467
2468 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
2469 Try to import `gdb.printing' module.
2470 (UniquePointerPrinter.__init__): Add 'typename' argument.
2471 (StdSlistPrinter.__init__): Likewise.
2472 (StdSlistIteratorPrinter.__init__): Likewise.
2473 (StdVectorIteratorPrinter.__init__): Likewise.
2474 (StdRbtreeIteratorPrinter.__init__): Likewise.
2475 (StdDebugIteratorPrinter.__init__): Likewise.
2476 (StdDequeIteratorPrinter.__init__): Likewise.
2477 (StdStringPrinter.__init__): Likewise.
2478 (RxPrinter, Printer): New class.
2479 (libstdcxx_printer): New global.
2480 (register_libstdcxx_printers): Rewrite.
2481 (build_libstdcxx_dictionary): Rewrite.
2482 (pretty_printers_dict): Remove.
2483
2484 2011-03-14 Andrey Zholos <aaz@althenia.net>
2485
2486 PR libstdc++/48114
2487 * include/bits/random.h (geometric_distribution): Correct formula
2488 in comment, per C++0x.
2489 (geometric_distribution<>::param_type::param_type(double)): Fix check.
2490 (geometric_distribution<>::param_type::_M_initialize):
2491 Store log(1 - p).
2492 * include/bits/random.tcc (geometric_distribution<>::operator()):
2493 Fix computation.
2494 (binomial_distribution<>::operator()): Likewise.
2495
2496 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
2497
2498 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
2499
2500 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
2501 Chris Jefferson <chris@bubblescope.net>
2502 Paolo Carlini <paolo.carlini@oracle.com>
2503
2504 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
2505 New.
2506 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
2507 Likewise.
2508 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
2509 Likewise.
2510 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
2511 Likewise.
2512 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
2513
2514 2011-03-09 Chris Jefferson <chris@bubblescope.net>
2515
2516 PR libstdc++/48038
2517 * include/bits/stl_algo.h (__merge_backward): Rename to
2518 __move_merge_backward and change to always move rather than copy.
2519 (__move_merge): New function similar to std::merge except values
2520 are moved instead of copied.
2521 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
2522 and __merge_backward to __move_merge and __move_merge_backward.
2523
2524 2011-03-07 Jason Merrill <jason@redhat.com>
2525
2526 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
2527 expected errors.
2528
2529 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
2530 Matthias Klose <doko@ubuntu.com>
2531 Jonathan Wakely <redi@gcc.gnu.org>
2532
2533 PR libstdc++/47145
2534 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
2535 * configure.ac: Use it.
2536 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
2537 * configure: Regenerate.
2538 * doc/Makefile.in: Regenerate.
2539
2540 2011-03-04 Benjamin Kosnik <bkoz@chula>
2541
2542 * src/Makefile.am (inst_sources): Make source instantion files
2543 conditional.
2544 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
2545 * src/Makefile.in: Regenerate.
2546 * src/valarray-inst.cc: Move to..
2547 * src/valarray.cc: ...this.
2548 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
2549 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
2550 * configure: Regenerate.
2551 * include/Makefile.am (stamp-extern-template): Add.
2552 * include/Makefile.in: Regenerate.
2553
2554 * doc/xml/manual/configure.xml: Document --enable-extern-template.
2555
2556 * include/bits/locale_classes.tcc: Adjust comment.
2557 * include/bits/locale_facets.tcc: Same.
2558 * include/bits/basic_ios.tcc: Same.
2559 * include/bits/istream.tcc: Same.
2560 * include/bits/codecvt.h: Same.
2561 * include/bits/ostream.tcc: Same.
2562 * include/bits/sstream.tcc: Same.
2563 * include/bits/c++config: Same.
2564 * include/bits/basic_string.tcc: Same.
2565 * include/bits/ostream_insert.h: Same.
2566 * include/bits/locale_facets_nonio.tcc: Same.
2567 * include/bits/streambuf.tcc: Same.
2568 * include/bits/allocator.h: Same.
2569 * include/bits/fstream.tcc: Same.
2570
2571 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2572
2573 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
2574
2575 * testsuite/Makefile.am: Make clean fixups.
2576 * testsuite/Makefile.in: Regenerate.
2577
2578 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2579
2580 * include/std/ratio (ratio_less): Add comments.
2581
2582 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2583
2584 PR libstdc++/47913
2585 * include/std/ratio (ratio_add): Avoid denominator overflow.
2586 * testsuite/20_util/ratio/operations/47913.cc: New.
2587
2588 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
2589
2590 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
2591 * testsuite/20_util/hash/quality.cc: Same.
2592
2593 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2594
2595 PR libstdc++/47921
2596 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
2597 __safe_pbump): Add.
2598 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
2599 xputn): Use the latter.
2600 * include/bits/streambuf_iterator.h: Likewise.
2601 * src/strstream.cc: Likewise.
2602 * src/streambuf.cc: Likewise.
2603 * src/compatibility.cc: Likewise.
2604 * src/istream.cc: Likewise.
2605 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
2606 instead of gbump.
2607 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
2608 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
2609 seekpos, _M_sync): Use setg, setp, and _M_pbump.
2610 * config/abi/pre/gnu.ver: Tweak.
2611
2612 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2613
2614 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
2615
2616 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
2617
2618 PR libstdc++/42622
2619 * include/std/ratio (ratio_less): Reimplement to never overflow.
2620 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
2621
2622 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
2623
2624 * testsuite/18_support/type_info/fundamental.cc: New.
2625
2626 * testsuite/Makefile.am: Make clean fixups.
2627 * testsuite/Makefile.in: Regenerate.
2628
2629 2011-02-19 François Dumont <francois.cppdevs@free.fr>
2630
2631 * include/debug/string (basic_string::insert): Add iterator check and
2632 pass normal iterator to normal insert.
2633 * include/debug/macros.h (__glibcxx_check_heap,
2634 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
2635 already done.
2636
2637 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
2638
2639 PR libstdc++/47776
2640 * testsuite/ext/vstring/hash/char/1.cc: Fix.
2641 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2642
2643 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2644
2645 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
2646 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
2647 (basic_regex::operator=(basic_regex&&)): Likewise.
2648 (basic_regex::assign(basic_regex&&)): Likewise.
2649 (operator==(sub_match,...)): Implement DR 1181.
2650 (match_results::match_results(match_results&&)): Define.
2651 (match_results::operator=(const match_results&)): Fix parameter type.
2652 (match_results::operator=(match_results&&)): Define.
2653
2654 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2655
2656 PR libstdc++/47724
2657 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
2658 line anchors as metacharacters.
2659 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
2660
2661 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
2662
2663 PR libstdc++/47773
2664 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
2665 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
2666 hash<__gnu_cxx::__u32vstring>): Add.
2667 * testsuite/ext/vstring/hash/char/1.cc: New.
2668 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2669
2670 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2671
2672 * include/bits/regex.h (match_results::format): Use char_traits.
2673
2674 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
2675
2676 * include/std/atomic: Remove atomic_address, uplift to N3225.
2677 * include/bits/atomic_0.h: Same.
2678 * include/bits/atomic_2.h: Same.
2679 * include/bits/atomic_base.h: Same.
2680 * testsuite/29_atomics/atomic_address/*: Delete.
2681
2682 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2683
2684 * include/bits/regex.h (sub_match::sub_match): Add.
2685 (match_results::ready): Add.
2686 (match_results::empty): Adjust.
2687 (match_results::length): Add missing dereference.
2688 (match_results::operator[],prefix,suffix): Add debug mode checks.
2689 (match_results::cend): Re-use end().
2690 (match_results::format): Adjust signatures.
2691 (operator==(match_results,match_results)): Implement.
2692 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
2693 * include/bits/regex_constants.h (syntax_option_type): Likewise.
2694 * include/bits/regex_grep_matcher.h: Fix comment typo.
2695 (_SpecializedResults::_SpecializedResults): Simplify.
2696 * include/bits/regex_cursor.h: Fix comment typo.
2697 * include/bits/regex_nfa.h: Likewise.
2698 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
2699 Fix error code, remove xfail.
2700 * testsuite/28_regex/basic_regex/ctors/extended/
2701 string_range_01_02_03.cc: Likewise.
2702
2703 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2704
2705 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
2706 * include/bits/regex_nfa.h: Remove unnecessary base classes.
2707
2708 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2709
2710 * configure: Regenerate.
2711
2712 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2713
2714 PR libstdc++/47709
2715 * include/ext/algorithm (is_heap): In C++0x mode import from
2716 namespace std.
2717 * testsuite/ext/is_heap/47709.cc: New.
2718
2719 2011-02-12 Jakub Jelinek <jakub@redhat.com>
2720 Jonathan Wakely <jwakely.gcc@gmail.com>
2721
2722 PR libstdc++/47662
2723 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
2724 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
2725
2726 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2727
2728 * include/tr1/cmath (fabs): Define.
2729 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
2730 in C++0x mode.
2731
2732 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
2733
2734 * testsuite/tr1/headers/c++200x/complex.cc: New.
2735
2736 2011-02-11 Johannes Singler <singler@kit.edu>
2737
2738 PR libstdc++/47433
2739 * include/parallel/losertree.h
2740 (_LoserTreeUnguarded<>::__delete_min_insert):
2741 Add missing "using std::swap;", as for other variants.
2742
2743 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
2744
2745 * src/Makefile.am (sources): Add regex.cc.
2746 * src/Makefile.in: Regenerate.
2747 * src/regex.cc: New.
2748 * include/bits/regex_error.h (error_type): Use constexpr.
2749 (regex_error): Move ctor and dtor out of line.
2750
2751 * testsuite/28_regex/03_requirements: To...
2752 * testsuite/28_regex/requirements: ... this.
2753 * testsuite/28_regex/04_header: To...
2754 * testsuite/28_regex/headers: ... this.
2755 * testsuite/28_regex/05_constants: To...
2756 * testsuite/28_regex/constants: ... this.
2757 * testsuite/28_regex/06_exception_type: To...
2758 * testsuite/28_regex/regex_error: ... this.
2759 * testsuite/28_regex/07_traits: To...
2760 * testsuite/28_regex/traits: ... this.
2761 * testsuite/28_regex/08_basic_regex: To...
2762 * testsuite/28_regex/basic_regex: ... this.
2763 * testsuite/28_regex/09_sub_match: To...
2764 * testsuite/28_regex/sub_match: ... this.
2765 * testsuite/28_regex/10_match_results: To...
2766 * testsuite/28_regex/match_results: ... this.
2767 * testsuite/28_regex/11_algorithms: To...
2768 * testsuite/28_regex/algorithms: ... this.
2769 * testsuite/28_regex/12_iterators: To...
2770 * testsuite/28_regex/iterators: ... this.
2771
2772 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2773
2774 PR libstdc++/47662
2775 * include/bits/c++config: Do not use alternative token.
2776 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
2777
2778 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2779
2780 * src/future.cc (future_error_category::message): Handle no_state.
2781
2782 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
2783
2784 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
2785 not test in C++0x mode.
2786 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
2787 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
2788 in C++0x mode too.
2789
2790 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2791
2792 * doc/xml/manual/status_cxx200x.xml: Update.
2793 * doc/html/*: Regenerate.
2794
2795 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2796
2797 * doc/xml/manual/debug.xml: Improve data race docs.
2798
2799 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2800
2801 PR libstdc++/47668
2802 * include/debug/map.h (map): Remove unnecessary using-declaration.
2803 * include/debug/multimap.h (multimap): Likewise.
2804 * include/profile/map.h (map): Likewise.
2805 * include/profile/multimap.h (multimap): Likewise.
2806
2807 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2808
2809 PR libstdc++/43863
2810 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
2811 Move to ...
2812 * libsupc++/guard_error.cc: ... new file.
2813 * libsupc++/Makefile.am: Update.
2814 * libsupc++/Makefile.in: Regenerate.
2815
2816 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2817
2818 * include/std/future (packaged_task::operator bool): Rename to...
2819 (packaged_task::valid): ...this.
2820 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
2821 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
2822 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
2823 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
2824 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
2825 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
2826 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
2827 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
2828 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
2829 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
2830 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
2831
2832 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2833
2834 * doc/xml/manual/io.xml: Fix typo.
2835 * doc/html/manual/streambufs.html: Likewise.
2836
2837 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2838
2839 * config/abi/pre/gnu.ver: Fix.
2840
2841 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
2842
2843 * doc/xml/manual/appendix_porting.xml: Add doc section.
2844 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
2845 * doc/xml/manual/documentation_hacking.xml: ...here.
2846
2847 * doc/xml/manual/debug_mode.xml: Adjust.
2848 * doc/xml/manual/prerequisites.xml: Adjust.
2849 * doc/Makefile.am (xml_sources): Add dot files,
2850 documentation_hacking.xml.
2851 * doc/Makefile.in: Regenerate.
2852
2853 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
2854 * doc/xml/images/confdeps.pdf: Add.
2855
2856 * doc/html/*: Regenerate.
2857
2858 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2859
2860 * doc/xml/gnu/fdl-1.2.xml: Remove.
2861 * doc/xml/gnu/gpl-2.0.xml: Remove.
2862 * doc/Makefile.am: Update.
2863 * doc/Makefile.in: Regenerate.
2864
2865 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
2866
2867 PR libstdc++/47628
2868 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
2869 iterator)): Add back in C++03 mode.
2870 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
2871 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
2872
2873 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
2874
2875 PR libstdc++/47560 try two
2876 * config/os/hpux/os_defines.h: Guard for C++.
2877
2878 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
2879
2880 * doc/xml/faq.xml: Adjust link to bug database.
2881 Remove old item on broken header files.
2882
2883 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
2884
2885 * include/bits/regex_error.h (__throw_regex_error): Not inline.
2886 * src/functexcept.cc: Add definition.
2887 * config/abi/pre/gnu.ver: Export.
2888
2889 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
2890
2891 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
2892 * configure: Regenerate.
2893
2894 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
2895
2896 PR libstdc++/46914
2897 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
2898 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
2899 avoid name conflicts.
2900
2901 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2902
2903 PR libstdc++/47560
2904 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
2905
2906 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2907
2908 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
2909 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
2910 (COMPACT_LATEX): Enable.
2911
2912 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
2913 * include/profile/impl/profiler_hash_func.h: Same.
2914 * include/bits/hashtable.h: Same.
2915 * include/backward/auto_ptr.h: Same.
2916 * include/backward/strstream: Same.
2917 * include/backward/backward_warning.h: Same.
2918 * include/backward/binders.h: Same.
2919
2920 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
2921
2922 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
2923 Adjust link to GDB manual.
2924
2925 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
2926
2927 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
2928 _GLIBCXX_USE_DEPRECATED.
2929 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
2930 * doc/xml/manual/using.xml: Same.
2931 * include/std/memory: Same.
2932 * include/std/streambuf: Same.
2933 * include/bits/shared_ptr.h: Same.
2934 * include/bits/unique_ptr.h: Same.
2935 * include/bits/shared_ptr_base.h: Same.
2936 * include/bits/stl_function.h: Same.
2937 * include/tr1/shared_ptr.h: Same.
2938 * include/backward/auto_ptr.h: Same.
2939 * include/backward/binders.h: Same.
2940
2941 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
2942
2943 * doc/html/ext/lwg-active.html: Update to Revision D73.
2944 * doc/html/ext/lwg-closed.html: Likewise.
2945 * doc/html/ext/lwg-defects.html: Likewise.
2946 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
2947
2948 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
2949
2950 PR libstdc++/36104 part four
2951 * include/bits/c++config (_GLIBCXX_STD): Remove.
2952 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
2953 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
2954 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
2955 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
2956 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
2957 _GLIBCXX_INLINE_PROFILE): Remove.
2958 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
2959 (_GLIBCXX_END_NAMESPACE): Remove.
2960 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
2961 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
2962 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
2963 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
2964 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
2965 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
2966 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
2967 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
2968 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
2969 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
2970 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
2971 * include/*: Use new macros for namespace scope.
2972 * config/*: Same.
2973 * src/*: Same.
2974
2975 * src/Makefile.am (sources): Remove debug_list.cc, add
2976 compatibility-debug_list-2.cc.
2977 (parallel_sources): Remove parallel_list.cc, add
2978 compatibility-parallel_list-2.cc.
2979 (compatibility-parallel_list-2.[o,lo]): New rule.
2980 * src/Makefile.in: Regenerate.
2981 * src/debug_list.cc: Remove.
2982 * src/parallel_list.cc: Remove.
2983 * src/compatibility-list-2.cc: New.
2984 * src/compatibility-debug_list-2.cc: New.
2985 * src/compatibility-parallel_list-2.cc: New.
2986
2987 * doc/doxygen/user.cfg.in: Adjust macros.
2988
2989 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
2990 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
2991 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
2992 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
2993 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
2994 * testsuite/20_util/forward/c_neg.cc: Same.
2995 * testsuite/20_util/forward/f_neg.cc: Same.
2996 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
2997 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
2998 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
2999 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
3000 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
3001 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
3002 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
3003 * testsuite/23_containers/deque/requirements/dr438/
3004 constructor_1_neg.cc: Same.
3005 * testsuite/23_containers/deque/requirements/dr438/
3006 constructor_2_neg.cc: Same.
3007 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
3008 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
3009 * testsuite/23_containers/forward_list/requirements/dr438/
3010 assign_neg.cc: Same.
3011 * testsuite/23_containers/forward_list/requirements/dr438/
3012 constructor_1_neg.cc: Same.
3013 * testsuite/23_containers/forward_list/requirements/dr438/
3014 constructor_2_neg.cc: Same.
3015 * testsuite/23_containers/forward_list/requirements/dr438/
3016 insert_neg.cc: Same.
3017 * testsuite/23_containers/list/capacity/29134.cc: Same.
3018 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
3019 * testsuite/23_containers/list/requirements/dr438/
3020 constructor_1_neg.cc: Same.
3021 * testsuite/23_containers/list/requirements/dr438/
3022 constructor_2_neg.cc: Same.
3023 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
3024 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
3025 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
3026 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
3027 * testsuite/23_containers/vector/requirements/dr438/
3028 constructor_1_neg.cc: Same.
3029 * testsuite/23_containers/vector/requirements/dr438/
3030 constructor_2_neg.cc: Same.
3031 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
3032 * testsuite/25_algorithms/sort/35588.cc: Same.
3033 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3034 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
3035 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
3036 * testsuite/ext/profile/profiler_algos.cc: Same.
3037 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
3038 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
3039 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
3040 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
3041 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
3042
3043 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
3044
3045 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
3046 Improve description of one such reference.
3047
3048 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
3049
3050 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
3051 Standards Revision Group.
3052 * doc/xml/manual/locale.xml: Ditto.
3053 * doc/xml/manual/messages.xml: Ditto.
3054 * doc/xml/manual/using_exceptions.xml: Ditto.
3055
3056 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
3057
3058 * include/bits/atomic_base.h: Do not include <stddef.h>.
3059 (kill_dependency): Uglify ret.
3060
3061 2011-01-26 Johannes Singler <singler@kit.edu>
3062
3063 * include/parallel/numeric (inner_product, partial_sum):
3064 Qualify subsequent call with __gnu_parallel instead of
3065 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
3066 * include/parallel/algobase.h (equal): Likewise.
3067 * include/parallel/algo.h (find_first_of, search_n, merge,
3068 nth_element, partial_sort, max_element, min_element): Likewise.
3069 * testsuite/25_algorithms/headers/algorithm/
3070 parallel_algorithm_mixed1.cc (main): Add respective test cases.
3071 * testsuite/25_algorithms/headers/algorithm/
3072 parallel_algorithm_mixed2.cc (main): Likewise.
3073 * testsuite/26_numerics/headers/numeric/
3074 parallel_numeric_mixed1.cc (main): Likewise.
3075 * testsuite/26_numerics/headers/numeric/
3076 parallel_numeric_mixed2.cc (main): Likewise.
3077
3078 2011-01-24 Graham Reed <greed@pobox.com>
3079
3080 PR libstdc++/47387
3081 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
3082 provided.
3083
3084 2011-01-24 Johannes Singler <singler@kit.edu>
3085
3086 PR libstdc++/47433
3087 * include/parallel/losertree.h
3088 (_LoserTree<>::__delete_min_insert):
3089 Do not qualify swap with std:: for value type,
3090 but include a using directive instead.
3091 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
3092 * include/parallel/balanced_quicksort.h (__qsb_divide):
3093 Use std::iter_swap instead of std::swap.
3094 (__qsb_local_sort_with_helping): Likewise.
3095 * include/parallel/partition.h (__parallel_partition):
3096 Likewise. (__parallel_nth_element): Likewise.
3097
3098 2011-01-24 Johannes Singler <singler@kit.edu>
3099
3100 PR libstdc++/47437
3101 * include/parallel/multiway_merge.h (_UnguardedIterator):
3102 Remove useless "mutable" from reference declaration.
3103
3104 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
3105
3106 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
3107 * include/debug/safe_sequence.h: Same.
3108 * include/debug/safe_iterator.h: Same.
3109 * include/std/forward_list: Same.
3110 * include/std/deque: Same.
3111 * include/std/list: Same.
3112 * include/std/random: Same.
3113 * include/std/streambuf: Same.
3114 * include/std/fstream: Same.
3115 * include/std/istream: Same.
3116 * include/std/string: Same.
3117 * include/std/ostream: Same.
3118 * include/std/sstream: Same.
3119 * include/ext/vstring.h: Same.
3120 * include/bits/basic_ios.h: Same.
3121 * include/bits/locale_classes.h: Same.
3122 * include/bits/locale_facets.h: Same.
3123 * include/bits/valarray_array.h: Same.
3124 * include/bits/locale_facets_nonio.h: Same.
3125 * include/tr1/random: Same.
3126
3127 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3128
3129 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
3130
3131 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
3132
3133 PR libstdc++/36104 part three
3134 * src/hashtable_c++0x.cc: Adjust namespace macros.
3135 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
3136 * config/abi/pre/gnu-versioned-namespace.ver: Update.
3137
3138 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
3139
3140 * include/ext/pb_ds/detail/resize_policy/
3141 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
3142 * include/ext/pb_ds/detail/pat_trie_/
3143 constructors_destructor_fn_imps.hpp: Same.
3144 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
3145 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
3146 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
3147
3148 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
3149 iterations downward when testing in debug mode.
3150 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3151 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3152 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3153 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3154 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3155 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
3156 reduce in debug mode.
3157
3158 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
3159
3160 PR libstdc++/36104 part two
3161 * include/bits/hashtable.h: Revert to non-nested macro usage.
3162 * include/bits/hashtable_policy.h: Same.
3163
3164 2011-01-19 Graham Reed <greed@pobox.com>
3165
3166 PR libstdc++/47354
3167 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
3168
3169 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
3170
3171 * doc/xml/images/confdeps.png: Regenerate.
3172
3173 * include/std/chrono (duration): Mark copy constructor constexpr.
3174 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
3175
3176 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
3177
3178 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
3179 Declare defaulted per DR 1517.
3180 * testsuite/util/testsuite_common_types.h
3181 (constexpr_defaulted_default_constructible): Add.
3182 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
3183
3184 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
3185
3186 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
3187 Implement DR 1198.
3188 * include/bits/stl_stack.h (stack<>::swap): Likewise.
3189
3190 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
3191
3192 PR libstdc++/47323
3193 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
3194 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
3195
3196 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
3197
3198 PR libstdc++/47320
3199 * testsuite/18_support/numeric_limits/lowest.cc:
3200 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
3201
3202 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
3203
3204 PR libstdc++/47321
3205 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
3206 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
3207
3208 2011-01-16 François Dumont <francois.cppdevs@free.fr>
3209
3210 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
3211 to this. Use _neg suffix.
3212 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
3213 this.
3214 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
3215 Same.
3216 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
3217 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
3218 Same.
3219 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
3220 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
3221 Same.
3222 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
3223 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
3224 Same.
3225 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
3226 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
3227 Same.
3228 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
3229 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
3230 Same.
3231 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
3232 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
3233 Same.
3234 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
3235 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
3236 Same.
3237 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
3238 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
3239 Same.
3240 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
3241 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
3242 Same.
3243 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
3244 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
3245 Same.
3246 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
3247 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
3248 Same.
3249 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
3250 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
3251 Same.
3252 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
3253 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
3254 Same.
3255 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
3256 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
3257 Same.
3258 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
3259
3260 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
3261
3262 PR libstdc++/36104
3263 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
3264 * include/Makefile.in: Regenerate.
3265 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
3266 (install-stdHEADERS, install-bitsHEADERS): New.
3267 * libsupc++/Makefile.in: Regenerate.
3268
3269 * include/bits/c++config: Update for inline namespaces.
3270 * libsupc++/cxxabi-forced.h: To...
3271 * libsupc++/cxxabi_forced.h: ...this.
3272 * libsupc++/hash_bytes.h: Separate file.
3273 * libsupc++/typeinfo: Use it.
3274 * libsupc++/exception: Adjust for bits subdirectory.
3275 * libsupc++/eh_aux_runtime.cc: Same.
3276 * libsupc++/eh_ptr.cc: Same.
3277 * libsupc++/new_op.cc: Same.
3278 * libsupc++/exception_defines.h: Same.
3279 * libsupc++/nested_exception.h: Same.
3280 * libsupc++/eh_terminate.cc: Same.
3281 * libsupc++/vec.cc: Same.
3282 * libsupc++/vterminate.cc: Same.
3283 * libsupc++/exception_ptr.h: Same.
3284 * libsupc++/eh_personality.cc: Same.
3285 * libsupc++/eh_call.cc: Same.
3286 * libsupc++/new_opnt.cc: Same.
3287 * libsupc++/hash_bytes.cc: Same.
3288 * config/cpu/arm/cxxabi_tweaks.h: Same.
3289 * config/cpu/generic/cxxabi_tweaks.h: Same.
3290 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
3291 * include/std/bitset: Same.
3292 * include/ext/vstring.tcc: Same.
3293 * include/bits/hashtable.h: Same.
3294 * include/bits/functional_hash.h: Same.
3295 * include/bits/hashtable_policy.h: Same.
3296 * include/bits/basic_string.h: Same.
3297 * include/bits/istream.tcc: Same.
3298 * include/bits/ostream.tcc: Same.
3299 * include/bits/algorithmfwd.h: Same.
3300 * include/bits/basic_string.tcc: Same.
3301 * include/bits/ostream_insert.h: Same.
3302 * include/bits/fstream.tcc: Same.
3303 * include/bits/functexcept.h: Same.
3304
3305 * doc/doxygen/user.cfg.in: Adjust names.
3306
3307 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
3308
3309 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
3310
3311 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
3312 tweaks.
3313 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
3314
3315 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
3316
3317 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
3318 * testsuite/25_algorithms/is_permutation/requirements/
3319 explicit_instantiation/2.cc: Likewise.
3320 * testsuite/25_algorithms/is_permutation/requirements/
3321 explicit_instantiation/pod.cc: Likewise.
3322 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
3323
3324 2011-01-13 John Lakos <jlakos@bloomberg.net>
3325 Pablo Halpern <phalpern@halpernwightsoftware.com>
3326 Paolo Carlini <paolo.carlini@oracle.com>
3327
3328 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
3329 * include/bits/algorithmfwd.h: Add.
3330
3331 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
3332
3333 PR libstdc++/47045
3334 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
3335
3336 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
3337
3338 * aclocal.m4: Regenerate.
3339
3340 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
3341
3342 PR libstdc++/47185
3343 * src/placeholders.cc: New.
3344 * src/Makefile.am: Adjust.
3345 * src/Makefile.in: Regenerate.
3346 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
3347 extern.
3348 * config/abi/pre/gnu.ver: Export.
3349
3350 2011-01-05 François Dumont <francois.cppdevs@free.fr>
3351
3352 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
3353 * include/src/debug.cc: Use latter
3354 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
3355 correctly handle before_begin iterators.
3356 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
3357 useless _GLIBCXX_DEBUG checks.
3358
3359 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
3360
3361 PR libstdc++/47145
3362 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
3363 * configure: Regenerated.
3364
3365 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
3366
3367 PR libstdc++/46922
3368 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
3369
3370 \f
3371 Copyright (C) 2011 Free Software Foundation, Inc.
3372
3373 Copying and distribution of this file, with or without modification,
3374 are permitted in any medium without royalty provided the copyright
3375 notice and this notice are preserved.