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