1 2011-06-10 Benjamin Kosnik <bkoz@redhat.com>
3 * include/ext/pb_ds/*: Doxygen markup redo.
4 * include/Makefile.am: Fold in constructors_destructor_fn_imps.hpp.
5 * include/Makefile.in: Regenerate.
7 2011-06-10 Jason Merrill <jason@redhat.com>
9 * testsuite/20_util/bind/ref_neg.cc: Remove wrong test lines.
11 * testsuite/20_util/bind/ref_neg.cc: Remove dg-excess-errors,
14 2011-06-09 Jason Merrill <jason@redhat.com>
16 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust.
18 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
19 * testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
20 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
21 * testsuite/20_util/forward/1_neg.cc: Likewise.
22 * testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
23 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
24 * testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
25 * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
26 * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
28 * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
29 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
30 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
32 * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
33 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
34 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
36 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
37 auto_ptr_rvalue_neg.cc: Likewise.
38 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
40 * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
41 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
43 * testsuite/23_containers/deque/requirements/dr438/
44 constructor_1_neg.cc: Likewise.
45 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
47 * testsuite/23_containers/forward_list/requirements/dr438/
48 assign_neg.cc: Likewise.
49 * testsuite/23_containers/forward_list/requirements/dr438/
50 constructor_1_neg.cc: Likewise.
51 * testsuite/23_containers/forward_list/requirements/dr438/
52 constructor_2_neg.cc: Likewise.
53 * testsuite/23_containers/forward_list/requirements/dr438/
54 insert_neg.cc: Likewise.
55 * testsuite/23_containers/list/requirements/dr438/
56 assign_neg.cc: Likewise.
57 * testsuite/23_containers/list/requirements/dr438/
58 constructor_1_neg.cc: Likewise.
59 * testsuite/23_containers/list/requirements/dr438/
60 constructor_2_neg.cc: Likewise.
61 * testsuite/23_containers/list/requirements/dr438/
62 insert_neg.cc: Likewise.
63 * testsuite/23_containers/vector/requirements/dr438/
64 assign_neg.cc: Likewise.
65 * testsuite/23_containers/vector/requirements/dr438/
66 constructor_1_neg.cc: Likewise.
67 * testsuite/23_containers/vector/requirements/dr438/
68 constructor_2_neg.cc: Likewise.
69 * testsuite/23_containers/vector/requirements/dr438/
70 insert_neg.cc: Likewise.
71 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
72 * testsuite/29_atomics/atomic_integral/operators/
73 bitwise_neg.cc: Likewise.
74 * testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
75 * testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
76 * testsuite/decimal/operator_neg.cc: Likewise.
78 2011-06-09 Simon Baldwin <simonb@google.com>
80 * scripts/extract_symvers.in: Handle processor/OS specific or
81 unknown symbol binding strings from readelf.
83 2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
85 * include/std/type_traits (__is_copy_assignable_impl,
86 __is_nt_copy_assignable_impl): Fix typo.
88 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
90 * include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
92 * include/bits/allocator.h: Likewise.
94 * include/std/chrono (duration_values<>::min): Call lowest, not min.
96 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
98 * include/bits/allocator.h (__shrink_to_fit): Simplify.
99 * include/bits/stl_vector.h (vector<>::shrink_to_fit): Adjust.
100 * include/bits/stl_deque.h: Likewise.
101 * include/bits/stl_bvector.h: Likewise.
103 2011-06-07 Jason Merrill <jason@redhat.com>
105 * testsuite/lib/prune.exp: s/required/instantiated/.
106 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
107 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
108 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
109 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
110 * testsuite/20_util/forward/1_neg.cc: Likewise.
111 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
112 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
114 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
115 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
116 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
117 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
118 * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
119 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
120 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
121 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
122 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
123 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
124 shared_ptr_neg.cc: Likewise.
126 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
128 * include/bits/move.h (struct __move_if_noexcept_cond): Add.
129 (move_if_noexcept): Use the latter.
130 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator,
131 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add.
132 * include/bits/stl_uninitialized.h
133 (__uninitialized_move_if_noexcept_a): Add.
134 * include/bits/vector.tcc (vector<>::reserve): Use
135 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR.
136 (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append,
137 _M_range_insert): Use __uninitialized_move_if_noexcept_a.
138 * testsuite/util/testsuite_rvalref.h (throwing_move_constructor):
140 (copycounter::copycounter(copycounter&&)): Use noexcept.
141 * testsuite/23_containers/vector/modifiers/moveable2.cc: New.
142 * testsuite/23_containers/vector/capacity/resize/moveable2.cc:
144 * testsuite/23_containers/vector/capacity/reserve/moveable2.cc:
147 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
150 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
152 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
154 2011-06-06 Paolo Carlini <paolo.carlini@oracle.com>
156 * include/bits/move.h (move_if_noexcept): Use __and_ and __not_.
158 2011-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
160 * include/bits/ptr_traits.h (pointer_traits): Fix typos.
161 * include/ext/pointer.h (pointer_traits): Add partial specialization
162 for _Pointer_adapter.
164 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com>
166 * testsuite/util/testsuite_allocator.h (tracker_allocator::construct):
167 Update to C++0x definition using type to construct as template
169 (tracker_allocator::destroy): Likewise for type to destroy.
170 (uneq_allocator::construct, uneq_allocator::destroy): Likewise.
172 2011-06-01 Paolo Carlini <paolo.carlini@oracle.com>
174 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
175 Use std::move on the allocator, use noexcept.
176 (_Hashtable<>::~_Hashtable): Use noexcept.
177 * include/bits/stl_list.h: Likewise.
178 * include/bits/forward_list.h: Likewise.
179 * include/bits/stl_vector.h: Likewise.
180 * include/bits/stl_bvector.h: Likewise.
181 * include/bits/stl_map.h (map<>::map(map&&)): Use noexcept.
182 * include/bits/stl_set.h: Likewise.
183 * include/bits/stl_multimap.h: Likewise.
184 * include/bits/stl_multiset.h: Likewise.
185 * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
186 std::move on the allocator.
187 (_Rb_tree<>::~_Rb_tree): Use noexcept.
188 * include/bits/stl_deque.h: Likewise.
189 * include/bits/basic_string.h (basic_string<>::~basic_string): Use
191 * include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
192 * include/debug/set.h: Adjust.
193 * include/debug/unordered_map: Likewise.
194 * include/debug/multiset.h: Likewise.
195 * include/debug/forward_list: Likewise.
196 * include/debug/vector: Likewise.
197 * include/debug/unordered_set: Likewise.
198 * include/debug/deque: Likewise.
199 * include/debug/map.h: Likewise.
200 * include/debug/string: Likewise.
201 * include/debug/list: Likewise.
202 * include/debug/multimap.h: Likewise.
203 * include/profile/set.h: Likewise.
204 * include/profile/unordered_map: Likewise.
205 * include/profile/multiset.h: Likewise.
206 * include/profile/forward_list: Likewise.
207 * include/profile/unordered_set: Likewise.
208 * include/profile/vector: Likewise.
209 * include/profile/deque: Likewise.
210 * include/profile/map.h: Likewise.
211 * include/profile/list: Likewise.
212 * include/profile/multimap.h: Likewise.
213 * testsuite/21_strings/basic_string/cons/wchar_t/
214 noexcept_move_construct.cc: New.
215 * testsuite/21_strings/basic_string/cons/char/
216 noexcept_move_construct.cc: Likewise.
217 * testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
218 * testsuite/23_containers/unordered_map/cons/
219 noexcept_move_construct.cc: Likewise.
220 * testsuite/23_containers/multimap/cons/
221 noexcept_move_construct.cc: Likewise.
222 * testsuite/23_containers/set/cons/
223 noexcept_move_construct.cc: Likewise.
224 * testsuite/23_containers/unordered_multimap/cons/
225 noexcept_move_construct.cc: Likewise.
226 * testsuite/23_containers/forward_list/cons/
227 noexcept_move_construct.cc: Likewise.
228 * testsuite/23_containers/unordered_set/cons/
229 noexcept_move_construct.cc: Likewise.
230 * testsuite/23_containers/vector/bool/cons/
231 noexcept_move_construct.cc: Likewise.
232 * testsuite/23_containers/vector/cons/
233 noexcept_move_construct.cc: Likewise.
234 * testsuite/23_containers/multiset/cons/
235 noexcept_move_construct.cc: Likewise.
236 * testsuite/23_containers/list/cons/
237 noexcept_move_construct.cc: Likewise.
238 * testsuite/23_containers/unordered_multiset/cons/
239 noexcept_move_construct.cc: Likewise.
240 * testsuite/23_containers/map/cons/noexcept_move_construct.cc
241 * testsuite/23_containers/forward_list/requirements/dr438/
242 assign_neg.cc: Adjust dg-error line numbers.
243 * testsuite/23_containers/forward_list/requirements/dr438/
244 insert_neg.cc: Likewise.
245 * testsuite/23_containers/forward_list/requirements/dr438/
246 constructor_1_neg.cc: Likewise.
247 * testsuite/23_containers/forward_list/requirements/dr438/
248 constructor_2_neg.cc: Likewise.
249 * testsuite/23_containers/vector/requirements/dr438/
250 assign_neg.cc: Likewise.
251 * testsuite/23_containers/vector/requirements/dr438/
252 insert_neg.cc: Likewise.
253 * testsuite/23_containers/vector/requirements/dr438/
254 constructor_1_neg.cc: Likewise.
255 * testsuite/23_containers/vector/requirements/dr438/
256 constructor_2_neg.cc: Likewise.
257 * testsuite/23_containers/deque/requirements/dr438/
258 assign_neg.cc: Likewise.
259 * testsuite/23_containers/deque/requirements/dr438/
260 insert_neg.cc: Likewise.
261 * testsuite/23_containers/deque/requirements/dr438/
262 constructor_1_neg.cc: Likewise.
263 * testsuite/23_containers/deque/requirements/dr438/
264 constructor_2_neg.cc: Likewise.
265 * testsuite/23_containers/list/requirements/dr438/
266 assign_neg.cc: Likewise.
267 * testsuite/23_containers/list/requirements/dr438/
268 insert_neg.cc: Likewise.
269 * testsuite/23_containers/list/requirements/dr438/
270 constructor_1_neg.cc: Likewise.
271 * testsuite/23_containers/list/requirements/dr438/
272 constructor_2_neg.cc: Likewise.
274 * include/bits/move.h (swap): Use __and_ in the noexcept.
275 * include/bits/algorithmfwd.h: Adjust.
277 2011-05-31 Paolo Carlini <paolo.carlini@oracle.com>
279 * include/bits/basic_string.h: Use noexcept per the FDIS (minus
280 compare(const string&), which uses char_traits::compare, which
281 isn't noexcept; also no noexcept in the move assignment operator
282 and move assign, see c++std-lib-30855).
283 * include/bits/basic_string.tcc: Likewise.
284 * include/ext/vstring.h: Likewise.
285 * include/ext/vstring.tcc: Likewise.
286 * include/debug/string: Likewise.
288 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
290 * doc/xml/manual/status_cxx200x.xml: Update.
291 * doc/html/*: Regenerate.
293 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
295 * include/std/type_traits (__or_, __and_): Add trivial definitions
296 for a single element.
297 * include/bits/stl_pair.h: Use __and_ in noexcept specs and
299 (pair<>::pair(pair&&)): Define.
300 (pair<>::pair(const pair<>&)): Constrain with is_convertible.
301 (pair<>::pair(pair<>&&)): Likewise, remove noexcept.
302 * include/std/tuple: Use __and_ in noexcept specs and constraints.
303 (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&,
304 _Tuple_impl&&)): Remove noexcept.
305 (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&),
306 tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&),
307 tuple(pair<_U1, _U2>&&)): Constrain with is_convertible.
308 * testsuite/20_util/tuple/moveable2.cc: Use = delete.
309 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
310 Adjust dg-error line numbers.
311 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
313 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
314 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
315 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
317 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
319 * include/std/tuple: Restore is_convertible constraint.
320 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
322 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
325 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
328 2011-05-30 Jonathan Wakely <jwakely.gcc@gmail.com>
330 * include/std/tuple: Implement uses-allocator construction.
331 * include/bits/allocator.h (uses_allocator): Move to ...
332 * include/bits/uses_allocator.h: New file.
333 * include/Makefile.am: Add new header.
334 * include/Makefile.in: Regenerate.
335 * testsuite/20_util/uses_allocator/cons_neg.cc: New.
336 * testsuite/20_util/uses_allocator/construction.cc: New.
337 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
338 * testsuite/20_util/tuple/cons/allocators.cc: New.
340 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
342 * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
344 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
346 * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
347 GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
348 * configure.ac: Use them. Increase minor version.
349 * configure: Regenerate.
350 * config.h.in: Regenerate.
351 * include/std/thread (thread::hardware_concurrency): Remove inline
353 * src/thread.cc (thread::hardware_concurrency): Define.
354 * config/abi/pre/gnu.ver: Export new symbol @3.4.17
355 * testsuite/util/testsuite_abi.cc: Add new version.
356 * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
357 * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
358 * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
359 dg-require-nprocs and verify hardware_concurrency returns non-zero.
361 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
363 * testsuite/20_util/pointer_traits/pointer_to.cc: New.
365 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
367 * include/Makefile.am: Add new ptr_traits.h header.
368 * include/Makefile.in: Regenerate.
369 * include/bits/ptr_traits.h (pointer_traits): New.
370 * include/bits/allocator.h (allocator_traits): Add.
371 * include/ext/array_allocator.h (construct, destroy): Update C++0x
373 * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
374 * include/ext/extptr_allocator.h (construct, destroy): Likewise.
375 * include/ext/malloc_allocator.h (construct, destroy): Likewise.
376 * include/ext/mt_allocator.h (construct, destroy): Likewise.
377 * include/ext/new_allocator.h (construct, destroy): Likewise.
378 * include/ext/pool_allocator.h (construct, destroy): Likewise.
379 * include/ext/throw_allocator.h (construct, destroy): Likewise.
380 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
381 * testsuite/20_util/allocator_traits/requirements/
382 explicit_instantiation.cc: New.
383 * testsuite/20_util/allocator_traits/members/max_size.cc: New.
384 * testsuite/20_util/allocator_traits/members/select.cc: New.
385 * testsuite/20_util/allocator_traits/members/construct.cc: New.
386 * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
387 * testsuite/20_util/allocator_traits/members/destroy.cc: New.
388 * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
389 * testsuite/20_util/pointer_traits/requirements/
390 explicit_instantiation.cc: New.
392 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
394 * include/std/future (launch): Update enumerators and define
395 operators required for bitmask type. Remove trailing whitespace.
396 * src/future.cc: Remove trailing whitespace.
397 * testsuite/30_threads/async/any.cc: Adjust.
398 * testsuite/30_threads/async/sync.cc: Adjust.
399 * testsuite/30_threads/async/launch.cc: New.
401 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
403 * include/std/future: Use noexcept.
404 * src/future.cc: Likewise.
406 2011-05-27 Jonathan Wakely <jwakely.gcc@gmail.com>
408 * include/std/thread (this_thread::sleep_until): Move after sleep_for.
410 2011-05-27 Paolo Carlini <paolo.carlini@oracle.com>
413 * include/parallel/losertree.h: Add missing using declarations
415 * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
416 * include/parallel/multiway_merge.h: Include <parallel/
417 multiseq_selection.h>, forward declare __merge_advance.
418 * include/parallel/multiseq_selection.h: Don't include <parallel/
420 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
421 qualification of upper_bound.
423 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
424 Use dg-require-debug-mode.
425 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
427 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
429 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
431 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
433 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
435 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
437 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
439 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
442 * include/parallel/algo.h: Minor uglification fixes.
444 2011-05-26 Paolo Carlini <paolo.carlini@oracle.com>
446 * src/list.cc: Use noexcept per the FDIS.
447 * src/compatibility-list-2.cc: Likewise.
448 * include/debug/set.h: Likewise.
449 * include/debug/unordered_map: Likewise.
450 * include/debug/multiset.h: Likewise.
451 * include/debug/forward_list: Likewise.
452 * include/debug/unordered_set: Likewise.
453 * include/debug/vector: Likewise.
454 * include/debug/map.h: Likewise.
455 * include/debug/deque: Likewise.
456 * include/debug/list: Likewise.
457 * include/debug/multimap.h: Likewise.
458 * include/profile/set.h: Likewise.
459 * include/profile/unordered_map: Likewise.
460 * include/profile/multiset.h: Likewise.
461 * include/profile/forward_list: Likewise.
462 * include/profile/vector: Likewise.
463 * include/profile/unordered_set: Likewise.
464 * include/profile/map.h: Likewise.
465 * include/profile/deque: Likewise.
466 * include/profile/list: Likewise.
467 * include/profile/multimap.h: Likewise.
468 * include/bits/hashtable.h: Likewise.
469 * include/bits/stl_list.h: Likewise.
470 * include/bits/stl_map.h: Likewise.
471 * include/bits/hashtable_policy.h: Likewise.
472 * include/bits/stl_set.h: Likewise.
473 * include/bits/forward_list.h: Likewise.
474 * include/bits/stl_multimap.h: Likewise.
475 * include/bits/stl_vector.h: Likewise.
476 * include/bits/stl_deque.h: Likewise.
477 * include/bits/stl_multiset.h: Likewise.
478 * include/bits/stl_bvector.h: Likewise.
479 * include/bits/stl_tree.h: Likewise.
481 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
483 * include/bits/stl_queue.h: Use noexcept per the FDIS.
484 * include/bits/stl_stack.h: Likewise.
486 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
488 * config/abi/pre/gnu.ver: Correct last change, export instead
489 at the existing @3.4.16.
490 * configure.ac: Revert last change.
491 * testsuite/util/testsuite_abi.cc: Likewise.
492 * configure: Regenerate.
494 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
496 * doc/xml/manual/documentation_hacking.xml: Minor corrections.
498 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
500 * include/std/mutex: Add doxygen comments.
502 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
504 * config/abi/pre/gnu.ver: Export recently added basic_streambuf
505 and basic_stringbuf symbols @3.4.17.
506 * configure.ac: Update.
507 * testsuite/util/testsuite_abi.cc: Likewise.
508 * configure: Regenerate.
510 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
512 * libsupc++/guard.cc: Fix comments.
514 2011-05-25 Ian Lance Taylor <iant@google.com>
517 * include/backward/hashtable.h (hashtable::erase): Don't crash if
518 erasing first and another element with a reference to the other
520 * testsuite/backward/hash_set/49060.cc: New.
522 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
524 * include/bits/random.h (random_device::min, max): Specify constexpr.
526 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
528 * include/std/thread: Use noexcept throughout per the FDIS.
529 * include/std/mutex: Likewise.
531 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
533 * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
535 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
538 * include/std/chrono (operator+, operator-, operator*, operator/,
539 operator&): Implement LWG 2020 [WP]; specify constexpr.
540 * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
542 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
545 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
546 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
547 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
549 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
551 * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
552 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
555 2011-05-23 Benjamin Kosnik <bkoz@redhat.com>
559 Interface changes for ext/pb_ds.
560 PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
561 * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
562 (basic_hash_table, basic_branch, list_update): Derive from
563 container_base_dispatch.
564 * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
565 (move_to_front_lu_policy): To lu_move_to_front_policy.
566 (counter_lu_policy): To lu_counter_policy.
567 * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
568 * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
569 template parameters, declare here.
570 (null_mapped_type) Remove.
571 (null_type): Just use this for template tricks everywhere.
572 * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
574 * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
575 (string_trie_e_access_traits): To trie_string_access_traits.
576 * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
579 * include/Makefile.am (pb_headers): Removed and changed file names.
580 * include/Makefile.in: Regenerated.
581 * include/ext/pb_ds/detail/basic_types.hpp: Remove.
582 * include/ext/pb_ds/detail/bin_search_tree_/
583 cond_dtor_entry_dealtor.hpp: Remove.
584 * include/ext/pb_ds/detail/bin_search_tree_/
585 cond_key_dtor_entry_dealtor.hpp: Remove.
586 * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
587 * include/ext/pb_ds/detail/binary_heap_/
588 point_const_iterator.hpp: ..here.
589 * include/ext/pb_ds/detail/basic_tree_policy: Move to...
590 * include/ext/pb_ds/detail/branch_policy: This.
591 * include/ext/pb_ds/detail/branch_policy/
592 basic_tree_policy_base.hpp: Move...
593 * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
594 * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
595 * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
596 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
597 null_metadata.hpp: Remove.
598 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
599 const_point_iterator.hpp: Move...
600 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
601 point_const_iterator.hpp: ...here.
602 * include/ext/pb_ds/detail/list_update_policy/
603 counter_lu_metadata.hpp: Move..
604 * include/ext/pb_ds/detail/list_update_policy/
605 lu_counter_metadata.hpp: ...here.
606 * include/ext/pb_ds/detail/list_update_policy/
607 counter_lu_policy_imp.hpp: Remove.
608 * include/ext/pb_ds/detail/list_update_policy/
609 mtf_lu_policy_imp.hpp: Remove.
610 * include/ext/pb_ds/detail/trie_policy/
611 string_trie_e_access_traits_imp.hpp: Move...
612 * include/ext/pb_ds/detail/trie_policy/
613 sample_trie_access_traits.hpp: ...here.
614 * include/ext/pb_ds/detail/trie_policy/
615 sample_trie_e_access_traits.hpp: Move...
616 * include/ext/pb_ds/detail/trie_policy/
617 trie_string_access_traits_imp.hpp: ...here.
618 * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
619 * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
620 * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
621 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
622 types found in the following files into pat_trie_base.
623 * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
624 * include/ext/pb_ds/detail/pat_trie_/
625 cond_dtor_entry_dealtor.hpp: Folded.
626 * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
627 * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
628 * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
629 * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
630 * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
631 * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
632 * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
633 * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
634 * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
635 * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
636 * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
637 * include/ext/pb_ds/detail/unordered_iterator/
638 const_point_iterator.hpp: Move...
639 * include/ext/pb_ds/detail/unordered_iterator/
640 point_const_iterator.hpp: ...here.
643 Adjust for above changes.
644 * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
645 * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
646 * include/ext/pb_ds/detail/resize_policy/
647 sample_resize_trigger.hpp: Same.
648 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
649 * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
650 * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
651 * include/ext/pb_ds/detail/binomial_heap_base_/
652 binomial_heap_base_.hpp: Same.
653 * include/ext/pb_ds/detail/binomial_heap_base_/
654 constructors_destructor_fn_imps.hpp: Same.
655 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
656 * include/ext/pb_ds/detail/binomial_heap_base_/
657 split_join_fn_imps.hpp: Same.
658 * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
659 for template parameter ordering change.
660 * include/ext/pb_ds/detail/cc_hash_table_map_/
661 erase_store_hash_fn_imps.hpp: Same.
662 * include/ext/pb_ds/detail/cc_hash_table_map_/
663 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
664 * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
665 * include/ext/pb_ds/detail/cc_hash_table_map_/
666 insert_no_store_hash_fn_imps.hpp: Same.
667 * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
668 * include/ext/pb_ds/detail/cc_hash_table_map_/
669 policy_access_fn_imps.hpp: Same.
670 * include/ext/pb_ds/detail/cc_hash_table_map_/
671 resize_store_hash_fn_imps.hpp: Same.
672 * include/ext/pb_ds/detail/cc_hash_table_map_/
673 constructor_destructor_store_hash_fn_imps.hpp: Same.
674 * include/ext/pb_ds/detail/cc_hash_table_map_/
675 insert_store_hash_fn_imps.hpp: Same.
676 * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
677 * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
678 * include/ext/pb_ds/detail/cc_hash_table_map_/
679 entry_list_fn_imps.hpp: Same.
680 * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
681 * include/ext/pb_ds/detail/cc_hash_table_map_/
682 find_store_hash_fn_imps.hpp: Same.
683 * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
684 * include/ext/pb_ds/detail/cc_hash_table_map_/
685 debug_no_store_hash_fn_imps.hpp: Same.
686 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
687 * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
688 * include/ext/pb_ds/detail/cc_hash_table_map_/
689 constructor_destructor_fn_imps.hpp: Same.
690 * include/ext/pb_ds/detail/cc_hash_table_map_/
691 cond_key_dtor_entry_dealtor.hpp: Same.
692 * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
693 * include/ext/pb_ds/detail/cc_hash_table_map_/
694 debug_store_hash_fn_imps.hpp: Same.
695 * include/ext/pb_ds/detail/cc_hash_table_map_/
696 erase_no_store_hash_fn_imps.hpp: Same.
697 * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
698 * include/ext/pb_ds/detail/cc_hash_table_map_/
699 iterators_fn_imps.hpp: Same.
700 * include/ext/pb_ds/detail/cc_hash_table_map_/
701 resize_no_store_hash_fn_imps.hpp: Same.
702 * include/ext/pb_ds/detail/cc_hash_table_map_/
703 standard_policies.hpp: Same.
704 * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
705 * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
706 * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
707 * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
708 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
709 * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
710 * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
711 * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
712 * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
713 * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
714 * include/ext/pb_ds/detail/pat_trie_/
715 constructors_destructor_fn_imps.hpp: Same.
716 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
717 * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
718 * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
719 * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
720 * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
721 * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
722 * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
723 * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
724 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
725 * include/ext/pb_ds/detail/bin_search_tree_/
726 policy_access_fn_imps.hpp: Same.
727 * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
728 * include/ext/pb_ds/detail/bin_search_tree_/
729 constructors_destructor_fn_imps.hpp: Same.
730 * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
731 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
732 * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
733 * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
734 * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
735 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
736 * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
737 * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
738 * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
739 * include/ext/pb_ds/detail/bin_search_tree_/
740 split_join_fn_imps.hpp: Same.
741 * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
742 * include/ext/pb_ds/detail/list_update_policy/
743 sample_update_policy.hpp: Same.
744 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
745 trace_fn_imps.hpp: Same.
746 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
747 erase_fn_imps.hpp: Same.
748 * include/ext/pb_ds/detail/gp_hash_table_map_/
749 erase_store_hash_fn_imps.hpp: Same.
750 * include/ext/pb_ds/detail/gp_hash_table_map_/
751 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
752 * include/ext/pb_ds/detail/gp_hash_table_map_/
753 insert_no_store_hash_fn_imps.hpp: Same.
754 * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
755 * include/ext/pb_ds/detail/gp_hash_table_map_/
756 policy_access_fn_imps.hpp: Same.
757 * include/ext/pb_ds/detail/gp_hash_table_map_/
758 resize_store_hash_fn_imps.hpp: Same.
759 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
760 * include/ext/pb_ds/detail/gp_hash_table_map_/
761 constructor_destructor_store_hash_fn_imps.hpp: Same.
762 * include/ext/pb_ds/detail/gp_hash_table_map_/
763 insert_store_hash_fn_imps.hpp: Same.
764 * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
765 * include/ext/pb_ds/detail/gp_hash_table_map_/
766 iterator_fn_imps.hpp: Same.
767 * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
768 * include/ext/pb_ds/detail/gp_hash_table_map_/
769 find_no_store_hash_fn_imps.hpp: Same.
770 * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
771 * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
772 * include/ext/pb_ds/detail/gp_hash_table_map_/
773 find_store_hash_fn_imps.hpp: Same.
774 * include/ext/pb_ds/detail/gp_hash_table_map_/
775 debug_no_store_hash_fn_imps.hpp: Same.
776 * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
777 * include/ext/pb_ds/detail/gp_hash_table_map_/
778 constructor_destructor_fn_imps.hpp: Same.
779 * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
780 * include/ext/pb_ds/detail/gp_hash_table_map_/
781 debug_store_hash_fn_imps.hpp: Same.
782 * include/ext/pb_ds/detail/gp_hash_table_map_/
783 erase_no_store_hash_fn_imps.hpp: Same.
784 * include/ext/pb_ds/detail/gp_hash_table_map_/
785 resize_no_store_hash_fn_imps.hpp: Same.
786 * include/ext/pb_ds/detail/gp_hash_table_map_/
787 standard_policies.hpp: Same.
788 * include/ext/pb_ds/detail/standard_policies.hpp: Same.
789 * include/ext/pb_ds/detail/types_traits.hpp: Same.
790 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
791 * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
792 * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
793 * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
794 * include/ext/pb_ds/detail/binary_heap_/
795 constructors_destructor_fn_imps.hpp: Same.
796 * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
797 * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
798 * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
799 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
800 * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
801 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
802 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
803 * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
804 * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
805 * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
806 * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
807 * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
808 * include/ext/pb_ds/detail/tree_policy/
809 sample_tree_node_update.hpp: Same.
810 * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
811 * include/ext/pb_ds/detail/trie_policy/
812 sample_trie_node_update.hpp: Same.
813 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
814 * include/ext/pb_ds/detail/trie_policy/
815 prefix_search_node_update_imp.hpp: Same.
816 * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
817 * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
818 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
819 Adjust for template parameter change, fold into
820 container_base_dispatch.
821 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
822 * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
823 * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
824 * include/ext/pb_ds/detail/pairing_heap_/
825 constructors_destructor_fn_imps.hpp: Same.
826 * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
827 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
828 * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
829 * include/ext/pb_ds/detail/binomial_heap_/
830 constructors_destructor_fn_imps.hpp: Same.
831 * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
832 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
833 * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
834 * include/ext/pb_ds/detail/type_utils.hpp: Same.
835 * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
836 * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
837 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
838 policy_access_fn_imps.hpp: Same.
839 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
840 left_child_next_sibling_heap_.hpp: Same.
841 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
842 const_iterator.hpp: Same.
843 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
844 insert_fn_imps.hpp: Same.
845 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
846 constructors_destructor_fn_imps.hpp: Same.
847 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
848 debug_fn_imps.hpp: Same.
849 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
851 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
852 info_fn_imps.hpp: Same.
853 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
854 iterators_fn_imps.hpp: Same.
855 * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
856 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
857 * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
858 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
859 * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
860 * include/ext/pb_ds/detail/thin_heap_/
861 constructors_destructor_fn_imps.hpp: Same.
862 * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
863 * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
864 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
865 * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
866 * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
867 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
868 * include/ext/pb_ds/detail/ov_tree_map_/
869 constructors_destructor_fn_imps.hpp: Same.
870 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
871 * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
872 * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
873 * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
874 * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
875 * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
876 * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
877 * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
878 * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
879 * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
880 * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
881 * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
882 * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
883 * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
884 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
885 * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
886 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
887 * include/ext/pb_ds/detail/splay_tree_/
888 constructors_destructor_fn_imps.hpp: Same.
889 * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
890 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
891 * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
892 * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
893 * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
894 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
895 * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
896 * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
897 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
898 * include/ext/pb_ds/detail/list_update_map_/
899 entry_metadata_base.hpp: Same.
900 * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
901 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
902 * include/ext/pb_ds/detail/list_update_map_/
903 constructor_destructor_fn_imps.hpp: Same.
904 * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
905 * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
906 * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
907 * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
908 * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
909 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
910 * include/ext/pb_ds/detail/rc_binomial_heap_/
911 rc_binomial_heap_.hpp: Same.
912 * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
913 * include/ext/pb_ds/detail/rc_binomial_heap_/
914 constructors_destructor_fn_imps.hpp: Same.
915 * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
916 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
917 * include/ext/pb_ds/detail/rc_binomial_heap_/
918 split_join_fn_imps.hpp: Same.
919 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
920 * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
921 * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
922 * include/ext/pb_ds/detail/rb_tree_map_/
923 constructors_destructor_fn_imps.hpp: Same.
924 * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
925 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
926 * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
927 * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
928 * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
929 * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
932 Documentation changes.
933 * include/ext/pb_ds/*: Add doxygen markup.
934 * doc/doxygen/user.cfg.in: Add details for extracting comments
936 * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
937 * scripts/make_graph.py: Move to svg output. Re-format generated tables.
939 * doc/Makefile.am (stamp-html-copy): New rule.
940 (stamp-html): Use it to copy non-generated files into html docs.
941 * doc/Makefile.in: Regenerated.
943 * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
944 * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
945 * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
946 * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
948 * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
949 hash_random_int_erase_mem_usage_test_local.png,
950 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
951 tree_text_insert_timing_test_pat_trie_local.png ,
952 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
953 priority_queue_text_modify_down_timing_test_local.png,
954 gp_hash_random_int_subscript_timing_test_find_local.png,
955 text_find_timing_test_hash_local.png,
956 multimap_text_insert_timing_test_small_s2p_hash_local.png,
957 multimap_text_insert_timing_test_small_s2p_tree_local.png,
958 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
959 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
960 multimap_text_insert_timing_test_large_s2p_hash_local.png,
961 hash_zlob_random_int_find_timing_test_local.png,
962 multimap_text_insert_timing_test_large_s2p_tree_local.png,
963 binary_priority_queue_random_int_push_timing_test_local.png,
964 priority_queue_text_pop_mem_usage_test_local.png,
965 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
966 tree_split_join_timing_test_local.png,
967 multimap_text_find_timing_test_small_s2p_hash_local.png,
968 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
969 priority_queue_random_int_push_pop_timing_test_local.png,
970 multimap_text_find_timing_test_small_s2p_tree_local.png,
971 gp_hash_random_int_subscript_timing_test_insert_local.png,
972 priority_queue_text_push_timing_test_local.png,
973 cc_hash_random_int_subscript_timing_test_find_local.png,
974 tree_text_insert_timing_test_vector_tree_local.png,
975 multimap_text_find_timing_test_large_s2p_hash_local.png,
976 pairing_priority_queue_text_push_timing_test_local.png,
977 tree_order_statistics_timing_test_local.png,
978 priority_queue_text_push_pop_timing_test_local.png,
979 text_find_timing_test_tree_like_local.png,
980 multimap_text_find_timing_test_large_s2p_tree_local.png,
981 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
982 cc_hash_random_int_subscript_timing_test_insert_local.png,
983 priority_queue_text_modify_up_timing_test_local.png,
984 random_int_find_find_timing_test_tree_local.png,
985 priority_queue_random_int_push_timing_test_local.png,
986 tree_text_insert_timing_test_node_tree_local.png,
987 pairing_priority_queue_text_push_pop_timing_test_local.png,
988 gp_hash_random_int_find_timing_test_local.png,
989 cc_hash_random_int_find_timing_test_local.png,
990 priority_queue_text_join_timing_test_local.png: Update local pngs.
994 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
995 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
996 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
997 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
998 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
999 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
1001 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
1003 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
1004 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
1006 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
1008 * testsuite/ext/pb_ds/example/basic_set.cc: Update.
1009 * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
1010 * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
1011 * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
1012 * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
1013 * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
1014 * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
1015 * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
1017 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
1018 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
1019 * testsuite/data/make_graph_test_infos.xml: Same.
1020 * testsuite/util/regression/common_type.hpp: Same.
1021 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
1022 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
1023 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
1024 * testsuite/util/regression/rand/priority_queue/
1025 rand_regression_test.hpp: Same.
1026 * testsuite/util/regression/rand/priority_queue/
1027 container_rand_regression_test.tcc: Same.
1028 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
1029 * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
1030 * testsuite/util/regression/rand/assoc/
1031 container_rand_regression_test.tcc: Same.
1032 * testsuite/util/native_type/native_priority_queue.hpp: Same.
1033 * testsuite/util/native_type/native_multimap.hpp: Same.
1034 * testsuite/util/native_type/native_hash_multimap.hpp: Same.
1035 * testsuite/util/native_type/native_set.hpp: Same.
1036 * testsuite/util/native_type/native_map.hpp: Same.
1037 * testsuite/util/native_type/native_hash_set.hpp: Same.
1038 * testsuite/util/native_type/native_hash_map.hpp: Same.
1039 * testsuite/util/testsuite_containers.h
1040 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
1041 * testsuite/util/common_type/assoc/common_type.hpp: Same.
1042 * testsuite/util/common_type/assoc/string_form.hpp: Same.
1043 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
1044 * testsuite/util/common_type/assoc/detail/
1045 trigger_policy_string_form.hpp: Same.
1046 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
1047 * testsuite/util/common_type/assoc/detail/
1048 size_policy_string_form.hpp: Same.
1049 * testsuite/util/common_type/assoc/detail/
1050 probe_fn_string_form.hpp: Same.
1051 * testsuite/util/common_type/assoc/detail/
1052 tree_supports_order_statistics.hpp: Same.
1053 * testsuite/util/common_type/assoc/detail/
1054 trie_supports_prefix_search.hpp: Same.
1055 * testsuite/util/common_type/assoc/detail/
1056 list_update_policy_string_form.hpp: Same.
1057 * testsuite/util/common_type/assoc/detail/
1058 trie_supports_order_statistics.hpp: Same.
1059 * testsuite/util/common_type/assoc/native_set.hpp: Same.
1060 * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
1061 * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
1062 * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
1064 2011-05-23 Paolo Carlini <paolo.carlini@oracle.com>
1066 * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
1067 (istreambuf_iterator<>::istreambuf_iterator(const
1068 istreambuf_iterator&), ~istreambuf_iterator()): Add defaulted
1071 2011-05-23 Jason Merrill <jason@redhat.com>
1073 * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
1075 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1077 * testsuite/20_util/bind/cv_quals_2.cc: New.
1079 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
1082 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
1083 operator()(_Args&&...)): Don't cv qualify _Functor directly
1084 in the default template argument, SFINAE doesn't apply when
1085 the functor has no arguments.
1086 * testsuite/20_util/bind/49058_1.cc: New.
1087 * testsuite/20_util/bind/49058_2.cc: Likewise.
1089 2011-05-21 Paolo Carlini <paolo.carlini@oracle.com>
1091 * include/bits/unique_ptr.h: Use noexcept per the FDIS.
1093 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1095 * testsuite/21_strings/basic_string/requirements/exception/
1096 propagation_consistent.cc: Fix vs POD-ness of value_type.
1097 * testsuite/21_strings/basic_string/requirements/exception/
1099 * testsuite/ext/vstring/requirements/exception/
1100 propagation_consistent.cc: Likewise.
1101 * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
1103 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1105 * include/bits/char_traits.h: Use noexcept throughout.
1106 * include/std/typeindex: Likewise.
1108 * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
1109 noexcept; adjust callers.
1110 * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
1111 * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
1112 * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
1113 * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
1114 * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
1115 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1118 2011-05-20 Jason Merrill <jason@redhat.com>
1120 * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
1121 functions from dependent bases.
1122 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
1123 * include/ext/pb_ds/detail/rb_tree_map_/
1124 split_join_fn_imps.hpp: Likewise.
1125 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
1126 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
1127 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
1128 * include/ext/pb_ds/detail/splay_tree_/
1129 split_join_fn_imps.hpp: Likewise.
1130 * include/ext/pb_ds/detail/tree_policy/
1131 order_statistics_imp.hpp: Likewise.
1132 * include/ext/pb_ds/detail/trie_policy/
1133 prefix_search_node_update_imp.hpp: Likewise.
1134 * include/ext/rc_string_base.h: Likewise.
1135 * include/ext/rope: Likewise.
1136 * include/ext/ropeimpl.h: Likewise.
1137 * testsuite/util/exception/safety.h: Likewise.
1138 * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
1139 * testsuite/util/testsuite_io.h: Likewise.
1140 * include/std/functional: Declare mem_fn earlier.
1141 * include/tr1/functional: Likewise.
1142 * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
1144 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1146 * include/std/tuple (tuple_element<__i, const _Tp>,
1147 tuple_element<__i, volatile _Tp>, tuple_element<__i,
1148 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
1149 tuple_size<const volatile _Tp>): Add.
1150 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
1151 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
1152 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
1153 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
1154 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
1157 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1159 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
1161 (__get_helper): Likewise.
1162 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
1163 * include/bits/move.h (swap): Likewise.
1164 * include/bits/algorithmfwd.h (swap): Adjust.
1165 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
1166 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
1167 mode, prefer delete to access control to make the type not copy
1169 * testsuite/util/testsuite_tr1.h: Add test classes.
1170 * testsuite/20_util/tuple/noexcept_swap.cc: New.
1171 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
1172 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
1173 delete to access control.
1174 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
1175 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1178 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
1180 * testsuite/util/testsuite_tr1.h: Add test classes.
1181 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
1183 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1185 * include/std/type_traits (is_assignable, is_copy_assignable,
1186 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
1187 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
1188 (has_nothrow_copy_assign): Remove.
1189 * testsuite/util/testsuite_tr1.h: Add test classes.
1190 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
1191 * testsuite/20_util/is_assignable/requirements/
1192 explicit_instantiation.cc: Likewise.
1193 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
1194 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
1196 * testsuite/20_util/is_nothrow_assignable/requirements/
1197 explicit_instantiation.cc: Likewise.
1198 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
1199 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
1201 * testsuite/20_util/is_move_assignable/requirements/
1202 explicit_instantiation.cc: Likewise.
1203 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
1204 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
1206 * testsuite/20_util/is_copy_assignable/requirements/
1207 explicit_instantiation.cc: Likewise.
1208 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
1209 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1210 typedefs.cc: Likewise.
1211 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1212 explicit_instantiation.cc: Likewise.
1213 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
1214 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1215 typedefs.cc: Likewise.
1216 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1217 explicit_instantiation.cc: Likewise.
1218 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1219 dg-error line numbers.
1220 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1222 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1224 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1226 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
1227 functions as defaulted/deleted.
1228 * include/bits/shared_ptr.h: Use noexcept.
1229 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
1230 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1232 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1234 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
1236 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
1238 * libsupc++/initializer_list: Use noexcept specifier.
1239 (initializer_list<>::size, begin, end): Qualify as const.
1240 * include/bits/move.h (__addressof, forward, move, addressof): Specify
1242 * include/std/bitset: Use noexcept specifier throughout.
1243 * include/debug/bitset: Update.
1244 * include/profile/bitset: Likewise.
1246 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
1248 * include/std/tuple: Use noexcept where appropriate.
1249 (tuple<>::swap): Rework implementation.
1250 (_Head_base<>::_M_swap_impl): Remove.
1251 (get(std::tuple<>&&)): Add.
1252 * testsuite/20_util/tuple/element_access/get2.cc: New.
1253 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1256 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1258 * include/std/utility: Simplify the last commit, the whole
1259 std::get code is C++0x only.
1261 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1263 * include/std/utility (get(std::pair<>&&)): Add.
1264 * include/bits/stl_pair.h (pair::swap(pair&),
1265 swap(pair<>&, pair<>&)): Use noexcept.
1266 * include/bits/random.h (discard_block_engine<>::base,
1267 independent_bits_engine<>::base, shuffle_order_engine<>::base,
1268 random_device::entropy): Use noexcept.
1269 * include/std/array: Use noexcept where appropriate.
1270 (get(array<>&&)): Add.
1271 * testsuite/23_containers/array/requirements/get.cc: New.
1272 * testsuite/20_util/pair/get.cc: Likewise.
1273 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
1276 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
1278 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
1280 * include/std/limits: Use the latter everywhere.
1281 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
1282 macro usages, the specializations exist only in C++0x mode.
1283 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
1286 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
1288 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
1290 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1292 2011-05-11 François Dumont <francois.cppdevs@free.fr>
1294 * include/ext/pb_ds/detail/resize_policy/
1295 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
1296 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
1297 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1298 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1299 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
1300 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
1301 * include/ext/pb_ds/detail/debug_map_base.hpp,
1302 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
1303 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
1304 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
1305 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
1306 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
1307 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
1308 macro definitions move...
1309 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
1310 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
1311 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
1312 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
1313 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
1314 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
1315 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
1316 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
1317 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
1320 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
1323 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
1324 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
1325 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
1326 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
1327 scalbn, tgamma, trunc): Use __enable_if on the return type.
1328 * include/tr1/cmath: Likewise.
1329 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
1330 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1332 2011-05-07 François Dumont <francois.cppdevs@free.fr>
1334 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
1335 (_GLICXX_DEBUG_VERIFY): Use latter.
1336 * include/ext/pb_ds/detail/resize_policy/
1337 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
1338 containing the original assert call.
1339 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1340 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1341 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1342 split_join_fn_imps.hpp: Likewise.
1343 * include/ext/pb_ds/detail/cc_hash_table_map_/
1344 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1345 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
1346 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
1347 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
1348 erase_no_store_hash_fn_imps.hpp: Likewise.
1349 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
1350 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
1351 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
1352 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
1354 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
1355 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1356 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
1357 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
1359 * include/ext/pb_ds/detail/gp_hash_table_map_/
1360 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1361 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
1362 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
1363 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
1364 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
1366 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
1367 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1368 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
1369 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
1370 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
1371 find_fn_imps.hpp, insert_fn_imps.hpp,
1372 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1373 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
1374 * include/ext/pb_ds/detail/binomial_heap_/
1375 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1376 binomial_heap_.hpp: Likewise.
1377 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1378 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
1379 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1380 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
1381 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
1382 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1383 split_join_fn_imps.hpp: Likewise.
1384 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
1385 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
1386 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
1387 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
1388 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
1389 find_fn_imps.hpp, insert_fn_imps.hpp,
1390 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1391 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
1392 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
1393 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
1394 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1395 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
1396 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
1397 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
1398 split_join_fn_imps.hpp: Likewise.
1399 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
1400 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1401 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
1402 * include/ext/pb_ds/hash_policy.hpp: Likewise.
1404 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
1406 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
1408 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
1410 PR libstdc++/47913 (again)
1411 * include/std/ratio (ratio_add, ratio_less): Rewrite.
1412 * testsuite/20_util/ratio/operations/47913.cc: Extend.
1413 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
1415 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1417 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1420 * include/std/valarray (valarray<>::valarray(valarray&&),
1421 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
1422 * doc/xml/manual/status_cxx200x.xml: Update.
1423 * testsuite/26_numerics/valarray/moveable.cc: New.
1424 * testsuite/26_numerics/valarray/swap.cc: Likewise.
1426 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1429 * include/parallel/multiway_merge.h: Run _ValueType destructors.
1430 * include/parallel/multiway_mergesort.h: Likewise.
1431 * include/parallel/quicksort.h: Likewise.
1432 * include/parallel/random_shuffle.h: Likewise.
1433 * include/parallel/partial_sum.h: Likewise.
1434 * include/parallel/losertree.h: Run destructors; minor tweaks.
1435 * include/parallel/par_loop.h: Run destructors, fix memory
1436 allocations and deallocations.
1437 * testsuite/26_numerics/accumulate/48750.cc: New.
1439 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
1440 parallel-mode to avoid spurious multiple errors.
1442 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1444 * include/std/functional (bind): Remove from overload set when first
1445 argument type might be a socket file descriptor.
1446 * testsuite/20_util/bind/socket.cc: New.
1448 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1451 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
1452 * doc/html/*: Regenerate.
1454 2011-05-02 Ollie Wild <aaw@google.com>
1456 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
1457 Fix unqualified lookup.
1458 (__sso_string_base<>::_M_assign): Likewise.
1459 (__sso_string_base<>::_M_reserve): Likewise.
1460 (__sso_string_base<>::_M_mutate): Likewise.
1461 (__sso_string_base<>::_M_erase): Likewise.
1462 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
1463 (__versa_string<>::compare): Likewise.
1464 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
1466 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1468 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
1470 * doc/xml/manual/documentation_hacking.xml: Fix typo.
1471 * doc/html/*: Regenerate.
1473 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
1475 * include/std/type_traits (__is_default_constructible_atom,
1476 __is_default_constructible_safe<, true>,
1477 __is_direct_constructible_new_safe,
1478 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
1479 __is_direct_constructible_ref_cast, __is_direct_constructible,
1480 __is_nary_constructible): Simplify; add comments throughout.
1482 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
1484 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1485 Adjust dg-error line numbers.
1486 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1488 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1490 2011-04-30 Doug Kwan <dougkwan@google.com>
1492 * include/Makefile.am (install-freestanding-headers): Also install
1494 * include/Makefile.in: Regenerate.
1496 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1499 * include/std/complex (complex<float>::complex(float, float),
1500 complex<double>::complex(double, double),
1501 complex<long double>::complex(long double, long double)): Use
1502 list-initialization in C++0x mode, initialize in the body in
1504 * testsuite/26_numerics/complex/cons/48760.cc: New.
1505 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
1507 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1509 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
1510 tweak, remove redundant round braces.
1512 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
1514 * include/bits/move.h (move_if_noexcept): Add.
1515 * testsuite/20_util/move_if_noexcept/requirements/
1516 explicit_instantiation.cc: New.
1517 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
1519 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
1521 * include/std/type_traits (struct underlying_type): Add.
1522 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
1523 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
1525 * testsuite/20_util/underlying_type/requirements/
1526 explicit_instantiation.cc: Likewise.
1527 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1530 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
1532 * include/parallel/multiway_merge.h: Uglify equally_split
1533 and equally_split_point throughout.
1534 * include/parallel/par_loop.h: Likewise.
1535 * include/parallel/equally_split.h: Likewise.
1536 * include/parallel/set_operations.h: Likewise.
1537 * include/parallel/unique_copy.h: Likewise.
1538 * include/parallel/multiway_mergesort.h: Likewise.
1539 * include/parallel/search.h: Likewise.
1540 * include/parallel/partial_sum.h: Likewise.
1541 * include/parallel/find.h: Likewise.
1543 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1545 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
1546 documentation. Expand link text.
1548 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1550 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
1552 2011-04-22 François Dumont <francois.cppdevs@free.fr>
1554 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
1555 unused compilation result thanks to /dev/null.
1556 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
1557 check_v3_target_profile_mode, check_v3_target_normal_mode,
1558 check_v3_target_cstdint, check_v3_target_cmath,
1559 check_v3_target_atomic_builtins, check_v3_target_gthreads,
1560 check_v3_target_nanosleep, check_v3_target_sched_yield,
1561 check_v3_target_string_conversions, check_v3_target_swprintf,
1562 check_v3_target_binary_io): Use simple preprocessing rather than
1563 compilation. Discard unused preprocessing result thanks to /dev/null.
1565 2011-04-20 Jim Meyering <meyering@redhat.com>
1567 * libsupc++/del_opnt.cc (operator delete): Remove useless
1570 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
1573 * include/std/type_traits (result_of): Handle pointer to member.
1574 * include/std/functional (__invoke): Likewise.
1575 (_Function_to_function_pointer): Remove.
1576 (_Reference_wrapper_base): Provide nested types independent of
1577 unary_function and binary_function.
1578 (reference_wrapper::operator()): DR 2017.
1579 (ref(const A&&), cref(const A&&): Define as deleted.
1580 * include/std/future (async): Simplify SFINAE and use result_of to
1581 support pointer to member.
1582 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
1584 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1585 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
1586 instead of derivation from unary_function and binary_function.
1587 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1588 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
1589 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
1590 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
1592 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
1595 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
1596 this part if SAMPLES < 100000.
1598 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
1600 * include/std/type_traits (is_nothrow_default_constructible,
1601 is_nothrow_copy_constructible, is_nothrow_move_constructible,
1602 is_copy_constructible, is_move_constructible): Add.
1603 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
1605 (is_nothrow_constructible): Adjust.
1607 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
1608 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
1609 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
1610 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
1612 * testsuite/20_util/has_nothrow_default_constructor: Remove.
1613 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
1615 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1616 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1617 typedefs.cc: Likewise.
1618 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1619 explicit_instantiation.cc: Likewise.
1620 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1621 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1622 typedefs.cc: Likewise.
1623 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1624 explicit_instantiation.cc: Likewise.
1625 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
1627 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1628 typedefs.cc: Likewise.
1629 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1630 explicit_instantiation.cc: Likewise.
1631 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1632 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
1634 * testsuite/20_util/is_move_constructible/requirements/
1635 explicit_instantiation.cc: Likewise.
1636 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1637 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
1639 * testsuite/20_util/is_copy_constructible/requirements/
1640 explicit_instantiation.cc: Likewise.
1642 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
1643 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
1645 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1646 Adjust dg-error line numbers.
1647 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1649 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1651 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
1653 * testsuite/25_algorithms/partition/moveable.cc: Actually run
1654 it in parallel-mode for check-parallel.
1656 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
1657 Paolo Carlini <paolo.carlini@oracle.com>
1659 PR libstdc++/48635 (again)
1660 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
1661 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
1662 unique_ptr<>::operator=(unique_ptr<>&&),
1663 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
1664 forward<_Dp>, to forward the deleter.
1665 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
1667 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1668 Paolo Carlini <paolo.carlini@oracle.com>
1671 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
1672 function call operator.
1673 * testsuite/20_util/default_delete/48631_neg.cc: New.
1674 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1677 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1678 Paolo Carlini <paolo.carlini@oracle.com>
1681 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
1682 unique_ptr<>::operator=(unique_ptr<>&&),
1683 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
1684 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
1685 instead of moving it.
1686 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
1688 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1690 * scripts/extract_symvers.pl: Handle NOTY.
1692 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
1694 * include/std/istream: Fix comments in the light of DR60 + N3168.
1696 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
1697 Paolo Carlini <paolo.carlini@oracle.com>
1700 * include/std/type_traits (struct is_constructible): Re-implement,
1702 (struct is_default_constructible): Add.
1703 (struct is_destructible): Likewise.
1704 (struct __and_, __or_, __not_): Add and use throughout; reorder some
1705 facilities, other minor tweaks.
1706 * testsuite/util/testsuite_tr1.h: Add test types.
1707 * testsuite/20_util/is_constructible/value-2.cc: New.
1708 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
1709 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
1711 * testsuite/20_util/is_default_constructible/requirements/
1712 explicit_instantiation.cc: Likewise.
1713 * testsuite/20_util/is_destructible/value.cc: Likewise.
1714 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
1716 * testsuite/20_util/is_destructible/requirements/
1717 explicit_instantiation.cc: Likewise.
1718 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1719 dg-error line numbers.
1720 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1722 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1723 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1725 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
1727 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
1729 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
1730 * testsuite/20_util/is_function/requirements/
1731 explicit_instantiation.cc: Likewise.
1732 * testsuite/20_util/is_function/24808.cc: Likewise.
1733 * testsuite/20_util/is_function/35637.cc: Likewise.
1734 * testsuite/20_util/is_object/value.cc: Likewise.
1735 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
1736 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
1738 * testsuite/20_util/is_object/24808.cc: Likewise.
1739 * testsuite/20_util/is_compound/value.cc: Likewise.
1740 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
1741 * testsuite/20_util/is_compound/requirements/
1742 explicit_instantiation.cc: Likewise.
1743 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
1744 * testsuite/20_util/is_member_object_pointer/requirements/
1745 typedefs.cc: Likewise.
1746 * testsuite/20_util/is_member_object_pointer/requirements/
1747 explicit_instantiation.cc: Likewise.
1748 * testsuite/20_util/is_fundamental/value.cc: Likewise.
1749 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
1750 * testsuite/20_util/is_fundamental/requirements/
1751 explicit_instantiation.cc: Likewise.
1752 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
1753 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
1755 * testsuite/20_util/is_member_pointer/requirements/
1756 explicit_instantiation.cc: Likewise.
1757 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
1758 * testsuite/20_util/is_member_function_pointer/
1759 requirements/typedefs.cc: Likewise.
1760 * testsuite/20_util/is_member_function_pointer/requirements/
1761 explicit_instantiation.cc: Likewise.
1763 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
1766 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
1769 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
1770 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
1771 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
1772 * testsuite/20_util/tuple/cons/48476.cc: New.
1773 * testsuite/20_util/tuple/48476.cc: Likewise.
1774 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
1776 2011-04-12 Allan McRae <allan@archlinux.org>
1779 * testsuite/tr1/6_containers/unordered_map/requirements/
1780 iterator_null_neg.cc: Include <cstddef>.
1781 * testsuite/tr1/6_containers/unordered_set/requirements/
1782 iterator_null_neg.cc: Likewise.
1783 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
1785 * testsuite/util/testsuite_common_types.h: Include <limits>.
1786 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
1787 Adjust dg-error line numbers.
1788 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
1789 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1791 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
1793 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
1795 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
1796 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1798 2011-04-11 Jason Merrill <jason@redhat.com>
1800 * testsuite/20_util/is_convertible/value.cc: Adjust.
1802 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
1804 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
1805 it in parallel-mode for check-parallel.
1806 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
1807 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
1808 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
1809 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1811 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
1812 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
1813 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
1815 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
1816 the tests based on std::lexicographical_compare for check-parallel.
1817 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
1819 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1822 * include/std/functional (_Base_manager::_M_get_pointer): Use
1824 * testsuite/20_util/function/48541.cc: New.
1826 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1829 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
1830 * configure: Regenerate.
1831 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
1832 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
1834 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
1836 * include/ext/algorithm (is_sorted): In C++0x mode import from
1838 * include/ext/numeric (iota): In C++0x mode import from
1840 * testsuite/ext/is_sorted/cxx0x.cc: New.
1841 * testsuite/ext/iota/cxx0x.cc: New.
1843 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
1846 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
1847 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
1848 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
1849 unused parameter name.
1851 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
1853 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
1854 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
1855 redundant default argument from std::__throw_with_nested.
1857 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
1860 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
1861 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
1862 * src/Makefile.in: Regenerate.
1863 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
1864 * include/Makefile.in: Regenerate.
1865 * doc/xml/manual/internals.xml: Update.
1866 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
1867 * config/os/newlib/ctype_configure_char.cc: ... this.
1868 * config/os/aix/ctype_noninline.h: Likewise.
1869 * config/os/aix/ctype_configure_char.cc: Likewise.
1870 * config/os/vxworks/ctype_noninline.h: Likewise.
1871 * config/os/vxworks/ctype_configure_char.cc
1872 * config/os/hpux/ctype_noninline.h: Likewise.
1873 * config/os/hpux/ctype_configure_char.cc: Likewise.
1874 * config/os/gnu-linux/ctype_noninline.h: Likewise.
1875 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
1876 * config/os/mingw32/ctype_noninline.h: Likewise.
1877 * config/os/mingw32/ctype_configure_char.cc: Likewise.
1878 * config/os/tpf/ctype_noninline.h: Likewise.
1879 * config/os/tpf/ctype_configure_char.cc: Likewise.
1880 * config/os/uclibc/ctype_noninline.h: Likewise.
1881 * config/os/uclibc/ctype_configure_char.cc: Likewise.
1882 * config/os/bionic/ctype_noninline.h: Likewise.
1883 * config/os/bionic/ctype_configure_char.cc: Likewise.
1884 * config/os/djgpp/ctype_noninline.h: Likewise.
1885 * config/os/djgpp/ctype_configure_char.cc: Likewise.
1886 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
1887 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
1888 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
1889 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
1890 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
1891 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
1892 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
1893 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
1894 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
1895 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
1896 * config/os/generic/ctype_noninline.h: Likewise.
1897 * config/os/generic/ctype_configure_char.cc: Likewise.
1898 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
1899 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
1901 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
1903 * include/std/future (future::share): Add.
1904 (packaged_task::result_type): Remove as per LWG 2030.
1905 (packaged_task::packaged_task): Remove redundant constructors, as per
1907 * testsuite/30_threads/future/members/share.cc: New.
1908 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
1910 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
1912 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
1913 members which require a fully established result state.
1914 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
1916 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
1918 * include/bits/random.h (negative_binomial_distribution<>::
1919 negative_binomial_distribution(_IntType, double),
1920 negative_binomial_distribution<>::
1921 negative_binomial_distribution(const param_type&)): Tweak
1922 construction of _M_gd.
1923 * include/bits/random.tcc (negative_binomial_distribution<>::
1924 operator()): Adjust.
1926 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
1928 * include/bits/random.h (negative_binomial_distribution<>::
1929 negative_binomial_distribution(_IntType, double),
1930 negative_binomial_distribution<>::
1931 negative_binomial_distribution(const param_type&)): Fix
1932 construction of _M_gd.
1933 * include/bits/random.tcc (negative_binomial_distribution<>::
1934 operator()): Fix computation, per Leger's algorithm.
1935 * testsuite/util/testsuite_random.h (discrete_pdf,
1936 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
1937 (binomial_pdf): Swap last two parameters.
1938 * testsuite/26_numerics/random/discrete_distribution/
1939 operators/values.cc: New.
1940 * testsuite/26_numerics/random/negative_binomial_distribution/
1941 operators/values.cc: Likewise.
1942 * testsuite/26_numerics/random/poisson_distribution/
1943 operators/values.cc: Likewise.
1944 * testsuite/26_numerics/random/uniform_int_distribution/
1945 operators/values.cc: Likewise.
1946 * testsuite/26_numerics/random/binomial_distribution/
1947 operators/values.cc: Adjust.
1949 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1951 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
1952 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1953 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1954 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1955 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1957 2011-03-23 Matthias Klose <doko@ubuntu.com>
1959 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
1961 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
1963 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
1965 2011-03-22 Joseph Myers <joseph@codesourcery.com>
1967 * configure.ac: Don't handle powerpc*-*-gnu*.
1968 * configure: Regenerate.
1970 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
1972 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
1974 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
1977 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
1979 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
1981 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
1982 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
1983 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
1984 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
1985 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
1986 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
1987 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
1989 2011-03-22 Jakub Jelinek <jakub@redhat.com>
1991 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
1992 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
1993 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
1994 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1995 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1996 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1997 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1998 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1999 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2000 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2002 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2003 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2004 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2005 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2006 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
2007 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2008 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
2009 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
2012 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
2014 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
2015 create compact unwind for" warnings.
2017 2011-03-21 Jakub Jelinek <jakub@redhat.com>
2019 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2020 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2021 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2023 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2024 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2025 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2026 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2027 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2028 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2029 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2030 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2031 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2033 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
2034 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
2035 CXXABI_LDBL_1.3 versions.
2037 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
2039 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
2041 2011-03-21 Jakub Jelinek <jakub@redhat.com>
2043 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
2044 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
2046 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2048 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
2049 sparc*-sun-solaris2.10 && lp64.
2051 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
2053 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
2054 to check_v3_target_cmath.
2055 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
2056 to dg-require-cmath.
2057 * testsuite/26_numerics/random/binomial_distribution/
2058 operators/values.cc: Adjust.
2060 2011-03-18 Diego Novillo <dnovillo@google.com>
2062 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
2064 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
2065 mixed-mode-arith_neg.cc
2067 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
2069 * testsuite/util/testsuite_random.h: New.
2070 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
2071 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
2072 * testsuite/26_numerics/random/bernoulli_distribution/
2073 operators/values.cc: New.
2074 * testsuite/26_numerics/random/binomial_distribution/
2075 operators/values.cc: Likewise.
2076 * testsuite/26_numerics/random/geometric_distribution/
2077 operators/values.cc: Likewise.
2079 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
2081 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
2082 * testsuite/19_diagnostics/stdexcept.cc: New.
2084 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2086 * include/std/thread: Revert.
2087 * src/thread.cc: Same.
2088 * config/abi/pre/gnu.ver: Same.
2090 2011-03-15 Doug Kwan <dougkwan@google.com>
2093 * include/Makefile.am (install-freestanding-headers): Install
2095 * include/Makefile.in: Regenerate.
2097 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2099 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
2100 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
2102 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2105 * src/future.cc: Guard definitions.
2106 * libsupc++/nested_exception.cc: Same.
2108 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2110 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
2111 * src/Makefile.in: Regenerate.
2112 * libsupc++/Makefile.am: Add nested_exception.cc.
2113 * libsupc++/Makefile.in: Regenerate.
2114 * src/system_error.cc: Add ctor and dtor definitions for error_category.
2115 * src/functional.cc: New. Add dtor definition for bad_function_call.
2116 * src/stdexcept.cc: Add dtor definitions for domain_error,
2117 invalid_argument, length_error, out_of_range, range_error,
2118 overflow_error, underflow_error.
2119 * src/future.cc: Add dtor definition for __future_base::_Result_base.
2120 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
2121 * src/thread.cc: Add dtor for thread::_Impl_base.
2122 * include/std/system_error: Adjust.
2123 * include/std/stdexcept: Same.
2124 * include/std/future: Same.
2125 * include/std/functional: Same.
2126 * include/std/thread: Same.
2127 * include/bits/shared_ptr_base.h: Same.
2128 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
2129 * libsupc++/nested_exception.h: Adjust.
2130 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
2131 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2132 * config/abi/pre/gnu.ver: Add new exports.
2134 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2136 * include/bits/regex_compiler.h: Nest namespace versioning.
2137 * include/bits/regex_grep_matcher.tcc: Same.
2138 * include/bits/regex_grep_matcher.h: Same.
2139 * include/bits/regex_cursor.h: Same.
2140 * include/bits/regex_nfa.h: Same.
2141 * include/bits/regex_nfa.tcc: Same.
2143 * include/bits/regex_grep_matcher.h: Version forward declarations.
2144 * include/bits/c++config: Add namespace association for __regex.
2145 * include/bits/regex.h: Make sub_match consistent.
2147 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2149 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
2151 * doc/html/manual/abi.html: Regenerate.
2153 2011-03-14 Tom Tromey <tromey@redhat.com>
2155 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
2156 Try to import `gdb.printing' module.
2157 (UniquePointerPrinter.__init__): Add 'typename' argument.
2158 (StdSlistPrinter.__init__): Likewise.
2159 (StdSlistIteratorPrinter.__init__): Likewise.
2160 (StdVectorIteratorPrinter.__init__): Likewise.
2161 (StdRbtreeIteratorPrinter.__init__): Likewise.
2162 (StdDebugIteratorPrinter.__init__): Likewise.
2163 (StdDequeIteratorPrinter.__init__): Likewise.
2164 (StdStringPrinter.__init__): Likewise.
2165 (RxPrinter, Printer): New class.
2166 (libstdcxx_printer): New global.
2167 (register_libstdcxx_printers): Rewrite.
2168 (build_libstdcxx_dictionary): Rewrite.
2169 (pretty_printers_dict): Remove.
2171 2011-03-14 Andrey Zholos <aaz@althenia.net>
2174 * include/bits/random.h (geometric_distribution): Correct formula
2175 in comment, per C++0x.
2176 (geometric_distribution<>::param_type::param_type(double)): Fix check.
2177 (geometric_distribution<>::param_type::_M_initialize):
2179 * include/bits/random.tcc (geometric_distribution<>::operator()):
2181 (binomial_distribution<>::operator()): Likewise.
2183 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
2185 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
2187 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
2188 Chris Jefferson <chris@bubblescope.net>
2189 Paolo Carlini <paolo.carlini@oracle.com>
2191 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
2193 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
2195 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
2197 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
2199 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
2201 2011-03-09 Chris Jefferson <chris@bubblescope.net>
2204 * include/bits/stl_algo.h (__merge_backward): Rename to
2205 __move_merge_backward and change to always move rather than copy.
2206 (__move_merge): New function similar to std::merge except values
2207 are moved instead of copied.
2208 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
2209 and __merge_backward to __move_merge and __move_merge_backward.
2211 2011-03-07 Jason Merrill <jason@redhat.com>
2213 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
2216 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
2217 Matthias Klose <doko@ubuntu.com>
2218 Jonathan Wakely <redi@gcc.gnu.org>
2221 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
2222 * configure.ac: Use it.
2223 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
2224 * configure: Regenerate.
2225 * doc/Makefile.in: Regenerate.
2227 2011-03-04 Benjamin Kosnik <bkoz@chula>
2229 * src/Makefile.am (inst_sources): Make source instantion files
2231 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
2232 * src/Makefile.in: Regenerate.
2233 * src/valarray-inst.cc: Move to..
2234 * src/valarray.cc: ...this.
2235 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
2236 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
2237 * configure: Regenerate.
2238 * include/Makefile.am (stamp-extern-template): Add.
2239 * include/Makefile.in: Regenerate.
2241 * doc/xml/manual/configure.xml: Document --enable-extern-template.
2243 * include/bits/locale_classes.tcc: Adjust comment.
2244 * include/bits/locale_facets.tcc: Same.
2245 * include/bits/basic_ios.tcc: Same.
2246 * include/bits/istream.tcc: Same.
2247 * include/bits/codecvt.h: Same.
2248 * include/bits/ostream.tcc: Same.
2249 * include/bits/sstream.tcc: Same.
2250 * include/bits/c++config: Same.
2251 * include/bits/basic_string.tcc: Same.
2252 * include/bits/ostream_insert.h: Same.
2253 * include/bits/locale_facets_nonio.tcc: Same.
2254 * include/bits/streambuf.tcc: Same.
2255 * include/bits/allocator.h: Same.
2256 * include/bits/fstream.tcc: Same.
2258 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2260 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
2262 * testsuite/Makefile.am: Make clean fixups.
2263 * testsuite/Makefile.in: Regenerate.
2265 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2267 * include/std/ratio (ratio_less): Add comments.
2269 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2272 * include/std/ratio (ratio_add): Avoid denominator overflow.
2273 * testsuite/20_util/ratio/operations/47913.cc: New.
2275 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
2277 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
2278 * testsuite/20_util/hash/quality.cc: Same.
2280 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2283 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
2285 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
2286 xputn): Use the latter.
2287 * include/bits/streambuf_iterator.h: Likewise.
2288 * src/strstream.cc: Likewise.
2289 * src/streambuf.cc: Likewise.
2290 * src/compatibility.cc: Likewise.
2291 * src/istream.cc: Likewise.
2292 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
2294 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
2295 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
2296 seekpos, _M_sync): Use setg, setp, and _M_pbump.
2297 * config/abi/pre/gnu.ver: Tweak.
2299 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2301 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
2303 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
2306 * include/std/ratio (ratio_less): Reimplement to never overflow.
2307 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
2309 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
2311 * testsuite/18_support/type_info/fundamental.cc: New.
2313 * testsuite/Makefile.am: Make clean fixups.
2314 * testsuite/Makefile.in: Regenerate.
2316 2011-02-19 François Dumont <francois.cppdevs@free.fr>
2318 * include/debug/string (basic_string::insert): Add iterator check and
2319 pass normal iterator to normal insert.
2320 * include/debug/macros.h (__glibcxx_check_heap,
2321 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
2324 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
2327 * testsuite/ext/vstring/hash/char/1.cc: Fix.
2328 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2330 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2332 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
2333 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
2334 (basic_regex::operator=(basic_regex&&)): Likewise.
2335 (basic_regex::assign(basic_regex&&)): Likewise.
2336 (operator==(sub_match,...)): Implement DR 1181.
2337 (match_results::match_results(match_results&&)): Define.
2338 (match_results::operator=(const match_results&)): Fix parameter type.
2339 (match_results::operator=(match_results&&)): Define.
2341 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2344 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
2345 line anchors as metacharacters.
2346 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
2348 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
2351 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
2352 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
2353 hash<__gnu_cxx::__u32vstring>): Add.
2354 * testsuite/ext/vstring/hash/char/1.cc: New.
2355 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2357 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2359 * include/bits/regex.h (match_results::format): Use char_traits.
2361 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
2363 * include/std/atomic: Remove atomic_address, uplift to N3225.
2364 * include/bits/atomic_0.h: Same.
2365 * include/bits/atomic_2.h: Same.
2366 * include/bits/atomic_base.h: Same.
2367 * testsuite/29_atomics/atomic_address/*: Delete.
2369 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2371 * include/bits/regex.h (sub_match::sub_match): Add.
2372 (match_results::ready): Add.
2373 (match_results::empty): Adjust.
2374 (match_results::length): Add missing dereference.
2375 (match_results::operator[],prefix,suffix): Add debug mode checks.
2376 (match_results::cend): Re-use end().
2377 (match_results::format): Adjust signatures.
2378 (operator==(match_results,match_results)): Implement.
2379 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
2380 * include/bits/regex_constants.h (syntax_option_type): Likewise.
2381 * include/bits/regex_grep_matcher.h: Fix comment typo.
2382 (_SpecializedResults::_SpecializedResults): Simplify.
2383 * include/bits/regex_cursor.h: Fix comment typo.
2384 * include/bits/regex_nfa.h: Likewise.
2385 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
2386 Fix error code, remove xfail.
2387 * testsuite/28_regex/basic_regex/ctors/extended/
2388 string_range_01_02_03.cc: Likewise.
2390 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2392 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
2393 * include/bits/regex_nfa.h: Remove unnecessary base classes.
2395 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2397 * configure: Regenerate.
2399 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2402 * include/ext/algorithm (is_heap): In C++0x mode import from
2404 * testsuite/ext/is_heap/47709.cc: New.
2406 2011-02-12 Jakub Jelinek <jakub@redhat.com>
2407 Jonathan Wakely <jwakely.gcc@gmail.com>
2410 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
2411 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
2413 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2415 * include/tr1/cmath (fabs): Define.
2416 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
2419 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
2421 * testsuite/tr1/headers/c++200x/complex.cc: New.
2423 2011-02-11 Johannes Singler <singler@kit.edu>
2426 * include/parallel/losertree.h
2427 (_LoserTreeUnguarded<>::__delete_min_insert):
2428 Add missing "using std::swap;", as for other variants.
2430 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
2432 * src/Makefile.am (sources): Add regex.cc.
2433 * src/Makefile.in: Regenerate.
2434 * src/regex.cc: New.
2435 * include/bits/regex_error.h (error_type): Use constexpr.
2436 (regex_error): Move ctor and dtor out of line.
2438 * testsuite/28_regex/03_requirements: To...
2439 * testsuite/28_regex/requirements: ... this.
2440 * testsuite/28_regex/04_header: To...
2441 * testsuite/28_regex/headers: ... this.
2442 * testsuite/28_regex/05_constants: To...
2443 * testsuite/28_regex/constants: ... this.
2444 * testsuite/28_regex/06_exception_type: To...
2445 * testsuite/28_regex/regex_error: ... this.
2446 * testsuite/28_regex/07_traits: To...
2447 * testsuite/28_regex/traits: ... this.
2448 * testsuite/28_regex/08_basic_regex: To...
2449 * testsuite/28_regex/basic_regex: ... this.
2450 * testsuite/28_regex/09_sub_match: To...
2451 * testsuite/28_regex/sub_match: ... this.
2452 * testsuite/28_regex/10_match_results: To...
2453 * testsuite/28_regex/match_results: ... this.
2454 * testsuite/28_regex/11_algorithms: To...
2455 * testsuite/28_regex/algorithms: ... this.
2456 * testsuite/28_regex/12_iterators: To...
2457 * testsuite/28_regex/iterators: ... this.
2459 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2462 * include/bits/c++config: Do not use alternative token.
2463 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
2465 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2467 * src/future.cc (future_error_category::message): Handle no_state.
2469 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
2471 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
2472 not test in C++0x mode.
2473 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
2474 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
2477 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2479 * doc/xml/manual/status_cxx200x.xml: Update.
2480 * doc/html/*: Regenerate.
2482 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2484 * doc/xml/manual/debug.xml: Improve data race docs.
2486 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2489 * include/debug/map.h (map): Remove unnecessary using-declaration.
2490 * include/debug/multimap.h (multimap): Likewise.
2491 * include/profile/map.h (map): Likewise.
2492 * include/profile/multimap.h (multimap): Likewise.
2494 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2497 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
2499 * libsupc++/guard_error.cc: ... new file.
2500 * libsupc++/Makefile.am: Update.
2501 * libsupc++/Makefile.in: Regenerate.
2503 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2505 * include/std/future (packaged_task::operator bool): Rename to...
2506 (packaged_task::valid): ...this.
2507 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
2508 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
2509 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
2510 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
2511 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
2512 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
2513 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
2514 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
2515 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
2516 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
2517 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
2519 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2521 * doc/xml/manual/io.xml: Fix typo.
2522 * doc/html/manual/streambufs.html: Likewise.
2524 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2526 * config/abi/pre/gnu.ver: Fix.
2528 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
2530 * doc/xml/manual/appendix_porting.xml: Add doc section.
2531 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
2532 * doc/xml/manual/documentation_hacking.xml: ...here.
2534 * doc/xml/manual/debug_mode.xml: Adjust.
2535 * doc/xml/manual/prerequisites.xml: Adjust.
2536 * doc/Makefile.am (xml_sources): Add dot files,
2537 documentation_hacking.xml.
2538 * doc/Makefile.in: Regenerate.
2540 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
2541 * doc/xml/images/confdeps.pdf: Add.
2543 * doc/html/*: Regenerate.
2545 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2547 * doc/xml/gnu/fdl-1.2.xml: Remove.
2548 * doc/xml/gnu/gpl-2.0.xml: Remove.
2549 * doc/Makefile.am: Update.
2550 * doc/Makefile.in: Regenerate.
2552 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
2555 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
2556 iterator)): Add back in C++03 mode.
2557 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
2558 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
2560 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
2562 PR libstdc++/47560 try two
2563 * config/os/hpux/os_defines.h: Guard for C++.
2565 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
2567 * doc/xml/faq.xml: Adjust link to bug database.
2568 Remove old item on broken header files.
2570 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
2572 * include/bits/regex_error.h (__throw_regex_error): Not inline.
2573 * src/functexcept.cc: Add definition.
2574 * config/abi/pre/gnu.ver: Export.
2576 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
2578 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
2579 * configure: Regenerate.
2581 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
2584 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
2585 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
2586 avoid name conflicts.
2588 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2591 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
2593 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2595 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
2596 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
2597 (COMPACT_LATEX): Enable.
2599 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
2600 * include/profile/impl/profiler_hash_func.h: Same.
2601 * include/bits/hashtable.h: Same.
2602 * include/backward/auto_ptr.h: Same.
2603 * include/backward/strstream: Same.
2604 * include/backward/backward_warning.h: Same.
2605 * include/backward/binders.h: Same.
2607 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
2609 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
2610 Adjust link to GDB manual.
2612 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
2614 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
2615 _GLIBCXX_USE_DEPRECATED.
2616 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
2617 * doc/xml/manual/using.xml: Same.
2618 * include/std/memory: Same.
2619 * include/std/streambuf: Same.
2620 * include/bits/shared_ptr.h: Same.
2621 * include/bits/unique_ptr.h: Same.
2622 * include/bits/shared_ptr_base.h: Same.
2623 * include/bits/stl_function.h: Same.
2624 * include/tr1/shared_ptr.h: Same.
2625 * include/backward/auto_ptr.h: Same.
2626 * include/backward/binders.h: Same.
2628 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
2630 * doc/html/ext/lwg-active.html: Update to Revision D73.
2631 * doc/html/ext/lwg-closed.html: Likewise.
2632 * doc/html/ext/lwg-defects.html: Likewise.
2633 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
2635 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
2637 PR libstdc++/36104 part four
2638 * include/bits/c++config (_GLIBCXX_STD): Remove.
2639 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
2640 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
2641 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
2642 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
2643 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
2644 _GLIBCXX_INLINE_PROFILE): Remove.
2645 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
2646 (_GLIBCXX_END_NAMESPACE): Remove.
2647 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
2648 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
2649 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
2650 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
2651 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
2652 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
2653 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
2654 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
2655 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
2656 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
2657 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
2658 * include/*: Use new macros for namespace scope.
2662 * src/Makefile.am (sources): Remove debug_list.cc, add
2663 compatibility-debug_list-2.cc.
2664 (parallel_sources): Remove parallel_list.cc, add
2665 compatibility-parallel_list-2.cc.
2666 (compatibility-parallel_list-2.[o,lo]): New rule.
2667 * src/Makefile.in: Regenerate.
2668 * src/debug_list.cc: Remove.
2669 * src/parallel_list.cc: Remove.
2670 * src/compatibility-list-2.cc: New.
2671 * src/compatibility-debug_list-2.cc: New.
2672 * src/compatibility-parallel_list-2.cc: New.
2674 * doc/doxygen/user.cfg.in: Adjust macros.
2676 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
2677 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
2678 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
2679 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
2680 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
2681 * testsuite/20_util/forward/c_neg.cc: Same.
2682 * testsuite/20_util/forward/f_neg.cc: Same.
2683 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
2684 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
2685 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
2686 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
2687 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
2688 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2689 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
2690 * testsuite/23_containers/deque/requirements/dr438/
2691 constructor_1_neg.cc: Same.
2692 * testsuite/23_containers/deque/requirements/dr438/
2693 constructor_2_neg.cc: Same.
2694 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
2695 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
2696 * testsuite/23_containers/forward_list/requirements/dr438/
2697 assign_neg.cc: Same.
2698 * testsuite/23_containers/forward_list/requirements/dr438/
2699 constructor_1_neg.cc: Same.
2700 * testsuite/23_containers/forward_list/requirements/dr438/
2701 constructor_2_neg.cc: Same.
2702 * testsuite/23_containers/forward_list/requirements/dr438/
2703 insert_neg.cc: Same.
2704 * testsuite/23_containers/list/capacity/29134.cc: Same.
2705 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
2706 * testsuite/23_containers/list/requirements/dr438/
2707 constructor_1_neg.cc: Same.
2708 * testsuite/23_containers/list/requirements/dr438/
2709 constructor_2_neg.cc: Same.
2710 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
2711 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
2712 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
2713 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
2714 * testsuite/23_containers/vector/requirements/dr438/
2715 constructor_1_neg.cc: Same.
2716 * testsuite/23_containers/vector/requirements/dr438/
2717 constructor_2_neg.cc: Same.
2718 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
2719 * testsuite/25_algorithms/sort/35588.cc: Same.
2720 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2721 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2722 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
2723 * testsuite/ext/profile/profiler_algos.cc: Same.
2724 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
2725 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
2726 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
2727 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
2728 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
2730 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
2732 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
2733 Improve description of one such reference.
2735 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
2737 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
2738 Standards Revision Group.
2739 * doc/xml/manual/locale.xml: Ditto.
2740 * doc/xml/manual/messages.xml: Ditto.
2741 * doc/xml/manual/using_exceptions.xml: Ditto.
2743 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
2745 * include/bits/atomic_base.h: Do not include <stddef.h>.
2746 (kill_dependency): Uglify ret.
2748 2011-01-26 Johannes Singler <singler@kit.edu>
2750 * include/parallel/numeric (inner_product, partial_sum):
2751 Qualify subsequent call with __gnu_parallel instead of
2752 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
2753 * include/parallel/algobase.h (equal): Likewise.
2754 * include/parallel/algo.h (find_first_of, search_n, merge,
2755 nth_element, partial_sort, max_element, min_element): Likewise.
2756 * testsuite/25_algorithms/headers/algorithm/
2757 parallel_algorithm_mixed1.cc (main): Add respective test cases.
2758 * testsuite/25_algorithms/headers/algorithm/
2759 parallel_algorithm_mixed2.cc (main): Likewise.
2760 * testsuite/26_numerics/headers/numeric/
2761 parallel_numeric_mixed1.cc (main): Likewise.
2762 * testsuite/26_numerics/headers/numeric/
2763 parallel_numeric_mixed2.cc (main): Likewise.
2765 2011-01-24 Graham Reed <greed@pobox.com>
2768 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
2771 2011-01-24 Johannes Singler <singler@kit.edu>
2774 * include/parallel/losertree.h
2775 (_LoserTree<>::__delete_min_insert):
2776 Do not qualify swap with std:: for value type,
2777 but include a using directive instead.
2778 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
2779 * include/parallel/balanced_quicksort.h (__qsb_divide):
2780 Use std::iter_swap instead of std::swap.
2781 (__qsb_local_sort_with_helping): Likewise.
2782 * include/parallel/partition.h (__parallel_partition):
2783 Likewise. (__parallel_nth_element): Likewise.
2785 2011-01-24 Johannes Singler <singler@kit.edu>
2788 * include/parallel/multiway_merge.h (_UnguardedIterator):
2789 Remove useless "mutable" from reference declaration.
2791 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
2793 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
2794 * include/debug/safe_sequence.h: Same.
2795 * include/debug/safe_iterator.h: Same.
2796 * include/std/forward_list: Same.
2797 * include/std/deque: Same.
2798 * include/std/list: Same.
2799 * include/std/random: Same.
2800 * include/std/streambuf: Same.
2801 * include/std/fstream: Same.
2802 * include/std/istream: Same.
2803 * include/std/string: Same.
2804 * include/std/ostream: Same.
2805 * include/std/sstream: Same.
2806 * include/ext/vstring.h: Same.
2807 * include/bits/basic_ios.h: Same.
2808 * include/bits/locale_classes.h: Same.
2809 * include/bits/locale_facets.h: Same.
2810 * include/bits/valarray_array.h: Same.
2811 * include/bits/locale_facets_nonio.h: Same.
2812 * include/tr1/random: Same.
2814 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2816 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
2818 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
2820 PR libstdc++/36104 part three
2821 * src/hashtable_c++0x.cc: Adjust namespace macros.
2822 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
2823 * config/abi/pre/gnu-versioned-namespace.ver: Update.
2825 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
2827 * include/ext/pb_ds/detail/resize_policy/
2828 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
2829 * include/ext/pb_ds/detail/pat_trie_/
2830 constructors_destructor_fn_imps.hpp: Same.
2831 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
2832 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2833 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
2835 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
2836 iterations downward when testing in debug mode.
2837 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2838 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2839 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2840 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2841 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2842 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
2843 reduce in debug mode.
2845 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
2847 PR libstdc++/36104 part two
2848 * include/bits/hashtable.h: Revert to non-nested macro usage.
2849 * include/bits/hashtable_policy.h: Same.
2851 2011-01-19 Graham Reed <greed@pobox.com>
2854 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
2856 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
2858 * doc/xml/images/confdeps.png: Regenerate.
2860 * include/std/chrono (duration): Mark copy constructor constexpr.
2861 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
2863 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
2865 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
2866 Declare defaulted per DR 1517.
2867 * testsuite/util/testsuite_common_types.h
2868 (constexpr_defaulted_default_constructible): Add.
2869 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
2871 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
2873 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
2875 * include/bits/stl_stack.h (stack<>::swap): Likewise.
2877 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2880 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
2881 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
2883 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2886 * testsuite/18_support/numeric_limits/lowest.cc:
2887 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
2889 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2892 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
2893 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
2895 2011-01-16 François Dumont <francois.cppdevs@free.fr>
2897 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
2898 to this. Use _neg suffix.
2899 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
2901 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
2903 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
2904 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
2906 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
2907 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
2909 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
2910 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
2912 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
2913 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
2915 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
2916 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
2918 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
2919 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
2921 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
2922 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
2924 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
2925 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
2927 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
2928 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
2930 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
2931 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
2933 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
2934 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
2936 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
2937 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
2939 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
2940 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
2942 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
2943 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
2945 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
2947 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
2950 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
2951 * include/Makefile.in: Regenerate.
2952 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
2953 (install-stdHEADERS, install-bitsHEADERS): New.
2954 * libsupc++/Makefile.in: Regenerate.
2956 * include/bits/c++config: Update for inline namespaces.
2957 * libsupc++/cxxabi-forced.h: To...
2958 * libsupc++/cxxabi_forced.h: ...this.
2959 * libsupc++/hash_bytes.h: Separate file.
2960 * libsupc++/typeinfo: Use it.
2961 * libsupc++/exception: Adjust for bits subdirectory.
2962 * libsupc++/eh_aux_runtime.cc: Same.
2963 * libsupc++/eh_ptr.cc: Same.
2964 * libsupc++/new_op.cc: Same.
2965 * libsupc++/exception_defines.h: Same.
2966 * libsupc++/nested_exception.h: Same.
2967 * libsupc++/eh_terminate.cc: Same.
2968 * libsupc++/vec.cc: Same.
2969 * libsupc++/vterminate.cc: Same.
2970 * libsupc++/exception_ptr.h: Same.
2971 * libsupc++/eh_personality.cc: Same.
2972 * libsupc++/eh_call.cc: Same.
2973 * libsupc++/new_opnt.cc: Same.
2974 * libsupc++/hash_bytes.cc: Same.
2975 * config/cpu/arm/cxxabi_tweaks.h: Same.
2976 * config/cpu/generic/cxxabi_tweaks.h: Same.
2977 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
2978 * include/std/bitset: Same.
2979 * include/ext/vstring.tcc: Same.
2980 * include/bits/hashtable.h: Same.
2981 * include/bits/functional_hash.h: Same.
2982 * include/bits/hashtable_policy.h: Same.
2983 * include/bits/basic_string.h: Same.
2984 * include/bits/istream.tcc: Same.
2985 * include/bits/ostream.tcc: Same.
2986 * include/bits/algorithmfwd.h: Same.
2987 * include/bits/basic_string.tcc: Same.
2988 * include/bits/ostream_insert.h: Same.
2989 * include/bits/fstream.tcc: Same.
2990 * include/bits/functexcept.h: Same.
2992 * doc/doxygen/user.cfg.in: Adjust names.
2994 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2996 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
2998 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
3000 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
3002 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
3004 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
3005 * testsuite/25_algorithms/is_permutation/requirements/
3006 explicit_instantiation/2.cc: Likewise.
3007 * testsuite/25_algorithms/is_permutation/requirements/
3008 explicit_instantiation/pod.cc: Likewise.
3009 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
3011 2011-01-13 John Lakos <jlakos@bloomberg.net>
3012 Pablo Halpern <phalpern@halpernwightsoftware.com>
3013 Paolo Carlini <paolo.carlini@oracle.com>
3015 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
3016 * include/bits/algorithmfwd.h: Add.
3018 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
3021 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
3023 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
3025 * aclocal.m4: Regenerate.
3027 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
3030 * src/placeholders.cc: New.
3031 * src/Makefile.am: Adjust.
3032 * src/Makefile.in: Regenerate.
3033 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
3035 * config/abi/pre/gnu.ver: Export.
3037 2011-01-05 François Dumont <francois.cppdevs@free.fr>
3039 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
3040 * include/src/debug.cc: Use latter
3041 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
3042 correctly handle before_begin iterators.
3043 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
3044 useless _GLIBCXX_DEBUG checks.
3046 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
3049 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
3050 * configure: Regenerated.
3052 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
3055 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
3058 Copyright (C) 2011 Free Software Foundation, Inc.
3060 Copying and distribution of this file, with or without modification,
3061 are permitted in any medium without royalty provided the copyright
3062 notice and this notice are preserved.