2c43026bc789605d68fb6a853e180fe07df9dc3d
[gcc.git] / libstdc++-v3 / ChangeLog
1 2011-09-07 François Dumont <francois.cppdevs@free.fr>
2
3 * testsuite/23_containers/array/at.cc: Revert to...
4 * testsuite/23_containers/array/at_neg.cc: ...this.
5
6 2011-09-07 Jason Merrill <jason@redhat.com>
7
8 * testsuite/20_util/bind/ref_neg.cc: Adjust errors.
9 * testsuite/20_util/duration/cons/1_neg.cc: Adjust errors.
10
11 2011-09-06 Benjamin Kosnik <bkoz@redhat.com>
12
13 * include/std/tuple (_Tuple_impl::_M_head, _M_tail): Mark constexpr.
14 (tuple(tuple&&)): Same.
15 (tuple(const tuple<_UElements...>& __in)): Same.
16 (tuple(tuple<_UElements...>&& __in)): Same.
17 (tuple_cat(const tuple<_TElements...>&, const tuple<_UElements...>&)):
18 Same.
19 (get): Same.
20 * include/std/array: Consolidate array::data usage.
21 * testsuite/23_containers/array/requirements/constexpr_functions.cc:
22 Remove extra include.
23 * testsuite/20_util/tuple/creation_functions/constexpr.cc: New.
24 * testsuite/20_util/tuple/cons/constexpr-2.cc: Add tests.
25 * testsuite/20_util/tuple/cons/constexpr-3.cc: Same.
26 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line numbers.
27
28 2011-09-06 François Dumont <fdumont@gcc.gnu.org>
29 Paolo Carlini <paolo.carlini@oracle.com>
30
31 * include/bits/hashtable_policy.h (_Prime_rehash_policy::
32 _M_next_bkt): Cast _M_max_load_factor to long double.
33 (_Prime_rehash_policy::_M_bkt_for_elements): Use _M_next_bkt.
34 (_Prime_rehash_policy::_M_need_rehash): Likewise; cast all
35 float quantities to long double.
36
37 2011-09-06 Paolo Carlini <paolo.carlini@oracle.com>
38
39 PR libstdc++/50257
40 * include/bits/hashtable_policy.h (_Prime_rehash_policy::
41 _M_next_bkt): Optimize for small argument.
42
43 2011-09-02 François Dumont <fdumont@gcc.gnu.org>
44
45 * testsuite/util/testsuite_allocator.h (tracker_allocator_counter::
46 allocate): Update allocation count only if allocation succeeded.
47
48 2011-09-02 Paolo Carlini <paolo.carlini@oracle.com>
49
50 * include/std/bitset: Trivial formatting fixes.
51
52 2011-09-02 Paolo Carlini <paolo.carlini@oracle.com>
53 Marc Glisse <marc.glisse@normalesup.org>
54
55 * include/std/bitset (_Base_bitset<>::_M_are_all_aux): Remove.
56 (_Base_bitset<>::_M_are_all): Add.
57 (bitset<>::all): Use the latter, improve implementation.
58
59 2011-09-02 Paolo Carlini <paolo.carlini@oracle.com>
60 Marc Glisse <marc.glisse@normalesup.org>
61
62 PR libstdc++/50268
63 * include/std/bitset (struct _Sanitize_val): Add.
64 (bitset<>::bitset(unsigned long long)): Fix.
65 * testsuite/23_containers/bitset/cons/50268.cc: New.
66
67 2011-09-01 Paolo Carlini <paolo.carlini@oracle.com>
68
69 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
70 Remove noexcept, the move constructor allocates memory; rearrange
71 the code in the body to consistently update __ht._M_rehash_policy
72 before using _M_next_bkt on it.
73 * include/debug/unordered_map: Adjust.
74 * include/debug/unordered_set: Likewise.
75 * include/profile/unordered_map: Likewise.
76 * include/profile/unordered_set: Likewise.
77 * testsuite/23_containers/unordered_map/cons/
78 noexcept_move_construct.cc: Remove.
79 * testsuite/23_containers/unordered_set/cons/
80 noexcept_move_construct.cc: Likewise.
81 * testsuite/23_containers/unordered_multimap/cons/
82 noexcept_move_construct.cc: Likewise.
83 * testsuite/23_containers/unordered_multiset/cons/
84 noexcept_move_construct.cc: Likewise.
85
86 2011-08-31 Paolo Carlini <paolo.carlini@oracle.com>
87
88 * include/std/chrono (operator*(const _Rep1&, const duration<>&)):
89 Fix order of template parameters per LWG 2004.
90
91 2011-08-30 Paolo Carlini <paolo.carlini@oracle.com>
92
93 * include/bits/stl_iterator.h (make_move_iterator): Implement DR2061.
94 * testsuite/24_iterators/move_iterator/dr2061.cc: New.
95 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
96 line numbers.
97
98 2011-08-30 Paolo Carlini <paolo.carlini@oracle.com>
99
100 * config/os/mingw32/error_constants.h: Fix commas.
101
102 2011-08-29 Benjamin Kosnik <bkoz@redhat.com>
103
104 * testsuite/20_util/duration/arithmetic/constexpr.cc: Add.
105
106 2011-08-29 Kai Tietz <ktietz@redhat.com>
107
108 * configure: Regenerated.
109 * config.h.in: Regenerated.
110 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR) Add
111 checks for ECHILD, ENOSPC, EPERM, ETIMEDOUT, and
112 EWOULDBLOCK.
113 * config/os/mingw32/error_constants.h (errc): Add
114 enumerator values no_child_process, no_space_on_device,
115 not_supported, operation_not_permitted, operation_would_block,
116 timed_out, and value_too_large,
117
118 2011-08-29 Paolo Carlini <paolo.carlini@oracle.com>
119
120 PR libstdc++/50118
121 * include/bits/stl_list.h (_List_base<>::
122 _List_base(const allocator_type&)): Remove.
123 (_List_base<>::_List_base(const _Node_alloc_type&)): Add.
124 (list<>:list(const allocator_type&), list(size_type, const
125 value_type&, const allocator_type&),
126 list(initializer_list<, const allocator_type&),
127 list(_InputIterator, _InputIterator, const allocator_type&),
128 insert(iterator, size_type, const value_type&),
129 insert(iterator, _InputIterator, _InputIterator)): Adjust.
130 * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(const _Compare&,
131 const allocator_type&)): Fix.
132 * include/bits/stl_map.h (map<>::map(const _Compare&,
133 const allocator_type&), map(initializer_list<>,
134 const _Compare&, const allocator_type&), map(_InputIterator,
135 _InputIterator, const _Compare&, const allocator_type&),
136 get_allocator): Adjust.
137 * include/bits/stl_set.h (set<>::set(const _Compare&,
138 const allocator_type&), set(initializer_list<>,
139 const _Compare&, const allocator_type&), set(_InputIterator,
140 _InputIterator, const _Compare&, const allocator_type&),
141 get_allocator): Likewise.
142 * include/bits/stl_multimap.h (multimap<>::multimap(const _Compare&,
143 const allocator_type&), multimap(initializer_list<>,
144 const _Compare&, const allocator_type&), multimap(_InputIterator,
145 _InputIterator, const _Compare&, const allocator_type&),
146 get_allocator): Likewise.
147 * include/bits/stl_multiset.h (multiset<>::multiset(const _Compare&,
148 const allocator_type&), multiset(initializer_list<>,
149 const _Compare&, const allocator_type&), multiset(_InputIterator,
150 _InputIterator, const _Compare&, const allocator_type&),
151 get_allocator): Likewise.
152 * include/bits/forward_list.h (_Fwd_list_base<>::
153 _Fwd_list_base(const _Alloc&), _Fwd_list_base(const _Fwd_list_base&,
154 const _Alloc&), _Fwd_list_base(_Fwd_list_base&&, const _Alloc&)):
155 Remove.
156 (_Fwd_list_base<>::_Fwd_list_base(const _Node_alloc_type&),
157 _Fwd_list_base(const _Fwd_list_base&,
158 const _Node_alloc_type&), _Fwd_list_base(_Fwd_list_base&&,
159 const _Node_alloc_type&)): Add.
160 (forward_list<>::forward_list(const _Alloc&),
161 forward_list(const forward_list&, const _Alloc&),
162 forward_list(forward_list&&, const _Alloc&),
163 forward_list(size_type, const _Tp&, const _Alloc&),
164 forward_list(_InputIterator, _InputIterator, const _Alloc&),
165 forward_list(std::initializer_list<>, const _Alloc&),
166 get_allocator): Adjust.
167 * include/bits/forward_list.tcc: Adjust.
168 * testsuite/util/testsuite_allocator.h (ExplicitConsAlloc): Add.
169 * testsuite/23_containers/unordered_map/requirements/
170 explicit_instantiation/5.cc: New.
171 * testsuite/23_containers/multimap/requirements/
172 explicit_instantiation/5.cc: Likewise.
173 * testsuite/23_containers/multimap/requirements/
174 explicit_instantiation/5_c++0x.cc: Likewise.
175 * testsuite/23_containers/set/requirements/explicit_instantiation/
176 5.cc: Likewise.
177 * testsuite/23_containers/set/requirements/explicit_instantiation/
178 5_c++0x.cc: Likewise.
179 * testsuite/23_containers/unordered_multimap/requirements/
180 explicit_instantiation/5.cc: Likewise.
181 * testsuite/23_containers/forward_list/requirements/
182 explicit_instantiation/5.cc: Likewise.
183 * testsuite/23_containers/unordered_set/requirements/
184 explicit_instantiation/5.cc: Likewise.
185 testsuite/23_containers/multiset/requirements/explicit_instantiation/
186 5.cc: Likewise.
187 * testsuite/23_containers/multiset/requirements/
188 explicit_instantiation/5_c++0x.cc: Likewise.
189 * testsuite/23_containers/list/requirements/explicit_instantiation/
190 5_c++0x.cc: Likewise.
191 * testsuite/23_containers/list/requirements/explicit_instantiation/
192 5.cc: Likewise.
193 * testsuite/23_containers/unordered_multiset/requirements/
194 explicit_instantiation/5.cc: Likewise.
195 * testsuite/23_containers/map/requirements/explicit_instantiation/
196 5.cc: Likewise.
197 * testsuite/23_containers/map/requirements/explicit_instantiation/
198 5_c++0x.cc: Likewise.
199 * testsuite/23_containers/forward_list/requirements/dr438/
200 assign_neg.cc: Adjust dg-error line number.
201 * testsuite/23_containers/forward_list/requirements/dr438/
202 insert_neg.cc: Likewise.
203 * testsuite/23_containers/forward_list/requirements/dr438/
204 constructor_1_neg.cc: Likewise.
205 * testsuite/23_containers/forward_list/requirements/dr438/
206 constructor_2_neg.cc: Likewise.
207 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
208 Likewise.
209 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
210 Likewise.
211 * testsuite/23_containers/list/requirements/dr438/
212 constructor_1_neg.cc: Likewise.
213 * testsuite/23_containers/list/requirements/dr438/
214 constructor_2_neg.cc: Likewise.
215
216 2011-08-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
217
218 * acinclude.m4 (GLIBCXX_CHECK_MATH_PROTO)
219 (GLIBCXX_CHECK_STDLIB_PROTO): New tests.
220 * configure.ac (GLIBCXX_CHECK_MATH_PROTO)
221 (GLIBCXX_CHECK_STDLIB_PROTO): Call them.
222 * configure: Regenerate.
223 * config.h.in: Regenerate.
224 * config/os/solaris/solaris2.8/os_defines.h
225 (__CORRECT_ISO_CPP_MATH_H_PROTO2): Don't define.
226 * config/os/solaris/solaris2.9: Remove.
227 * configure.host (solaris2.8): Merge with ...
228 (solaris2.9, solaris2.1[0-9]): ... this.
229 Always use os/solaris/solaris2.8.
230
231 2011-08-28 Paolo Carlini <paolo.carlini@oracle.com>
232
233 * include/bits/move.h (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Remove
234 workaround for c++/49045.
235 * include/bits/algorithmfwd.h: Likewise.
236
237 2011-08-25 Tom Tromey <tromey@redhat.com>
238
239 * testsuite/libstdc++-prettyprinters/simple.cc: New file.
240 * testsuite/lib/gdb-test.exp: New file.
241 * testsuite/libstdc++-prettyprinters/prettyprinters.exp: New
242 file.
243
244 2011-08-18 Marc Glisse <marc.glisse@normalesup.org>
245
246 * include/tr1/cmath: Extend/update comment.
247
248 2011-08-18 Paolo Carlini <paolo.carlini@oracle.com>
249
250 PR libstdc++/50119
251 * include/bits/stl_algo.h (__copy_n(_InputIterator, _Size,
252 _OutputIterator, input_iterator_tag)): Fix.
253 * testsuite/25_algorithms/copy_n/50119.cc: New.
254
255 2011-08-18 Marc Glisse <marc.glisse@normalesup.org>
256 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
257
258 PR libstdc++/1773
259 * config/os/solaris2.7: Rename to config/os/solaris2.9.
260 * config/os/solaris/solaris2.9/os_defines.h
261 (__CORRECT_ISO_CPP_MATH_H_PROTO1)
262 (__CORRECT_ISO_CPP_STDLIB_H_PROTO)
263 (__CORRECT_ISO_CPP_STRING_H_PROTO)
264 (__CORRECT_ISO_CPP_WCHAR_H_PROTO): Define.
265 * config/os/solaris2.8/ctype_base.h,
266 config/os/solaris2.8/ctype_configure_char.cc,
267 config/solaris2.8/ctype_inline.h,
268 config/os/solaris2.8/os_defines.h: New files.
269
270 * configure.host (solaris2.[89], solaris2.1[0-9]):
271 Split into ...
272 (solaris2.8): ... this.
273 Use os/solaris/solaris2.8.
274 (solaris2.9, solaris2.1[0-9]): ... and this.
275 Use os/solaris/solaris2.9.
276
277 * include/c_global/cmath (double abs(double)): Wrap in
278 !__CORRECT_ISO_CPP_MATH_H_PROTO1 &&
279 !__CORRECT_ISO_CPP_MATH_H_PROTO2.
280 (float abs(float), long double abs(long double): Wrap in
281 !__CORRECT_ISO_CPP_MATH_H_PROTO1.
282 (float acos(float), long double acos(long double)): Likewise.
283 (float asin(float), long double asin(long double)): Likewise.
284 (float atan(float), long double atan(long double)): Likewise.
285 (float atan2(float, float), long double atan2(long double, long
286 double)): Likewise.
287 (float ceil(float), long double ceil(long double)): Likewise.
288 (float cos(float), long double cos(long double)): Likewise.
289 (float cosh(float), long double cosh(long double)): Likewise.
290 (float exp(float), long double exp(long double)): Likewise.
291 (float fabs(float), long double fabs(long double)): Likewise.
292 (float floor(float), long double floor(long double)): Likewise.
293 (float fmod(float, float), long double fmod(long double, long
294 double)): Likewise.
295 (float frexp(float, int*), long double frexp(long double, int*)):
296 Likewise.
297 (float ldexp(float, int), long double ldexp(long double, int)):
298 Likewise.
299 (float log(float), long double log(long double)): Likewise.
300 (float log10(float), long double log10(long double)): Likewise.
301 (float modf(float, float*), long double modf(long double, long
302 double*))): Likewise.
303 (float pow(float, float), long double pow(long double, long
304 double)): Likewise.
305 (float sin(float), long double sin(long double)): Likewise.
306 (float sinh(float), long double sinh(long double)): Likewise.
307 (float sqrt(float), long double sqrt(long double)): Likewise.
308 (float tan(float), long double tan(long double)): Likewise.
309 (float tanh(float), long double tanh(long double)): Likewise.
310 * include/c_global/cstdlib (long abs(long), ldiv_t div(long,
311 long)): Wrap in !__CORRECT_ISO_CPP_STDLIB_H_PROTO.
312 * include/tr1/cmath (float fabs(float), long double fabs(long
313 double)): Wrap in !__CORRECT_ISO_CPP_MATH_H_PROTO1.
314
315 2011-08-14 Benjamin Kosnik <bkoz@redhat.com>
316
317 * doc/xml/images/*: Image and image filename changes.
318
319 2011-08-14 Benjamin Kosnik <bkoz@redhat.com>
320
321 * testsuite/data/make_graph_test_infos.xml: Edit.
322 * testsuite/data/make_graph_htmls.xml: Remove
323 * scripts/make_graph.py: Edit, fix.
324 * scripts/make_graphs.py: Remove.
325
326 * doc/Makefile.am (doc-svg-performance): New.
327 (doc-html-performance): Remove.
328 * doc/Makefile.in: Regenerate.
329
330 * doc/xml/manual/test_policy_data_structures.xml: Markup changes.
331 * doc/xml/manual/policy_data_structures.xml: Same.
332 * doc/xml/manual/locale.xml: Same.
333
334 Testsuite renames.
335 * performance/ext/pb_ds/priority_queue_text_modify_down_timing.cc:
336 Rename.
337 * performance/ext/pb_ds/random_int_find_timing.cc: Same.
338 * performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
339 * performance/ext/pb_ds/multimap_text_find_timing.hpp
340 * performance/ext/pb_ds/priority_queue_random_int_push_timing.cc: Same.
341 * performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
342 * performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
343 * performance/ext/pb_ds/multimap_text_insert_mem_usage_large.cc: Same.
344 * performance/ext/pb_ds/priority_queue_text_push_pop_timing.cc: Same.
345 * performance/ext/pb_ds/priority_queue_text_join_timing.cc: Same.
346 * performance/ext/pb_ds/multimap_text_insert_timing_small.cc: Same.
347 * performance/ext/pb_ds/random_int_subscript_insert_timing.cc: Same.
348 * performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
349 * performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc: Same.
350 * performance/ext/pb_ds/multimap_text_find_timing_small.cc: Same.
351 * performance/ext/pb_ds/text_find_timing.cc: Same.
352 * performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
353 * performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc: Same.
354 * performance/ext/pb_ds/random_int_subscript_find_timing.cc: Same.
355 * performance/ext/pb_ds/priority_queue_text_push_timing.cc: Same.
356 * performance/ext/pb_ds/tree_split_join_timing.cc: Same.
357 * performance/ext/pb_ds/multimap_text_insert_timing_large.cc: Same.
358 * performance/ext/pb_ds/priority_queue_text_modify_up_timing.cc: Same.
359 * performance/ext/pb_ds/multimap_text_find_timing_large.cc: Same.
360 * performance/ext/pb_ds/priority_queue_random_int_push_pop_timing.cc:
361 Same.
362 * performance/ext/pb_ds/multimap_text_insert_timing.hpp
363 * performance/ext/pb_ds/multimap_text_insert_mem_usage_small.cc: Same.
364 * performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc: Same.
365
366 * performance/ext/pb_ds/all_int_find.cc: To these new files...
367 * performance/ext/pb_ds/all_int_subscript_find.cc: ...this.
368 * performance/ext/pb_ds/all_int_subscript_insert.cc: ...this.
369 * performance/ext/pb_ds/all_text_find.cc: ...this.
370 * performance/ext/pb_ds/hash_int_erase_mem.cc: ...this.
371 * performance/ext/pb_ds/hash_zlob_int_find.cc: ...this.
372 * performance/ext/pb_ds/multimap_text_find.hpp
373 * performance/ext/pb_ds/multimap_text_find_large.cc: ...this.
374 * performance/ext/pb_ds/multimap_text_find_small.cc: ...this.
375 * performance/ext/pb_ds/multimap_text_insert.hpp
376 * performance/ext/pb_ds/multimap_text_insert_large.cc: ...this.
377 * performance/ext/pb_ds/multimap_text_insert_mem.hpp
378 * performance/ext/pb_ds/multimap_text_insert_mem_large.cc: ...this.
379 * performance/ext/pb_ds/multimap_text_insert_mem_small.cc: ...this.
380 * performance/ext/pb_ds/multimap_text_insert_small.cc: ...this.
381 * performance/ext/pb_ds/priority_queue_int_push.cc: ...this.
382 * performance/ext/pb_ds/priority_queue_int_push_pop.cc: ...this.
383 * performance/ext/pb_ds/priority_queue_text_join.cc: ...this.
384 * performance/ext/pb_ds/priority_queue_text_modify_down.cc: ...this.
385 * performance/ext/pb_ds/priority_queue_text_modify.hpp
386 * performance/ext/pb_ds/priority_queue_text_modify_up.cc: ...this.
387 * performance/ext/pb_ds/priority_queue_text_pop_mem.cc: ...this.
388 * performance/ext/pb_ds/priority_queue_text_push.cc: ...this.
389 * performance/ext/pb_ds/priority_queue_text_push_pop.cc: ...this.
390 * performance/ext/pb_ds/tree_order_statistics.cc: ...this.
391 * performance/ext/pb_ds/tree_split_join.cc: ...this.
392 * performance/ext/pb_ds/tree_text_insert.cc: ...this.
393 * performance/ext/pb_ds/tree_text_lor_find.cc: ...this.
394
395 * doc/xml/images/*: Image and image filename changes.
396
397 2011-08-12 Paolo Carlini <paolo.carlini@oracle.com>
398
399 * include/c_global/cmath (fmod(_Tp, _Up)): Add.
400 * include/c_std/cmath: Likewise.
401
402 2011-08-11 Paolo Carlini <paolo.carlini@oracle.com>
403
404 * include/std/future: constexpr functions are implicitly inline.
405 * include/std/chrono: Likewise.
406 * include/std/complex: Likewise.
407 * include/bits/move.h: Likewise.
408 * include/bits/stl_pair.h: Likewise.
409
410 2011-08-07 Jonathan Wakely <jwakely.gcc@gmail.com>
411
412 * include/bits/alloc_traits.h: Fix doxygen @headername.
413
414 2011-08-06 Benjamin Kosnik <bkoz@redhat.com>
415
416 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): To NO.
417
418 2011-08-06 Benjamin Kosnik <bkoz@redhat.com>
419
420 * doc/doxygen/user.cfg.in: Add scoped_allocator.
421
422 * include/debug/safe_sequence.h: Fix doxygen markup.
423 * include/debug/safe_unordered_base.h: Same.
424 * include/debug/safe_local_iterator.tcc: Same.
425 * include/debug/safe_unordered_container.h: Same.
426 * include/std/valarray: Same.
427 * include/std/iomanip: Same.
428 * include/std/streambuf: Same.
429 * include/std/bitset: Same.
430 * include/std/fstream: Same.
431 * include/std/functional: Same.
432 * include/std/istream: Same.
433 * include/std/ostream: Same.
434 * include/std/scoped_allocator: Same.
435 * include/std/sstream: Same.
436 * include/parallel/multiway_merge.h: Same.
437 * include/parallel/base.h: Same.
438 * include/parallel/for_each_selectors.h: Same.
439 * include/parallel/multiway_mergesort.h: Same.
440 * include/parallel/search.h: Same.
441 * include/parallel/partial_sum.h: Same.
442 * include/parallel/queue.h: Same.
443 * include/parallel/sort.h: Same.
444 * include/parallel/random_number.h: Same.
445 * include/ext/vstring.h: Same.
446 * include/ext/algorithm: Same.
447 * include/ext/pb_ds/assoc_container.h: Same.
448 * include/ext/bitmap_allocator.h: Same.
449 * include/ext/stdio_filebuf.h: Same.
450 * include/ext/memory: Same.
451 * include/ext/functional: Same.
452 * include/bits/basic_ios.h: Same.
453 * include/bits/stl_list.h: Same.
454 * include/bits/stl_map.h: Same.
455 * include/bits/stl_algobase.h: Same.
456 * include/bits/stl_queue.h: Same.
457 * include/bits/gslice.h: Same.
458 * include/bits/locale_classes.h: Same.
459 * include/bits/stl_set.h: Same.
460 * include/bits/locale_facets.h: Same.
461 * include/bits/stl_stack.h: Same.
462 * include/bits/stl_heap.h: Same.
463 * include/bits/forward_list.h: Same.
464 * include/bits/stream_iterator.h: Same.
465 * include/bits/basic_string.h: Same.
466 * include/bits/stl_multimap.h: Same.
467 * include/bits/stl_pair.h: Same.
468 * include/bits/ios_base.h: Same.
469 * include/bits/stl_numeric.h: Same.
470 * include/bits/stl_vector.h: Same.
471 * include/bits/stl_deque.h: Same.
472 * include/bits/codecvt.h: Same.
473 * include/bits/stl_multiset.h: Same.
474 * include/bits/stl_uninitialized.h: Same.
475 * include/bits/ptr_traits.h: Same.
476 * include/bits/slice_array.h: Same.
477 * include/bits/stl_iterator_base_funcs.h: Same.
478 * include/bits/stl_algo.h: Same.
479 * include/bits/stl_iterator.h: Same.
480 * include/bits/stl_tempbuf.h: Same.
481 * include/bits/regex.h: Same.
482 * include/bits/range_access.h: Same.
483 * include/bits/random.h: Same.
484 * include/bits/alloc_traits.h: Same.
485 * include/bits/regex_error.h: Same.
486 * include/bits/locale_facets_nonio.h: Same.
487 * include/bits/stl_relops.h: Same.
488 * include/backward/auto_ptr.h: Same.
489 * libsupc++/initializer_list: Same.
490
491 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
492 Adjust line numbers.
493 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
494 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
495 Same.
496 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
497 Same.
498
499 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
500
501 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Point TOPLEVEL_INCLUDES
502 to $(toplevel_srcdir)/libgcc.
503 * configure: Regenerate.
504
505 2011-08-04 Benjamin Kosnik <bkoz@redhat.com>
506
507 * doc/xml/manual/build_hacking.xml: Use relative fileref for PNG
508 imagedata.
509 * doc/xml/manual/test_policy_data_structures.xml: Same.
510 * doc/xml/manual/policy_data_structures.xml: Same.
511
512 * doc/Makefile.am (stamp-html-docbook-images)
513 (stamp-html-docbook-lwg, stamp-html-docbook-data): New.
514 (xml_extra): Add lwg html file dependencies.
515 (xml_images): Add image html file dependencies.
516 * doc/Makefile.in: Regenerate.
517 (stamp-html): Change to stamp-html-docbook-data.
518 (stamp-html-copy): Remove.
519
520 2011-08-04 Paolo Carlini <paolo.carlini@oracle.com>
521
522 * src/atomic.cc: Use noexcept.
523 * include/std/atomic: Likewise.
524 * include/bits/atomic_0.h: Likewise.
525 * include/bits/atomic_2.h: Likewise.
526 * include/bits/atomic_base.h: Likewise.
527
528 2011-08-03 Benjamin Kosnik <bkoz@redhat.com>
529
530 * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: Include
531 unistd.h for unlink.
532 * testsuite/performance/27_io/ofstream_insert_int.cc: Same.
533 * testsuite/performance/27_io/ifstream_extract_int.cc: Same.
534 * testsuite/performance/27_io/ifstream_getline-2.cc: Same.
535 * testsuite/performance/27_io/fstream_seek_write.cc: Same.
536 * testsuite/performance/27_io/ifstream_extract_chars.cc: Same.
537 * testsuite/performance/27_io/ofstream_insert_float.cc: Same.
538 * testsuite/performance/27_io/ifstream_extract_float.cc: Same.
539 * testsuite/performance/27_io/filebuf_sputc.cc: Same.
540
541 2011-08-03 Benjamin Kosnik <bkoz@redhat.com>
542
543 * include/std/tuple: Mark more constructors constexpr.
544 * testsuite/20_util/tuple/cons/constexpr.cc: Split into and extend as:
545 * testsuite/20_util/tuple/cons/constexpr-2.cc: ...this.
546 * testsuite/20_util/tuple/cons/constexpr-3.cc: ... and this.
547 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line numbers.
548
549 2011-08-03 Benjamin Kosnik <bkoz@redhat.com>
550 François Dumont <francois.cppdevs@free.fr>
551
552 * testsuite/23_containers/array/at_neg.cc: Move...
553 * testsuite/23_containers/array/at.cc: ...here. Remove
554 -fno-exceptions, call const at member function.
555
556 2011-08-01 H.J. Lu <hongjiu.lu@intel.com>
557
558 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Generated.
559
560 2011-08-01 Paolo Carlini <paolo.carlini@oracle.com>
561
562 PR c++/49813
563 * include/c_global/cmath (isinf): Remove workaround.
564
565 2011-07-31 Paolo Carlini <paolo.carlini@oracle.com>
566
567 PR libstdc++/49925
568 * include/bits/shared_ptr.h (make_shared): Qualify allocate_shared
569 with std::.
570 * include/bits/shared_ptr_base.h (__make_shared): Likewise.
571
572 2011-07-29 Benjamin Kosnik <bkoz@redhat.com>
573
574 * doc/xml/manual/build_hacking.xml: Markup imagedata changes.
575 * doc/xml/manual/policy_data_structures.xml: Same.
576
577 * doc/xml/class.txml: Remove biblioid.
578 * doc/xml/manual/allocator.xml: Same.
579 * doc/xml/manual/ctype.xml: Same.
580 * doc/xml/manual/codecvt.xml: Same.
581 * doc/xml/manual/backwards_compatibility.xml: Same.
582 * doc/xml/manual/abi.xml: Same.
583 * doc/xml/manual/shared_ptr.xml: Same.
584 * doc/xml/manual/using_exceptions.xml: Same.
585 * doc/xml/manual/messages.xml: Same.
586
587 2011-07-29 Benjamin Kosnik <bkoz@redhat.com>
588
589 Docbook conversion of existing ext/pb_ds documentation.
590 * doc/Makefile.am (xml_sources_manual): Add
591 policy_data_structures.xml and
592 test_policy_data_structures.xml.
593 (stamp-html-copy): Remove special-case for ext/pb_ds directory.
594 (XSLTPROC_FLAGS): Split into XSLT_FLAGS and XSLT_PARAM, use.
595 * doc/Makefile.in: Regenerate.
596 * doc/xml/manual/policy_data_structures.xml: New, adapted from
597 previous html-only instance in doc/html/ext/pb_ds.
598 * doc/xml/manual/test_policy_data_structures.xml: New, same as above.
599
600 * doc/xml/spine.xml: Update copyright.
601 * doc/xml/manual/spine.xml: Same.
602 * doc/xml/manual/extensions.xml: Adjust set, chapter, sections.
603 * doc/xml/manual/bitmap_allocator.xml: Same.
604 * doc/xml/manual/mt_allocator.xml: Same.
605
606 Populate image directory.
607 * doc/xml/images/(pbds_balls_and_bins.png,
608 pbds_binary_priority_queue_random_int_push_timing_test_local.pdf,
609 pbds_binary_priority_queue_random_int_push_timing_test_local.png,
610 pbds_binary_priority_queue_random_int_push_timing_test_local.svg,
611 pbds_cc_hash_random_int_find_timing_test_local.pdf,
612 pbds_cc_hash_random_int_find_timing_test_local.png,
613 pbds_cc_hash_random_int_find_timing_test_local.svg,
614 pbds_cc_hash_random_int_subscript_timing_test_find_local.pdf,
615 pbds_cc_hash_random_int_subscript_timing_test_find_local.png,
616 pbds_cc_hash_random_int_subscript_timing_test_find_local.svg,
617 pbds_cc_hash_random_int_subscript_timing_test_insert_local.pdf,
618 pbds_cc_hash_random_int_subscript_timing_test_insert_local.png,
619 pbds_cc_hash_random_int_subscript_timing_test_insert_local.svg,
620 pbds_container_tag_hierarchy.pdf,
621 pbds_container_tag_hierarchy.png,
622 pbds_container_tag_hierarchy.svg,
623 pbds_different_underlying_dss_1.png,
624 pbds_different_underlying_dss_2.png,
625 pbds_embedded_lists_1.png, pbds_embedded_lists_2.png,
626 pbds_embedded_lists_3.png, pbds_exception_hierarchy.pdf,
627 pbds_exception_hierarchy.png, pbds_exception_hierarchy.svg,
628 pbds_gp_hash_random_int_find_timing_test_local.pdf,
629 pbds_gp_hash_random_int_find_timing_test_local.png,
630 pbds_gp_hash_random_int_find_timing_test_local.svg,
631 pbds_gp_hash_random_int_subscript_timing_test_find_local.pdf,
632 pbds_gp_hash_random_int_subscript_timing_test_find_local.png,
633 pbds_gp_hash_random_int_subscript_timing_test_find_local.svg,
634 pbds_gp_hash_random_int_subscript_timing_test_insert_local.pdf,
635 pbds_gp_hash_random_int_subscript_timing_test_insert_local.png,
636 pbds_gp_hash_random_int_subscript_timing_test_insert_local.svg,
637 pbds_hash_policy_cd.png,
638 pbds_hash_random_int_erase_mem_usage_test_local.pdf,
639 pbds_hash_random_int_erase_mem_usage_test_local.png,
640 pbds_hash_random_int_erase_mem_usage_test_local.svg,
641 pbds_hash_ranged_hash_range_hashing_fns.png,
642 pbds_hash_range_hashing_seq_diagram2.png,
643 pbds_hash_range_hashing_seq_diagram.png,
644 pbds_hash_zlob_random_int_find_timing_test_local.pdf,
645 pbds_hash_zlob_random_int_find_timing_test_local.png,
646 pbds_hash_zlob_random_int_find_timing_test_local.svg,
647 pbds_insert_resize_sequence_diagram1.png,
648 pbds_insert_resize_sequence_diagram2.png,
649 pbds_insert_resize_sequence_diagram3.png,
650 pbds_invalidation_guarantee_erase.png,
651 pbds_invalidation_tag_hierarchy.pdf,
652 pbds_invalidation_tag_hierarchy.png,
653 pbds_invalidation_tag_hierarchy.svg, pbds_list_update.png,
654 pbds_multimap_text_find_timing_test_large_s2p_hash_local.pdf,
655 pbds_multimap_text_find_timing_test_large_s2p_hash_local.png,
656 pbds_multimap_text_find_timing_test_large_s2p_hash_local.svg,
657 pbds_multimap_text_find_timing_test_large_s2p_tree_local.pdf,
658 pbds_multimap_text_find_timing_test_large_s2p_tree_local.png,
659 pbds_multimap_text_find_timing_test_large_s2p_tree_local.svg,
660 pbds_multimap_text_find_timing_test_small_s2p_hash_local.pdf,
661 pbds_multimap_text_find_timing_test_small_s2p_hash_local.png,
662 pbds_multimap_text_find_timing_test_small_s2p_hash_local.svg,
663 pbds_multimap_text_find_timing_test_small_s2p_tree_local.pdf,
664 pbds_multimap_text_find_timing_test_small_s2p_tree_local.png,
665 pbds_multimap_text_find_timing_test_small_s2p_tree_local.svg,
666 pbds_multimap_text_insert_mem_usage_test_large_s2p_hash_local.pdf,
667 pbds_multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
668 pbds_multimap_text_insert_mem_usage_test_large_s2p_hash_local.svg,
669 pbds_multimap_text_insert_mem_usage_test_large_s2p_tree_local.pdf,
670 pbds_multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
671 pbds_multimap_text_insert_mem_usage_test_large_s2p_tree_local.svg,
672 pbds_multimap_text_insert_mem_usage_test_small_s2p_hash_local.pdf,
673 pbds_multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
674 pbds_multimap_text_insert_mem_usage_test_small_s2p_hash_local.svg,
675 pbds_multimap_text_insert_mem_usage_test_small_s2p_tree_local.pdf,
676 pbds_multimap_text_insert_mem_usage_test_small_s2p_tree_local.png,
677 pbds_multimap_text_insert_mem_usage_test_small_s2p_tree_local.svg,
678 pbds_multimap_text_insert_timing_test_large_s2p_hash_local.pdf,
679 pbds_multimap_text_insert_timing_test_large_s2p_hash_local.png,
680 pbds_multimap_text_insert_timing_test_large_s2p_hash_local.svg,
681 pbds_multimap_text_insert_timing_test_large_s2p_tree_local.pdf,
682 pbds_multimap_text_insert_timing_test_large_s2p_tree_local.png,
683 pbds_multimap_text_insert_timing_test_large_s2p_tree_local.svg,
684 pbds_multimap_text_insert_timing_test_small_s2p_hash_local.pdf,
685 pbds_multimap_text_insert_timing_test_small_s2p_hash_local.png,
686 pbds_multimap_text_insert_timing_test_small_s2p_hash_local.svg,
687 pbds_multimap_text_insert_timing_test_small_s2p_tree_local.pdf,
688 pbds_multimap_text_insert_timing_test_small_s2p_tree_local.png,
689 pbds_multimap_text_insert_timing_test_small_s2p_tree_local.svg,
690 pbds_node_invariants.png,
691 pbds_pairing_priority_queue_text_push_pop_timing_test_local.pdf,
692 pbds_pairing_priority_queue_text_push_pop_timing_test_local.png,
693 pbds_pairing_priority_queue_text_push_pop_timing_test_local.svg,
694 pbds_pairing_priority_queue_text_push_timing_test_local.pdf,
695 pbds_pairing_priority_queue_text_push_timing_test_local.png,
696 pbds_pairing_priority_queue_text_push_timing_test_local.svg,
697 pbds_pat_trie.png, pbds_point_iterator_hierarchy.png,
698 pbds_point_iterators_range_ops_1.png,
699 pbds_point_iterators_range_ops_2.png,
700 pbds_priority_queue_different_underlying_dss.png,
701 pbds_priority_queue_random_int_push_pop_timing_test_local.pdf,
702 pbds_priority_queue_random_int_push_pop_timing_test_local.png,
703 pbds_priority_queue_random_int_push_pop_timing_test_local.svg,
704 pbds_priority_queue_random_int_push_timing_test_local.pdf,
705 pbds_priority_queue_random_int_push_timing_test_local.png,
706 pbds_priority_queue_random_int_push_timing_test_local.svg,
707 pbds_priority_queue_tag_hierarchy.pdf,
708 pbds_priority_queue_tag_hierarchy.png,
709 pbds_priority_queue_tag_hierarchy.svg,
710 pbds_priority_queue_text_join_timing_test_local.pdf,
711 pbds_priority_queue_text_join_timing_test_local.png,
712 pbds_priority_queue_text_join_timing_test_local.svg,
713 pbds_priority_queue_text_modify_down_timing_test_local.pdf,
714 pbds_priority_queue_text_modify_down_timing_test_local.png,
715 pbds_priority_queue_text_modify_down_timing_test_local.svg,
716 pbds_priority_queue_text_modify_down_timing_test_pairing_thin_local.pdf,
717 pbds_priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
718 pbds_priority_queue_text_modify_down_timing_test_pairing_thin_local.svg,
719 pbds_priority_queue_text_modify_up_timing_test_local.pdf,
720 pbds_priority_queue_text_modify_up_timing_test_local.png,
721 pbds_priority_queue_text_modify_up_timing_test_local.svg,
722 pbds_priority_queue_text_modify_up_timing_test_pairing_thin_local.pdf,
723 pbds_priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
724 pbds_priority_queue_text_modify_up_timing_test_pairing_thin_local.svg,
725 pbds_priority_queue_text_pop_mem_usage_test_local.pdf,
726 pbds_priority_queue_text_pop_mem_usage_test_local.png,
727 pbds_priority_queue_text_pop_mem_usage_test_local.svg,
728 pbds_priority_queue_text_push_pop_timing_test_local.pdf,
729 pbds_priority_queue_text_push_pop_timing_test_local.png,
730 pbds_priority_queue_text_push_pop_timing_test_local.svg,
731 pbds_priority_queue_text_push_timing_test_local.pdf,
732 pbds_priority_queue_text_push_timing_test_local.png,
733 pbds_priority_queue_text_push_timing_test_local.svg,
734 pbds_rationale_null_node_updator.png,
735 pbds_resize_policy_cd.png, pbds_restoring_node_invariants.png,
736 pbds_simple_list.png,
737 pbds_text_find_timing_test_hash_local.pdf,
738 pbds_text_find_timing_test_hash_local.png,
739 pbds_text_find_timing_test_hash_local.svg,
740 pbds_text_find_timing_test_tree_like_local.pdf,
741 pbds_text_find_timing_test_tree_like_local.png,
742 pbds_text_find_timing_test_tree_like_local.svg,
743 pbds_tree_node_invalidations.png,
744 pbds_tree_node_invariants.png,
745 pbds_tree_node_updator_policy_cd.png,
746 pbds_tree_order_statistics_timing_test_local.pdf,
747 pbds_tree_order_statistics_timing_test_local.png,
748 pbds_tree_order_statistics_timing_test_local.svg,
749 pbds_tree_split_join_timing_test_local.pdf,
750 pbds_tree_split_join_timing_test_local.png,
751 pbds_tree_split_join_timing_test_local.svg,
752 pbds_tree_text_insert_timing_test_node_tree_local.pdf,
753 pbds_tree_text_insert_timing_test_node_tree_local.png,
754 pbds_tree_text_insert_timing_test_node_tree_local.svg,
755 pbds_tree_text_insert_timing_test_pat_trie_local.pdf,
756 pbds_tree_text_insert_timing_test_pat_trie_local.png,
757 pbds_tree_text_insert_timing_test_pat_trie_local.svg,
758 pbds_tree_text_insert_timing_test_vector_tree_local.pdf,
759 pbds_tree_text_insert_timing_test_vector_tree_local.png,
760 pbds_tree_text_insert_timing_test_vector_tree_local.svg,
761 pbds_tree_text_lor_find_timing_test_local.pdf,
762 pbds_tree_text_lor_find_timing_test_local.png,
763 pbds_tree_text_lor_find_timing_test_local.svg,
764 pbds_trie_node_updator_policy_cd.png,
765 pbds_update_seq_diagram.png): Add.
766
767 * doc/html/ext/pb_ds: Remove.
768 * doc/html/ext/pb_ds/(acks.html, assoc_container_tag_cd.png,
769 assoc_container_tag_cd.svg, assoc_container_traits.html,
770 assoc_design.html, assoc_examples.html,
771 associative_container_tag.html, assoc_performance_tests.html,
772 assoc_regression_tests.html, assoc_tests.html,
773 balls_and_bins.png, basic_hash_table.html,
774 basic_hash_tag.html, basic_invalidation_guarantee.html,
775 basic_tree_assoc_container_const_node_iterator.html,
776 basic_tree.html, basic_tree_tag.html, binary_heap_tag.html,
777 binary_priority_queue_random_int_push_timing_test_gcc.png,
778 binary_priority_queue_random_int_push_timing_test_local.png,
779 binary_priority_queue_random_int_push_timing_test_msvc.png,
780 binomial_heap_tag.html,
781 ccgp_hash_random_int_subscript_timing_test_insert_gcc.png,
782 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
783 ccgp_hash_random_int_subscript_timing_test_insert_msvc.png,
784 cc_hash_max_collision_check_resize_trigger.html,
785 cc_hash_random_int_find_timing_test_gcc.png,
786 cc_hash_random_int_find_timing_test_local.png,
787 cc_hash_random_int_find_timing_test_msvc.png,
788 cc_hash_random_int_subscript_timing_test_find_gcc.png,
789 cc_hash_random_int_subscript_timing_test_find_local.png,
790 cc_hash_random_int_subscript_timing_test_find_msvc.png,
791 cc_hash_random_int_subscript_timing_test_insert_gcc.png,
792 cc_hash_random_int_subscript_timing_test_insert_local.png,
793 cc_hash_random_int_subscript_timing_test_insert_msvc.png,
794 cc_hash_table.html, cc_hash_tag.html, checked_by_tidy.gif
795 concepts.html, contact.html, container_base.html,
796 container_cd.png, container_cd.svg, container_tag.html,
797 counter_lu_policy.html, design.html,
798 different_underlying_dss.png, direct_mask_range_hashing.html,
799 direct_mod_range_hashing.html, disclaimer.html, ds_gen.html,
800 embedded_lists_1.png, embedded_lists_2.png,
801 embedded_lists_3.png, examples.html, exceptions.html,
802 gp_hash_random_int_find_timing_test_gcc.png,
803 gp_hash_random_int_find_timing_test_local.png,
804 gp_hash_random_int_find_timing_test_msvc.png,
805 gp_hash_random_int_subscript_timing_test_find_gcc.png,
806 gp_hash_random_int_subscript_timing_test_find_local.png,
807 gp_hash_random_int_subscript_timing_test_find_msvc.png,
808 gp_hash_random_int_subscript_timing_test_insert_gcc.png,
809 gp_hash_random_int_subscript_timing_test_insert_local.png,
810 gp_hash_random_int_subscript_timing_test_insert_msvc.png,
811 gp_hash_table.html, gp_hash_tag.html,
812 hash_based_containers.html, hash_exponential_size_policy.html,
813 hash_load_check_resize_trigger.html, hash_policy_cd.png,
814 hash_prime_size_policy.html,
815 hash_random_int_erase_mem_usage_test_gcc.png,
816 hash_random_int_erase_mem_usage_test.html,
817 hash_random_int_erase_mem_usage_test_local.png,
818 hash_random_int_erase_mem_usage_test_msvc.png,
819 hash_random_int_find_find_timing_test.html,
820 hash_random_int_subscript_find_timing_test.html,
821 hash_random_int_subscript_insert_timing_test.html,
822 hash_ranged_hash_range_hashing_fns.png,
823 hash_range_hashing_seq_diagram2.png,
824 hash_range_hashing_seq_diagram.png,
825 hash_standard_resize_policy.html,
826 hash_text_find_find_timing_test.html,
827 hash_zlob_random_int_find_find_timing_test.html,
828 hash_zlob_random_int_find_timing_test_gcc.png,
829 hash_zlob_random_int_find_timing_test_local.png,
830 hash_zlob_random_int_find_timing_test_msvc.png, index.html,
831 insert_error.html, insert_resize_sequence_diagram1.png,
832 insert_resize_sequence_diagram2.png,
833 insert_resize_sequence_diagram3.png, interface.html,
834 introduction.html, invalidation_guarantee_cd.png,
835 invalidation_guarantee_erase.png, join_error.html,
836 linear_probe_fn.html, list_update.html, list_update_tag.html,
837 lu_based_containers.html, lu.png, misc.html, motivation.html,
838 move_to_front_lu_policy.html,
839 multimap_text_find_timing_test_large.html,
840 multimap_text_find_timing_test_large_s2p_hash_gcc.png,
841 multimap_text_find_timing_test_large_s2p_hash_local.png,
842 multimap_text_find_timing_test_large_s2p_hash_msvc.png,
843 multimap_text_find_timing_test_large_s2p_tree_gcc.png,
844 multimap_text_find_timing_test_large_s2p_tree_local.png,
845 multimap_text_find_timing_test_large_s2p_tree_msvc.png,
846 multimap_text_find_timing_test_small.html,
847 multimap_text_find_timing_test_small_s2p_hash_gcc.png,
848 multimap_text_find_timing_test_small_s2p_hash_local.png,
849 multimap_text_find_timing_test_small_s2p_hash_msvc.png,
850 multimap_text_find_timing_test_small_s2p_tree_gcc.png,
851 multimap_text_find_timing_test_small_s2p_tree_local.png,
852 multimap_text_find_timing_test_small_s2p_tree_msvc.png,
853 multimap_text_insert_mem_usage_test_large.html,
854 multimap_text_insert_mem_usage_test_large_s2p_hash_gcc.png,
855 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
856 multimap_text_insert_mem_usage_test_large_s2p_hash_msvc.png,
857 multimap_text_insert_mem_usage_test_large_s2p_tree_gcc.png,
858 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
859 multimap_text_insert_mem_usage_test_large_s2p_tree_msvc.png,
860 multimap_text_insert_mem_usage_test_small.html,
861 multimap_text_insert_mem_usage_test_small_s2p_hash_gcc.png,
862 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
863 multimap_text_insert_mem_usage_test_small_s2p_hash_msvc.png,
864 multimap_text_insert_mem_usage_test_small_s2p_tree_gcc.png,
865 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png,
866 multimap_text_insert_mem_usage_test_small_s2p_tree_msvc.png,
867 multimap_text_insert_timing_test_large.html,
868 multimap_text_insert_timing_test_large_s2p_hash_gcc.png,
869 multimap_text_insert_timing_test_large_s2p_hash_local.png,
870 multimap_text_insert_timing_test_large_s2p_hash_msvc.png,
871 multimap_text_insert_timing_test_large_s2p_tree_gcc.png,
872 multimap_text_insert_timing_test_large_s2p_tree_local.png,
873 multimap_text_insert_timing_test_large_s2p_tree_msvc.png,
874 multimap_text_insert_timing_test_small.html,
875 multimap_text_insert_timing_test_small_s2p_hash_gcc.png,
876 multimap_text_insert_timing_test_small_s2p_hash_local.png,
877 multimap_text_insert_timing_test_small_s2p_hash_msvc.png,
878 multimap_text_insert_timing_test_small_s2p_tree_gcc.png,
879 multimap_text_insert_timing_test_small_s2p_tree_local.png,
880 multimap_text_insert_timing_test_small_s2p_tree_msvc.png,
881 node_invariant_invalidations.png, node_invariants.png,
882 null_hash_fn.html, null_lu_metadata.html,
883 null_mapped_type.html, null_probe_fn.html,
884 null_tree_node_update.html, null_trie_node_update.html,
885 ov_tree_tag.html, pairing_heap_tag.html,
886 pairing_priority_queue_text_push_pop_timing_test_gcc.png,
887 pairing_priority_queue_text_push_pop_timing_test_local.png,
888 pairing_priority_queue_text_push_pop_timing_test_msvc.png,
889 pairing_priority_queue_text_push_timing_test_gcc.png,
890 pairing_priority_queue_text_push_timing_test_local.png,
891 pairing_priority_queue_text_push_timing_test_msvc.png,
892 pat_trie.png, pat_trie_tag.html,
893 point_invalidation_guarantee.html, point_iterators_cd.png,
894 point_iterators_range_ops_1.png,
895 point_iterators_range_ops_2.png, pq_container_traits.html,
896 pq_design.html, pq_different_underlying_dss.png,
897 pq_examples.html, pq_performance_tests.html,
898 pq_regression_tests.html, pq_tests.html, prerequisites.html,
899 priority_queue.html,
900 priority_queue_random_int_push_pop_timing_test_gcc.png,
901 priority_queue_random_int_push_pop_timing_test.html,
902 priority_queue_random_int_push_pop_timing_test_local.png,
903 priority_queue_random_int_push_pop_timing_test_msvc.png,
904 priority_queue_random_int_push_timing_test_gcc.png,
905 priority_queue_random_int_push_timing_test.html,
906 priority_queue_random_int_push_timing_test_local.png,
907 priority_queue_random_int_push_timing_test_msvc.png,
908 priority_queue_tag_cd.png, priority_queue_tag_cd.svg,
909 priority_queue_tag.html,
910 priority_queue_text_join_timing_test_gcc.png,
911 priority_queue_text_join_timing_test.html,
912 priority_queue_text_join_timing_test_local.png,
913 priority_queue_text_join_timing_test_msvc.png,
914 priority_queue_text_modify_down_timing_test_gcc.png,
915 priority_queue_text_modify_down_timing_test.html,
916 priority_queue_text_modify_down_timing_test_local.png,
917 priority_queue_text_modify_down_timing_test_msvc.png,
918 priority_queue_text_modify_down_timing_test_pairing_thin_gcc.png,
919 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
920 priority_queue_text_modify_down_timing_test_pairing_thin_msvc.png,
921 priority_queue_text_modify_up_timing_test_gcc.png,
922 priority_queue_text_modify_up_timing_test.html,
923 priority_queue_text_modify_up_timing_test_local.png,
924 priority_queue_text_modify_up_timing_test_msvc.png,
925 priority_queue_text_modify_up_timing_test_pairing_thin_gcc.png,
926 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
927 priority_queue_text_modify_up_timing_test_pairing_thin_msvc.png,
928 priority_queue_text_pop_mem_usage_test_gcc.png,
929 priority_queue_text_pop_mem_usage_test.html,
930 priority_queue_text_pop_mem_usage_test_local.png,
931 priority_queue_text_pop_mem_usage_test_msvc.png,
932 priority_queue_text_push_pop_timing_test_gcc.png,
933 priority_queue_text_push_pop_timing_test.html,
934 priority_queue_text_push_pop_timing_test_local.png,
935 priority_queue_text_push_pop_timing_test_msvc.png,
936 priority_queue_text_push_timing_test_gcc.png,
937 priority_queue_text_push_timing_test.html,
938 priority_queue_text_push_timing_test_local.png,
939 priority_queue_text_push_timing_test_msvc.png,
940 PythonPoweredSmall.gif quadratic_probe_fn.html,
941 random_int_find_find_timing_test_tree_gcc.png,
942 random_int_find_find_timing_test_tree_local.png,
943 random_int_find_find_timing_test_tree_msvc.png,
944 range_invalidation_guarantee.html,
945 rationale_null_node_updator.png, rb_tree_tag.html,
946 rc_binomial_heap_tag.html, references.html, resize_error.html,
947 resize_policy_cd.png, restoring_node_invariants.png,
948 sample_probe_fn.html, sample_ranged_hash_fn.html,
949 sample_ranged_probe_fn.html, sample_range_hashing.html,
950 sample_resize_policy.html, sample_resize_trigger.html,
951 sample_size_policy.html, sample_tree_node_update.html,
952 sample_trie_access_traits.html, sample_trie_node_update.html,
953 sample_update_policy.html, simple_list.png,
954 splay_tree_tag.html, tests.html,
955 text_find_timing_test_hash_gcc.png,
956 text_find_timing_test_hash_local.png,
957 text_find_timing_test_hash_msvc.png,
958 text_find_timing_test_tree_like_gcc.png,
959 text_find_timing_test_tree_like_local.png,
960 text_find_timing_test_tree_like_msvc.png, thin_heap_tag.html,
961 tree_based_containers.html, tree.html,
962 tree_node_iterator.html, tree_node_updator_policy_cd.png,
963 tree_order_statistics_node_update.html,
964 tree_order_statistics_timing_test_gcc.png,
965 tree_order_statistics_timing_test.html,
966 tree_order_statistics_timing_test_local.png,
967 tree_order_statistics_timing_test_msvc.png,
968 tree_random_int_find_find_timing_test.html,
969 tree_split_join_timing_test_gcc.png,
970 tree_split_join_timing_test.html,
971 tree_split_join_timing_test_local.png,
972 tree_split_join_timing_test_msvc.png, tree_tag.html,
973 tree_text_find_find_timing_test.html,
974 tree_text_insert_timing_test.html,
975 tree_text_insert_timing_test_node_tree_gcc.png,
976 tree_text_insert_timing_test_node_tree_local.png,
977 tree_text_insert_timing_test_node_tree_msvc.png,
978 tree_text_insert_timing_test_pat_trie_gcc.png,
979 tree_text_insert_timing_test_pat_trie_local.png,
980 tree_text_insert_timing_test_pat_trie_msvc.png,
981 tree_text_insert_timing_test_vector_tree_gcc.png,
982 tree_text_insert_timing_test_vector_tree_local.png,
983 tree_text_insert_timing_test_vector_tree_msvc.png,
984 tree_text_lor_find_find_timing_test.html,
985 tree_text_lor_find_timing_test_gcc.png,
986 tree_text_lor_find_timing_test_local.png,
987 tree_text_lor_find_timing_test_msvc.png,
988 trie_based_containers.html, trie_const_node_iterator.html,
989 trie.html, trie_node_iterator.html,
990 trie_node_updator_policy_cd.png,
991 trie_order_statistics_node_update.html,
992 trie_prefix_search_node_update.html,
993 trie_string_access_traits.html, trie_tag.html,
994 trivial_iterator_tag.html, tutorial.html,
995 update_policy_cd.png, update_seq_diagram.png): Remove.
996
997 2011-07-27 Paolo Carlini <paolo.carlini@oracle.com>
998
999 PR c++/49813
1000 * include/c_global/cmath: Use _GLIBCXX_CONSTEXPR and constexpr.
1001
1002 2011-07-27 Jeffrey Yasskin <jyasskin@google.com>
1003
1004 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Updated.
1005
1006 2011-07-25 Benjamin Kosnik <bkoz@redhat.com>
1007
1008 * include/std/array (at): Remove constexpr when -fno-exceptions.
1009 * testsuite/23_containers/array/at_neg.cc: Test.
1010
1011 2011-07-25 Paolo Carlini <paolo.carlini@oracle.com>
1012 Nathan Ridge <zeratul976@hotmail.com>
1013
1014 PR libstdc++/49836
1015 * include/bits/stl_vector.h (vector<>::_M_emplace_back_aux):
1016 Declare.
1017 (vector<>::push_back(const value_type&)): Use it.
1018 * include/bits/vector.tcc: Define.
1019 (vector<>::emplace_back(_Args&&...)): Use it.
1020 * testsuite/util/testsuite_tr1.h (CopyConsOnlyType, MoveConsOnlyType):
1021 Add.
1022 * testsuite/23_containers/vector/modifiers/push_back/49836.cc: New.
1023 * testsuite/23_containers/deque/modifiers/push_back/49836.cc:
1024 Likewise.
1025 * testsuite/23_containers/deque/modifiers/push_front/49836.cc:
1026 Likewise.
1027 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1028 Adjust dg-error line number.
1029 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1030 Likewise.
1031 * testsuite/23_containers/vector/requirements/dr438/
1032 constructor_1_neg.cc: Likewise.
1033 * testsuite/23_containers/vector/requirements/dr438/
1034 constructor_2_neg.cc: Likewise.
1035
1036 2011-07-24 Paolo Carlini <paolo.carlini@oracle.com>
1037
1038 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt,
1039 _M_bkt_for_elements, _M_need_rehash): Fix typos in the last commit.
1040
1041 2011-07-24 François Dumont <francois.cppdevs@free.fr>
1042
1043 * include/bits/hashtable_policy.h (_Prime_rehash_policy): Use
1044 __builtin_floor rather than __builtin_ceil to compute next resize
1045 value.
1046 * testsuite/23_containers/unordered_set/hash_policy/load_factor.cc:
1047 New.
1048
1049 2011-07-22 Benjamin Kosnik <bkoz@redhat.com>
1050 Daniel Krugler <daniel.kruegler@googlemail.com>
1051
1052 * include/bits/move.h (move, forward): Mark constexpr.
1053 * include/bits/stl_pair.h (pair): Mark move ctors constexpr.
1054 * testsuite/20_util/pair/make_pair/constexpr.cc: New.
1055 * testsuite/20_util/pair/cons/constexpr.cc: Add tests.
1056
1057 2011-07-22 Ian Lance Taylor <iant@google.com>
1058
1059 * fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed.
1060 * Makefile.in: Rebuild.
1061 * doc/Makefile.in: Rebuild.
1062 * include/Makefile.in: Rebuild.
1063 * libsupc++/Makefile.in: Rebuild.
1064 * po/Makefile.in: Rebuild.
1065 * python/Makefile.in: Rebuild.
1066 * src/Makefile.in: Rebuild.
1067 * testsuite/Makefile.in: Rebuild.
1068
1069 2011-07-21 Benjamin Kosnik <bkoz@redhat.com>
1070
1071 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Move...
1072 * testsuite/ext/pb_ds/regression/tree_set_rand.cc: ... here.
1073 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: Move...
1074 * testsuite/ext/pb_ds/regression/tree_set_rand_debug.cc: ... here.
1075 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Move...
1076 * testsuite/ext/pb_ds/regression/tree_map_rand.cc: ... here.
1077 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: Move...
1078 * testsuite/ext/pb_ds/regression/tree_map_rand_debug.cc: ... here.
1079
1080 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Move...
1081 * testsuite/ext/pb_ds/regression/trie_set_rand.cc: ... here.
1082 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: Move...
1083 * testsuite/ext/pb_ds/regression/trie_set_rand_debug.cc: ... here.
1084 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Move...
1085 * testsuite/ext/pb_ds/regression/trie_map_rand.cc: ... here.
1086 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: Move...
1087 * testsuite/ext/pb_ds/regression/trie_map_rand_debug.cc: ... here.
1088
1089 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Move.
1090 * testsuite/ext/pb_ds/regression/list_update_set_rand.cc: ...here.
1091 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
1092 Move...
1093 * testsuite/ext/pb_ds/regression/list_update_set_rand_debug.cc: ...here.
1094 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Move...
1095 * testsuite/ext/pb_ds/regression/list_update_map_rand.cc: ...here.
1096 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
1097 Move...
1098 * testsuite/ext/pb_ds/regression/list_update_map_rand_debug.cc: ...here.
1099
1100 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Move...
1101 * testsuite/ext/pb_ds/regression/hash_set_rand.cc: ...here.
1102 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: Move...
1103 * testsuite/ext/pb_ds/regression/hash_set_rand_debug.cc: ...here.
1104
1105 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Move...
1106 * testsuite/ext/pb_ds/regression/hash_map_rand.cc: ...here.
1107 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: Move...
1108 * testsuite/ext/pb_ds/regression/hash_map_rand_debug.cc: ...here.
1109
1110 2011-07-21 François Dumont <francois.cppdevs@free.fr>
1111
1112 * include/debug/safe_unordered_sequence.h,
1113 safe_unordered_sequence.tcc: Rename respectively in...
1114 * include/debug/safe_unordered_container.h,
1115 safe_unordered_container.tcc: ...those. _Safe_unordered_sequence
1116 rename _Safe_unordered_container.
1117 * include/debug/safe_unordered_base.h: _Safe_unordered_sequence_base
1118 rename _Safe_unordered_container_base.
1119 * include/debug/unordered_map, unordered_set: Adapt to previous
1120 modifications.
1121 * config/abi/pre/gnu.ver: Likewise.
1122 * src/debug.cc: Likewise.
1123 * include/Makefile.am: Likewise.
1124 * include/Makefile.in: Regenerate.
1125
1126 2011-07-21 Paolo Carlini <paolo.carlini@oracle.com>
1127
1128 * include/std/mutex (timed_mutex, recursive_timed_mutex): Update
1129 to use steady_clock instead of monotonic_clock.
1130 * config/abi/pre/gnu.ver: Export steady_clock::now.
1131
1132 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
1133 Daniel Krugler <daniel.kruegler@googlemail.com>
1134
1135 * include/std/array (array::at, array::operator[]): Mark constexpr.
1136 * testsuite/23_containers/array/requirements/
1137 constexpr_element_access.cc: Add.
1138
1139 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
1140 Daniel Krugler <daniel.kruegler@googlemail.com>
1141
1142 * include/std/chrono: (system_clock::is_steady): Update to N3291
1143 from is_monotonic.
1144 (time_point): Mark nonmember arithmetic operators constexpr.
1145 * src/chrono.cc: Modify for above.
1146 * src/compatibility-c++0x.cc: Same.
1147 * testsuite/20_util/time_point/nonmember/constexpr.cc: New.
1148 * testsuite/20_util/time_point/1.cc: Modify.
1149 * testsuite/20_util/system_clock/constexpr_data.cc: Modify.
1150 * testsuite/20_util/system_clock/1.cc: Modify.
1151 * testsuite/20_util/monotonic_clock/constexpr_data.cc: Move to...
1152 * testsuite/20_util/steady_clock/constexpr_data.cc: ...here.
1153 * testsuite/30_threads/condition_variable/members/2.cc: Modify.
1154 * testsuite/30_threads/condition_variable_any/members/2.cc: Modify.
1155
1156 2011-07-20 Paolo Carlini <paolo.carlini@oracle.com>
1157
1158 * include/std/system_error: Use noexcept.
1159 * src/system_error.cc: Likewise.
1160 * testsuite/19_diagnostics/error_condition/modifiers/39881.cc: Adjust.
1161 * testsuite/19_diagnostics/error_condition/cons/39881.cc: Likewise.
1162 * testsuite/19_diagnostics/error_code/modifiers/39882.cc: Likewise.
1163 * testsuite/19_diagnostics/error_code/cons/39882.cc: Likewise.
1164 * testsuite/util/testsuite_error.h: Likewise.
1165
1166 * include/std/system_error (error_code::error_code(_ErrorCodeEnum)):
1167 Use enable_if on template parameter default.
1168 (error_condition::error_condition(_ErrorConditionEnum)): Likewise.
1169
1170 2011-07-20 Ed Smith-Rowland <3dw4rd@verizon.net>
1171
1172 * include/precompiled/stdc++.h: Add scoped_allocator.
1173
1174 2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
1175
1176 * include/std/bitset (operator[]): Make constexpr.
1177 * testsuite/23_containers/bitset/operations/constexpr.cc: New.
1178
1179 2011-07-20 Paolo Carlini <paolo.carlini@oracle.com>
1180
1181 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
1182 _Safe_local_iterator(const _Iterator&, size_type, const _Sequence*)):
1183 Fix typo.
1184
1185 2011-07-19 François Dumont <francois.cppdevs@free.fr>
1186
1187 * include/debug/safe_unordered_base.h, safe_unordered_sequence.h,
1188 safe_unordered_sequence.tcc, safe_local_iterator.h,
1189 safe_local_iterator.tcc: New, support for unordered sequence safe
1190 local iterators.
1191 * include/Makefile.am: Add previous files.
1192 * include/Makefile.in: Regenerate.
1193 * include/debug/unordered_map, unordered_set: Implement
1194 _Safe_unordered_sequence and expose _Safe_local_iterator.
1195 * include/debug/safe_iterator.h, safe_iterator.tcc: Refactor
1196 _Safe_iterator::_M_get_distance static method to expose it as
1197 __get_distance function and use it in _Safe_local_iterator type.
1198 * include/debug/formatter.h: Add __msg_local_iter_compare_bad
1199 _Debug_msg_id enum entry to notify invalid comparison between local
1200 iterators from different buckets. Add _Parameter constructor from
1201 _Safe_local_iterator.
1202 * include/debug/functions.h: Add __valid_range overload for
1203 _Safe_local_iterator.
1204 * src/debug.cc: Add _Safe_unordered_sequence_base and
1205 _Safe_local_iterator_base methods implementations.
1206 * config/abi/pre/gnu.ver: Add export of some
1207 _Safe_unordered_sequence_base and _Safe_local_iterator_base methods.
1208 * testsuite/util/debug/checks.h: Add use_invalid_iterator function to
1209 simulate use of a singular iterator.
1210 * testsuite/util/debug/unordered_checks.h: New, several functions
1211 to simulate classic invalid usage of unordered sequence local
1212 iterators.
1213 * testsuite/23_containers/unordered_map/debug/
1214 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
1215 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
1216 invalid_local_iterator_compare_neg.cc: New.
1217 * testsuite/23_containers/unordered_multimap/debug/
1218 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
1219 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
1220 invalid_local_iterator_compare_neg.cc: New.
1221 * testsuite/23_containers/unordered_set/debug/
1222 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
1223 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
1224 invalid_local_iterator_compare_neg.cc: New.
1225 * testsuite/23_containers/unordered_multiset/debug/
1226 use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
1227 use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
1228 invalid_local_iterator_compare_neg.cc: New.
1229
1230 2011-07-18 Paolo Carlini <paolo.carlini@oracle.com>
1231
1232 PR libstdc++/48430
1233 * include/bits/shared_ptr.h (struct hash<shared_ptr<>>): Use
1234 __hash_base.
1235 * include/bits/unique_ptr.h (struct hash<unique_ptr<>>): Likewise.
1236
1237 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1238
1239 * crossconfig.m4 (*-netware): Remove.
1240 * configure: Regenerate.
1241
1242 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>
1243
1244 * config/locale/newlib/ctype_members.cc: New file.
1245 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale
1246 kind: newlib. Configure to use the newlib specific
1247 ctype_members.cc when with_newlib is enabled.
1248 * configure: Regenerate.
1249
1250 2011-07-15 Paolo Carlini <paolo.carlini@oracle.com>
1251 Jakub Jelinek <jakub@redhat.com>
1252
1253 PR libstdc++/49745
1254 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check separately for
1255 _POSIX_TIMEOUTS and define _GTHREADS_USE_MUTEX_TIMEDLOCK.
1256 * libsupc++/guard.cc: Include <unistd.h>.
1257 * testsuite/17_intro/headers/c++1998/49745.cc: New.
1258 * configure: Regenerate.
1259 * config.h.in: Likewise.
1260
1261 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
1262
1263 PR libstdc++/49559
1264 * include/bits/stl_algo.h (__move_merge_backward): Remove.
1265 (__move_merge_adaptive, __move_merge_adaptive_backward): New.
1266 (__merge_adaptive): Use the latter two.
1267 (__rotate_adaptive): Avoid self move-assignment.
1268 * include/bits/stl_algobase.h (move_backward): Fix comment.
1269 * testsuite/25_algorithms/stable_sort/49559.cc: New.
1270 * testsuite/25_algorithms/inplace_merge/49559.cc: Likewise.
1271 * testsuite/25_algorithms/inplace_merge/moveable.cc: Extend.
1272 * testsuite/25_algorithms/inplace_merge/moveable2.cc: Likewise.
1273 * testsuite/util/testsuite_rvalref.h (rvalstruct::operator=
1274 (rvalstruct&&)): Check for self move-assignment.
1275
1276 2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
1277
1278 * testsuite/util/testsuite_allocator.h (propagating_allocator<>::
1279 operator=(const propagating_allocator<>&)): Retun *this.
1280
1281 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1282
1283 * include/Makefile.am: Add new header.
1284 * include/Makefile.in: Regenerate.
1285 * include/std/scoped_allocator: New.
1286 * doc/xml/manual/status_cxx200x.xml: Update.
1287 * testsuite/20_util/scoped_allocator/1.cc: New.
1288 * testsuite/20_util/scoped_allocator/propagation.cc: New.
1289 * testsuite/20_util/scoped_allocator/requirements/typedefs.cc: New.
1290 * testsuite/20_util/scoped_allocator/requirements/
1291 explicit_instantiation.cc: New.
1292
1293 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1294
1295 * include/bits/stl_vector.h: Use new allocator model in C++0x mode.
1296 * include/bits/vector.tcc: Likewise.
1297 * testsuite/util/testsuite_allocator.h (propagating_allocator): Define.
1298 * testsuite/23_containers/vector/allocator/copy_assign.cc: New.
1299 * testsuite/23_containers/vector/allocator/noexcept.cc: New.
1300 * testsuite/23_containers/vector/allocator/copy.cc: New.
1301 * testsuite/23_containers/vector/allocator/swap.cc: New.
1302 * testsuite/23_containers/vector/allocator/move_assign.cc: New.
1303 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1304 Adjust dg-error line numbers.
1305 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1306 Likewise.
1307 * testsuite/23_containers/vector/requirements/dr438/
1308 constructor_1_neg.cc: Likewise.
1309 * testsuite/23_containers/vector/requirements/dr438/
1310 constructor_2_neg.cc: Likewise.
1311
1312 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1313
1314 * include/ext/alloc_traits.h (__allocator_always_compares_equal): New
1315 trait, provide partial specializations for known allocators.
1316 (__alloc_traits::construct, __alloc_traits::destroy): Overload for
1317 non-standard pointer types.
1318 (__alloc_traits::_S_always_equal): New trait for use with noexcept.
1319 (__alloc_traits::_S_nothrow_move): Likewise.
1320 (__alloc_traits::_S_nothrow_swap): Likewise.
1321
1322 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1323
1324 * include/ext/cast.h: Fix typo in include guard.
1325 * include/ext/pointer.h (_Unqualified_type): Remove redundant
1326 partial specializations for volatile types. Fix typos in comments.
1327 (pointer_traits<_Pointer_adaptor<Tp>>::pointer_to): Define.
1328
1329 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1330
1331 PR libstdc++/49668
1332 * include/std/functional (__bind_simple): Define.
1333 * include/std/future (_Task_setter): Parameterize by type of result
1334 pointer instead of state object.
1335 (_S_task_setter): Type deduction helper.
1336 (_Task_state): Use _S_task_setter and __bind_simple.
1337 (_Deferred_state, _Async_state): Store call wrapper directly not as
1338 std::function. Use _S_task_setter and __bind_simple.
1339 (_S_make_deferred_state, _S_make_async_state): Type deduction helpers.
1340 (async): Use new functions and __bind_simple.
1341 * include/std/mutex (call_once): Use __bind_simple.
1342 * include/std/thread (thread): Likewise. Remove unused headers.
1343 * src/thread.cc: Add header.
1344 * testsuite/30_threads/async/49668.cc: New.
1345 * testsuite/30_threads/call_once/49668.cc: New.
1346 * testsuite/30_threads/thread/cons/49668.cc: New.
1347 * testsuite/30_threads/thread/cons/moveable.cc: Remove unused bool.
1348
1349 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1350
1351 * configure.host (abi_baseline_subdir_switch): Describe.
1352 Provide default.
1353 (*-*-solaris2.[89], *-*-solaris2.1[0-9]): Override.
1354 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Substitute
1355 baseline_subdir_switch.
1356 * testsuite/Makefile.am (site.exp): Emit it.
1357 (baseline_subdir): Use it.
1358 * testsuite/libstdc++-abi/abi.exp: Use it.
1359 * configure: Regenerate.
1360 * Makefile.in: Regenerate.
1361 * doc/Makefile.in: Regenerate.
1362 * include/Makefile.in: Regenerate.
1363 * libsupc++/Makefile.in: Regenerate.
1364 * po/Makefile.in: Regenerate.
1365 * python/Makefile.in: Regenerate.
1366 * src/Makefile.in: Regenerate.
1367 * testsuite/Makefile.in: Regenerate.
1368
1369 2011-06-29 François Dumont <francois.cppdevs@free.fr>
1370
1371 * include/debug/set.h, unordered_map, multiset.h, forward_list,
1372 unordered_set, vector, deque, string, list, multimap.h: Remove
1373 base class default constructor calls.
1374 * include/debug/map.h: Likewise and cleanup several redefinition of
1375 base iterator typedef.
1376
1377 2011-06-29 Nathan Sidwell <nathan@codesourcery.com>
1378
1379 * libsupc++/eh_arm.c (__cxa_type_match): Construct address of
1380 thrown object here. Return succeded_with_ptr_to_base for all
1381 pointer cases.
1382
1383 2011-06-23 Jonathan Wakely <jwakely.gcc@gmail.com>
1384
1385 * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
1386 C++0x mode.
1387 * testsuite/25_algorithms/sort/35588.cc: Likewise.
1388 * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
1389
1390 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1391
1392 * testsuite/20_util/bind/socket.cc: Use variable and remove attribute.
1393
1394 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
1395
1396 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Avoid -Wall
1397 warning.
1398
1399 2011-06-22 Paolo Carlini <paolo.carlini@oracle.com>
1400
1401 * testsuite/20_util/reference_wrapper/invoke.cc: Avoid -Wall warnings.
1402 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise.
1403 * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
1404 * testsuite/20_util/allocator_traits/members/allocate_hint.cc:
1405 Likewise.
1406 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1407 * testsuite/20_util/bind/socket.cc: Likewise.
1408 * testsuite/20_util/pointer_traits/pointer_to.cc: Likewise.
1409 * testsuite/util/testsuite_random.h: Likewise.
1410
1411 2011-06-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1412
1413 * include/Makefile.am: Add alloc_traits.h headers.
1414 * include/Makefile.in: Regenerate.
1415 * include/std/memory: Include uses_allocator.h explicitly.
1416 * include/bits/allocator.h (allocator_traits): Move to ...
1417 * include/bits/alloc_traits.h: New header.
1418 * include/ext/alloc_traits.h (__alloc_traits): Extension to provide
1419 a common allocator interface for C++98 and C++0x.
1420 * include/bits/stl_construct.h: Use __alloc_traits.
1421 * include/bits/stl_uninitialized.h: Likewise.
1422
1423 2011-06-22 Daniel Krugler <daniel.kruegler@googlemail.com>
1424 Paolo Carlini <paolo.carlini@oracle.com>
1425
1426 * include/bits/move.h (__is_nothrow_swappable): Add.
1427 (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Use noexcept.
1428 * include/bits/algorithmfwd.h: Adjust.
1429 * testsuite/25_algorithms/swap/noexcept.cc: New.
1430
1431 2011-06-21 Jakub Jelinek <jakub@redhat.com>
1432
1433 * testsuite/Makefile.am (check_DEJAGNU_normal_targets): Add
1434 check-DEJAGNUnormal[4-9].
1435 (check-DEJAGNU): Split into 10 jobs for parallel testing instead of 4.
1436 * testsuite/Makefile.in: Regenerated.
1437
1438 2011-06-20 Daniel Krugler <daniel.kruegler@googlemail.com>
1439 Paolo Carlini <paolo.carlini@oracle.com>
1440
1441 * include/std/tuple (__conv_types, __one_by_one_convertible,
1442 __all_convertible): Add.
1443 (tuple): Use the latter.
1444 (tuple<_T1>): Remove.
1445 * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error
1446 line number.
1447 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1448
1449 2011-06-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1450
1451 * include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use
1452 noexcept.
1453
1454 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
1455
1456 * include/std/valarray (~valarray): Use noexcept.
1457 * include/bits/unique_ptr.h (~unique_ptr): Likewise.
1458 * testsuite/26_numerics/valarray/noexcept_move_construct.cc: New.
1459 * testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc:
1460 Likewise.
1461 * testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc:
1462 Likewise.
1463 * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc:
1464 Likewise.
1465
1466 2011-06-14 Paolo Carlini <paolo.carlini@oracle.com>
1467
1468 * include/std/functional: Use noexcept.
1469 * include/bits/stl_tempbuf.h: Likewise.
1470
1471 2011-06-12 François Dumont <francois.cppdevs@free.fr>
1472 Paolo Carlini <paolo.carlini@oracle.com>
1473
1474 * include/bits/allocator.h (__shrink_to_fit): Rename to
1475 __shrink_to_fit_aux, fix.
1476 * include/bits/stl_vector.h (_M_shrink_to_fit): Declare.
1477 (shrink_to_fit): Use the latter.
1478 * include/debug/vector (shrink_to_fit): Likewise.
1479 * include/bits/vector.tcc (_M_shrink_to_fit): Define.
1480 * include/bits/stl_deque.h (_M_shrink_to_fit): Declare.
1481 (shrink_to_fit): Use the latter.
1482 * include/debug/deque (shrink_to_fit): Likewise.
1483 * include/bits/deque.tcc (_M_shrink_to_fit): Define.
1484 * include/bits/vector.tcc (vector<bool>::_M_reallocate): Add.
1485 * include/bits/stl_bvector.h (_M_shrink_to_fit): Declare.
1486 (shrink_to_fit): Use the latter.
1487 (reserve): Use _M_reallocate, move inline.
1488 (_Bvector_base<>::_S_nword): Add, use it throughout.
1489 * include/debug/string (shrink_to_fit): Redo.
1490 * include/ext/vstring.h (shrink_to_fit): Optimize.
1491 * include/bits/basic_string.h (shrink_to_fit): Likewise.
1492 * testsuite/21_strings/debug/shrink_to_fit.cc: New.
1493 * testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise.
1494 * testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc:
1495 Likewise.
1496 * testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc:
1497 Likewise.
1498 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
1499
1500 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1501
1502 * include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x
1503 mode by overloading to take allocator's pointer type.
1504 * testsuite/23_containers/vector/ext_pointer/types/2.cc: New.
1505 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
1506 2.cc: New.
1507
1508 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1509
1510 * testsuite/20_util/allocator_traits/requirements/
1511 explicit_instantiation.cc: Add another instantiation.
1512
1513 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1514
1515 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: Check
1516 for allocator_type and value_type.
1517
1518 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1519
1520 * testsuite/30_threads/packaged_task/uses_allocator.cc: New.
1521 * testsuite/30_threads/promise/uses_allocator.cc: Likewise.
1522
1523 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com>
1524
1525 * include/ext/throw_allocator.h: Use noexcept.
1526 * include/ext/pool_allocator.h: Likewise.
1527 * include/ext/bitmap_allocator.h: Likewise.
1528 * include/ext/new_allocator.h: Likewise.
1529 * include/ext/malloc_allocator.h: Likewise.
1530 * include/ext/array_allocator.h: Likewise.
1531 * include/ext/mt_allocator.h: Likewise.
1532 * include/ext/extptr_allocator.h: Likewise.
1533 * testsuite/util/testsuite_allocator.h: Likewise; do not include
1534 <cassert> directly, include <testsuite_hooks.h> instead.
1535
1536 2011-06-10 Benjamin Kosnik <bkoz@redhat.com>
1537
1538 * include/ext/pb_ds/*: Doxygen markup redo.
1539 * include/Makefile.am: Fold in constructors_destructor_fn_imps.hpp.
1540 * include/Makefile.in: Regenerate.
1541
1542 2011-06-10 Jason Merrill <jason@redhat.com>
1543
1544 * testsuite/20_util/bind/ref_neg.cc: Remove wrong test lines.
1545
1546 * testsuite/20_util/bind/ref_neg.cc: Remove dg-excess-errors,
1547 fix dg-error markup.
1548
1549 2011-06-09 Jason Merrill <jason@redhat.com>
1550
1551 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust.
1552
1553 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
1554 * testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
1555 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
1556 * testsuite/20_util/forward/1_neg.cc: Likewise.
1557 * testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
1558 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1559 * testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
1560 * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
1561 * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
1562 Likewise.
1563 * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
1564 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
1565 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
1566 Likewise.
1567 * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
1568 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
1569 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
1570 Likewise.
1571 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
1572 auto_ptr_rvalue_neg.cc: Likewise.
1573 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
1574 Likewise.
1575 * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
1576 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1577 Likewise.
1578 * testsuite/23_containers/deque/requirements/dr438/
1579 constructor_1_neg.cc: Likewise.
1580 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1581 Likewise.
1582 * testsuite/23_containers/forward_list/requirements/dr438/
1583 assign_neg.cc: Likewise.
1584 * testsuite/23_containers/forward_list/requirements/dr438/
1585 constructor_1_neg.cc: Likewise.
1586 * testsuite/23_containers/forward_list/requirements/dr438/
1587 constructor_2_neg.cc: Likewise.
1588 * testsuite/23_containers/forward_list/requirements/dr438/
1589 insert_neg.cc: Likewise.
1590 * testsuite/23_containers/list/requirements/dr438/
1591 assign_neg.cc: Likewise.
1592 * testsuite/23_containers/list/requirements/dr438/
1593 constructor_1_neg.cc: Likewise.
1594 * testsuite/23_containers/list/requirements/dr438/
1595 constructor_2_neg.cc: Likewise.
1596 * testsuite/23_containers/list/requirements/dr438/
1597 insert_neg.cc: Likewise.
1598 * testsuite/23_containers/vector/requirements/dr438/
1599 assign_neg.cc: Likewise.
1600 * testsuite/23_containers/vector/requirements/dr438/
1601 constructor_1_neg.cc: Likewise.
1602 * testsuite/23_containers/vector/requirements/dr438/
1603 constructor_2_neg.cc: Likewise.
1604 * testsuite/23_containers/vector/requirements/dr438/
1605 insert_neg.cc: Likewise.
1606 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
1607 * testsuite/29_atomics/atomic_integral/operators/
1608 bitwise_neg.cc: Likewise.
1609 * testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
1610 * testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
1611 * testsuite/decimal/operator_neg.cc: Likewise.
1612
1613 2011-06-09 Simon Baldwin <simonb@google.com>
1614
1615 * scripts/extract_symvers.in: Handle processor/OS specific or
1616 unknown symbol binding strings from readelf.
1617
1618 2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
1619
1620 * include/std/type_traits (__is_copy_assignable_impl,
1621 __is_nt_copy_assignable_impl): Fix typo.
1622
1623 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
1624
1625 * include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
1626 instead of <limits>.
1627 * include/bits/allocator.h: Likewise.
1628
1629 * include/std/chrono (duration_values<>::min): Call lowest, not min.
1630
1631 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
1632
1633 * include/bits/allocator.h (__shrink_to_fit): Simplify.
1634 * include/bits/stl_vector.h (vector<>::shrink_to_fit): Adjust.
1635 * include/bits/stl_deque.h: Likewise.
1636 * include/bits/stl_bvector.h: Likewise.
1637
1638 2011-06-07 Jason Merrill <jason@redhat.com>
1639
1640 * testsuite/lib/prune.exp: s/required/instantiated/.
1641 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1642 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
1643 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
1644 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
1645 * testsuite/20_util/forward/1_neg.cc: Likewise.
1646 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
1647 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1648 Likewise.
1649 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1650 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1651 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
1652 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
1653 * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
1654 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
1655 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
1656 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
1657 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
1658 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
1659 shared_ptr_neg.cc: Likewise.
1660
1661 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
1662
1663 * include/bits/move.h (struct __move_if_noexcept_cond): Add.
1664 (move_if_noexcept): Use the latter.
1665 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator,
1666 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add.
1667 * include/bits/stl_uninitialized.h
1668 (__uninitialized_move_if_noexcept_a): Add.
1669 * include/bits/vector.tcc (vector<>::reserve): Use
1670 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR.
1671 (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append,
1672 _M_range_insert): Use __uninitialized_move_if_noexcept_a.
1673 * testsuite/util/testsuite_rvalref.h (throwing_move_constructor):
1674 Add.
1675 (copycounter::copycounter(copycounter&&)): Use noexcept.
1676 * testsuite/23_containers/vector/modifiers/moveable2.cc: New.
1677 * testsuite/23_containers/vector/capacity/resize/moveable2.cc:
1678 Likewise.
1679 * testsuite/23_containers/vector/capacity/reserve/moveable2.cc:
1680 Likewise.
1681
1682 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
1683
1684 PR libstdc++/49293
1685 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
1686 for glibc 2.14.
1687 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
1688
1689 2011-06-06 Paolo Carlini <paolo.carlini@oracle.com>
1690
1691 * include/bits/move.h (move_if_noexcept): Use __and_ and __not_.
1692
1693 2011-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1694
1695 * include/bits/ptr_traits.h (pointer_traits): Fix typos.
1696 * include/ext/pointer.h (pointer_traits): Add partial specialization
1697 for _Pointer_adapter.
1698
1699 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1700
1701 * testsuite/util/testsuite_allocator.h (tracker_allocator::construct):
1702 Update to C++0x definition using type to construct as template
1703 parameter.
1704 (tracker_allocator::destroy): Likewise for type to destroy.
1705 (uneq_allocator::construct, uneq_allocator::destroy): Likewise.
1706
1707 2011-06-01 Paolo Carlini <paolo.carlini@oracle.com>
1708
1709 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
1710 Use std::move on the allocator, use noexcept.
1711 (_Hashtable<>::~_Hashtable): Use noexcept.
1712 * include/bits/stl_list.h: Likewise.
1713 * include/bits/forward_list.h: Likewise.
1714 * include/bits/stl_vector.h: Likewise.
1715 * include/bits/stl_bvector.h: Likewise.
1716 * include/bits/stl_map.h (map<>::map(map&&)): Use noexcept.
1717 * include/bits/stl_set.h: Likewise.
1718 * include/bits/stl_multimap.h: Likewise.
1719 * include/bits/stl_multiset.h: Likewise.
1720 * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
1721 std::move on the allocator.
1722 (_Rb_tree<>::~_Rb_tree): Use noexcept.
1723 * include/bits/stl_deque.h: Likewise.
1724 * include/bits/basic_string.h (basic_string<>::~basic_string): Use
1725 noexcept.
1726 * include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
1727 * include/debug/set.h: Adjust.
1728 * include/debug/unordered_map: Likewise.
1729 * include/debug/multiset.h: Likewise.
1730 * include/debug/forward_list: Likewise.
1731 * include/debug/vector: Likewise.
1732 * include/debug/unordered_set: Likewise.
1733 * include/debug/deque: Likewise.
1734 * include/debug/map.h: Likewise.
1735 * include/debug/string: Likewise.
1736 * include/debug/list: Likewise.
1737 * include/debug/multimap.h: Likewise.
1738 * include/profile/set.h: Likewise.
1739 * include/profile/unordered_map: Likewise.
1740 * include/profile/multiset.h: Likewise.
1741 * include/profile/forward_list: Likewise.
1742 * include/profile/unordered_set: Likewise.
1743 * include/profile/vector: Likewise.
1744 * include/profile/deque: Likewise.
1745 * include/profile/map.h: Likewise.
1746 * include/profile/list: Likewise.
1747 * include/profile/multimap.h: Likewise.
1748 * testsuite/21_strings/basic_string/cons/wchar_t/
1749 noexcept_move_construct.cc: New.
1750 * testsuite/21_strings/basic_string/cons/char/
1751 noexcept_move_construct.cc: Likewise.
1752 * testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
1753 * testsuite/23_containers/unordered_map/cons/
1754 noexcept_move_construct.cc: Likewise.
1755 * testsuite/23_containers/multimap/cons/
1756 noexcept_move_construct.cc: Likewise.
1757 * testsuite/23_containers/set/cons/
1758 noexcept_move_construct.cc: Likewise.
1759 * testsuite/23_containers/unordered_multimap/cons/
1760 noexcept_move_construct.cc: Likewise.
1761 * testsuite/23_containers/forward_list/cons/
1762 noexcept_move_construct.cc: Likewise.
1763 * testsuite/23_containers/unordered_set/cons/
1764 noexcept_move_construct.cc: Likewise.
1765 * testsuite/23_containers/vector/bool/cons/
1766 noexcept_move_construct.cc: Likewise.
1767 * testsuite/23_containers/vector/cons/
1768 noexcept_move_construct.cc: Likewise.
1769 * testsuite/23_containers/multiset/cons/
1770 noexcept_move_construct.cc: Likewise.
1771 * testsuite/23_containers/list/cons/
1772 noexcept_move_construct.cc: Likewise.
1773 * testsuite/23_containers/unordered_multiset/cons/
1774 noexcept_move_construct.cc: Likewise.
1775 * testsuite/23_containers/map/cons/noexcept_move_construct.cc
1776 * testsuite/23_containers/forward_list/requirements/dr438/
1777 assign_neg.cc: Adjust dg-error line numbers.
1778 * testsuite/23_containers/forward_list/requirements/dr438/
1779 insert_neg.cc: Likewise.
1780 * testsuite/23_containers/forward_list/requirements/dr438/
1781 constructor_1_neg.cc: Likewise.
1782 * testsuite/23_containers/forward_list/requirements/dr438/
1783 constructor_2_neg.cc: Likewise.
1784 * testsuite/23_containers/vector/requirements/dr438/
1785 assign_neg.cc: Likewise.
1786 * testsuite/23_containers/vector/requirements/dr438/
1787 insert_neg.cc: Likewise.
1788 * testsuite/23_containers/vector/requirements/dr438/
1789 constructor_1_neg.cc: Likewise.
1790 * testsuite/23_containers/vector/requirements/dr438/
1791 constructor_2_neg.cc: Likewise.
1792 * testsuite/23_containers/deque/requirements/dr438/
1793 assign_neg.cc: Likewise.
1794 * testsuite/23_containers/deque/requirements/dr438/
1795 insert_neg.cc: Likewise.
1796 * testsuite/23_containers/deque/requirements/dr438/
1797 constructor_1_neg.cc: Likewise.
1798 * testsuite/23_containers/deque/requirements/dr438/
1799 constructor_2_neg.cc: Likewise.
1800 * testsuite/23_containers/list/requirements/dr438/
1801 assign_neg.cc: Likewise.
1802 * testsuite/23_containers/list/requirements/dr438/
1803 insert_neg.cc: Likewise.
1804 * testsuite/23_containers/list/requirements/dr438/
1805 constructor_1_neg.cc: Likewise.
1806 * testsuite/23_containers/list/requirements/dr438/
1807 constructor_2_neg.cc: Likewise.
1808
1809 * include/bits/move.h (swap): Use __and_ in the noexcept.
1810 * include/bits/algorithmfwd.h: Adjust.
1811
1812 2011-05-31 Paolo Carlini <paolo.carlini@oracle.com>
1813
1814 * include/bits/basic_string.h: Use noexcept per the FDIS (minus
1815 compare(const string&), which uses char_traits::compare, which
1816 isn't noexcept; also no noexcept in the move assignment operator
1817 and move assign, see c++std-lib-30855).
1818 * include/bits/basic_string.tcc: Likewise.
1819 * include/ext/vstring.h: Likewise.
1820 * include/ext/vstring.tcc: Likewise.
1821 * include/debug/string: Likewise.
1822
1823 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
1824
1825 * doc/xml/manual/status_cxx200x.xml: Update.
1826 * doc/html/*: Regenerate.
1827
1828 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
1829
1830 * include/std/type_traits (__or_, __and_): Add trivial definitions
1831 for a single element.
1832 * include/bits/stl_pair.h: Use __and_ in noexcept specs and
1833 constraints.
1834 (pair<>::pair(pair&&)): Define.
1835 (pair<>::pair(const pair<>&)): Constrain with is_convertible.
1836 (pair<>::pair(pair<>&&)): Likewise, remove noexcept.
1837 * include/std/tuple: Use __and_ in noexcept specs and constraints.
1838 (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&,
1839 _Tuple_impl&&)): Remove noexcept.
1840 (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&),
1841 tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&),
1842 tuple(pair<_U1, _U2>&&)): Constrain with is_convertible.
1843 * testsuite/20_util/tuple/moveable2.cc: Use = delete.
1844 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1845 Adjust dg-error line numbers.
1846 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1847 Likewise.
1848 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1849 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1850 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1851
1852 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
1853
1854 * include/std/tuple: Restore is_convertible constraint.
1855 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
1856
1857 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
1858
1859 PR libstdc++/49236
1860 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1861 line number.
1862
1863 2011-05-30 Jonathan Wakely <jwakely.gcc@gmail.com>
1864
1865 * include/std/tuple: Implement uses-allocator construction.
1866 * include/bits/allocator.h (uses_allocator): Move to ...
1867 * include/bits/uses_allocator.h: New file.
1868 * include/Makefile.am: Add new header.
1869 * include/Makefile.in: Regenerate.
1870 * testsuite/20_util/uses_allocator/cons_neg.cc: New.
1871 * testsuite/20_util/uses_allocator/construction.cc: New.
1872 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
1873 * testsuite/20_util/tuple/cons/allocators.cc: New.
1874
1875 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1876
1877 * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
1878
1879 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1880
1881 * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
1882 GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
1883 * configure.ac: Use them. Increase minor version.
1884 * configure: Regenerate.
1885 * config.h.in: Regenerate.
1886 * include/std/thread (thread::hardware_concurrency): Remove inline
1887 definition.
1888 * src/thread.cc (thread::hardware_concurrency): Define.
1889 * config/abi/pre/gnu.ver: Export new symbol @3.4.17
1890 * testsuite/util/testsuite_abi.cc: Add new version.
1891 * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
1892 * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
1893 * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
1894 dg-require-nprocs and verify hardware_concurrency returns non-zero.
1895
1896 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1897
1898 * testsuite/20_util/pointer_traits/pointer_to.cc: New.
1899
1900 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1901
1902 * include/Makefile.am: Add new ptr_traits.h header.
1903 * include/Makefile.in: Regenerate.
1904 * include/bits/ptr_traits.h (pointer_traits): New.
1905 * include/bits/allocator.h (allocator_traits): Add.
1906 * include/ext/array_allocator.h (construct, destroy): Update C++0x
1907 versions.
1908 * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
1909 * include/ext/extptr_allocator.h (construct, destroy): Likewise.
1910 * include/ext/malloc_allocator.h (construct, destroy): Likewise.
1911 * include/ext/mt_allocator.h (construct, destroy): Likewise.
1912 * include/ext/new_allocator.h (construct, destroy): Likewise.
1913 * include/ext/pool_allocator.h (construct, destroy): Likewise.
1914 * include/ext/throw_allocator.h (construct, destroy): Likewise.
1915 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
1916 * testsuite/20_util/allocator_traits/requirements/
1917 explicit_instantiation.cc: New.
1918 * testsuite/20_util/allocator_traits/members/max_size.cc: New.
1919 * testsuite/20_util/allocator_traits/members/select.cc: New.
1920 * testsuite/20_util/allocator_traits/members/construct.cc: New.
1921 * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
1922 * testsuite/20_util/allocator_traits/members/destroy.cc: New.
1923 * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
1924 * testsuite/20_util/pointer_traits/requirements/
1925 explicit_instantiation.cc: New.
1926
1927 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1928
1929 * include/std/future (launch): Update enumerators and define
1930 operators required for bitmask type. Remove trailing whitespace.
1931 * src/future.cc: Remove trailing whitespace.
1932 * testsuite/30_threads/async/any.cc: Adjust.
1933 * testsuite/30_threads/async/sync.cc: Adjust.
1934 * testsuite/30_threads/async/launch.cc: New.
1935
1936 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1937
1938 * include/std/future: Use noexcept.
1939 * src/future.cc: Likewise.
1940
1941 2011-05-27 Jonathan Wakely <jwakely.gcc@gmail.com>
1942
1943 * include/std/thread (this_thread::sleep_until): Move after sleep_for.
1944
1945 2011-05-27 Paolo Carlini <paolo.carlini@oracle.com>
1946
1947 PR libstdc++/49187
1948 * include/parallel/losertree.h: Add missing using declarations
1949 of _Base::_M_comp.
1950 * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
1951 * include/parallel/multiway_merge.h: Include <parallel/
1952 multiseq_selection.h>, forward declare __merge_advance.
1953 * include/parallel/multiseq_selection.h: Don't include <parallel/
1954 sort.h> here.
1955 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
1956 qualification of upper_bound.
1957
1958 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
1959 Use dg-require-debug-mode.
1960 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
1961 Likewise.
1962 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
1963 Likewise.
1964 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
1965 Likewise.
1966 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
1967 Likewise.
1968 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
1969 Likewise.
1970 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
1971 Likewise.
1972 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
1973 Likewise.
1974 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
1975 Likewise.
1976
1977 * include/parallel/algo.h: Minor uglification fixes.
1978
1979 2011-05-26 Paolo Carlini <paolo.carlini@oracle.com>
1980
1981 * src/list.cc: Use noexcept per the FDIS.
1982 * src/compatibility-list-2.cc: Likewise.
1983 * include/debug/set.h: Likewise.
1984 * include/debug/unordered_map: Likewise.
1985 * include/debug/multiset.h: Likewise.
1986 * include/debug/forward_list: Likewise.
1987 * include/debug/unordered_set: Likewise.
1988 * include/debug/vector: Likewise.
1989 * include/debug/map.h: Likewise.
1990 * include/debug/deque: Likewise.
1991 * include/debug/list: Likewise.
1992 * include/debug/multimap.h: Likewise.
1993 * include/profile/set.h: Likewise.
1994 * include/profile/unordered_map: Likewise.
1995 * include/profile/multiset.h: Likewise.
1996 * include/profile/forward_list: Likewise.
1997 * include/profile/vector: Likewise.
1998 * include/profile/unordered_set: Likewise.
1999 * include/profile/map.h: Likewise.
2000 * include/profile/deque: Likewise.
2001 * include/profile/list: Likewise.
2002 * include/profile/multimap.h: Likewise.
2003 * include/bits/hashtable.h: Likewise.
2004 * include/bits/stl_list.h: Likewise.
2005 * include/bits/stl_map.h: Likewise.
2006 * include/bits/hashtable_policy.h: Likewise.
2007 * include/bits/stl_set.h: Likewise.
2008 * include/bits/forward_list.h: Likewise.
2009 * include/bits/stl_multimap.h: Likewise.
2010 * include/bits/stl_vector.h: Likewise.
2011 * include/bits/stl_deque.h: Likewise.
2012 * include/bits/stl_multiset.h: Likewise.
2013 * include/bits/stl_bvector.h: Likewise.
2014 * include/bits/stl_tree.h: Likewise.
2015
2016 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2017
2018 * include/bits/stl_queue.h: Use noexcept per the FDIS.
2019 * include/bits/stl_stack.h: Likewise.
2020
2021 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2022
2023 * config/abi/pre/gnu.ver: Correct last change, export instead
2024 at the existing @3.4.16.
2025 * configure.ac: Revert last change.
2026 * testsuite/util/testsuite_abi.cc: Likewise.
2027 * configure: Regenerate.
2028
2029 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
2030
2031 * doc/xml/manual/documentation_hacking.xml: Minor corrections.
2032
2033 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
2034
2035 * include/std/mutex: Add doxygen comments.
2036
2037 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2038
2039 * config/abi/pre/gnu.ver: Export recently added basic_streambuf
2040 and basic_stringbuf symbols @3.4.17.
2041 * configure.ac: Update.
2042 * testsuite/util/testsuite_abi.cc: Likewise.
2043 * configure: Regenerate.
2044
2045 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
2046
2047 * libsupc++/guard.cc: Fix comments.
2048
2049 2011-05-25 Ian Lance Taylor <iant@google.com>
2050
2051 PR libstdc++/49060
2052 * include/backward/hashtable.h (hashtable::erase): Don't crash if
2053 erasing first and another element with a reference to the other
2054 element.
2055 * testsuite/backward/hash_set/49060.cc: New.
2056
2057 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2058
2059 * include/bits/random.h (random_device::min, max): Specify constexpr.
2060
2061 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
2062
2063 * include/std/thread: Use noexcept throughout per the FDIS.
2064 * include/std/mutex: Likewise.
2065
2066 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2067
2068 * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
2069
2070 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2071
2072 PR libstdc++/49151
2073 * include/std/chrono (operator+, operator-, operator*, operator/,
2074 operator&): Implement LWG 2020 [WP]; specify constexpr.
2075 * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
2076
2077 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2078
2079 PR libstdc++/49141
2080 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
2081 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
2082 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
2083
2084 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2085
2086 * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
2087 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
2088 line number.
2089
2090 2011-05-23 Benjamin Kosnik <bkoz@redhat.com>
2091
2092 PR libstdc++/37144
2093 PR libstdc++/28457
2094 Interface changes for ext/pb_ds.
2095 PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
2096 * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
2097 (basic_hash_table, basic_branch, list_update): Derive from
2098 container_base_dispatch.
2099 * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
2100 (move_to_front_lu_policy): To lu_move_to_front_policy.
2101 (counter_lu_policy): To lu_counter_policy.
2102 * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
2103 * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
2104 template parameters, declare here.
2105 (null_mapped_type) Remove.
2106 (null_type): Just use this for template tricks everywhere.
2107 * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
2108 Remove.
2109 * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
2110 (string_trie_e_access_traits): To trie_string_access_traits.
2111 * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
2112
2113 File changes.
2114 * include/Makefile.am (pb_headers): Removed and changed file names.
2115 * include/Makefile.in: Regenerated.
2116 * include/ext/pb_ds/detail/basic_types.hpp: Remove.
2117 * include/ext/pb_ds/detail/bin_search_tree_/
2118 cond_dtor_entry_dealtor.hpp: Remove.
2119 * include/ext/pb_ds/detail/bin_search_tree_/
2120 cond_key_dtor_entry_dealtor.hpp: Remove.
2121 * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
2122 * include/ext/pb_ds/detail/binary_heap_/
2123 point_const_iterator.hpp: ..here.
2124 * include/ext/pb_ds/detail/basic_tree_policy: Move to...
2125 * include/ext/pb_ds/detail/branch_policy: This.
2126 * include/ext/pb_ds/detail/branch_policy/
2127 basic_tree_policy_base.hpp: Move...
2128 * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
2129 * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
2130 * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
2131 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2132 null_metadata.hpp: Remove.
2133 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2134 const_point_iterator.hpp: Move...
2135 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2136 point_const_iterator.hpp: ...here.
2137 * include/ext/pb_ds/detail/list_update_policy/
2138 counter_lu_metadata.hpp: Move..
2139 * include/ext/pb_ds/detail/list_update_policy/
2140 lu_counter_metadata.hpp: ...here.
2141 * include/ext/pb_ds/detail/list_update_policy/
2142 counter_lu_policy_imp.hpp: Remove.
2143 * include/ext/pb_ds/detail/list_update_policy/
2144 mtf_lu_policy_imp.hpp: Remove.
2145 * include/ext/pb_ds/detail/trie_policy/
2146 string_trie_e_access_traits_imp.hpp: Move...
2147 * include/ext/pb_ds/detail/trie_policy/
2148 sample_trie_access_traits.hpp: ...here.
2149 * include/ext/pb_ds/detail/trie_policy/
2150 sample_trie_e_access_traits.hpp: Move...
2151 * include/ext/pb_ds/detail/trie_policy/
2152 trie_string_access_traits_imp.hpp: ...here.
2153 * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
2154 * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
2155 * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
2156 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
2157 types found in the following files into pat_trie_base.
2158 * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
2159 * include/ext/pb_ds/detail/pat_trie_/
2160 cond_dtor_entry_dealtor.hpp: Folded.
2161 * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
2162 * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
2163 * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
2164 * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
2165 * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
2166 * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
2167 * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
2168 * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
2169 * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
2170 * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
2171 * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
2172 * include/ext/pb_ds/detail/unordered_iterator/
2173 const_point_iterator.hpp: Move...
2174 * include/ext/pb_ds/detail/unordered_iterator/
2175 point_const_iterator.hpp: ...here.
2176
2177
2178 Adjust for above changes.
2179 * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
2180 * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
2181 * include/ext/pb_ds/detail/resize_policy/
2182 sample_resize_trigger.hpp: Same.
2183 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
2184 * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
2185 * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
2186 * include/ext/pb_ds/detail/binomial_heap_base_/
2187 binomial_heap_base_.hpp: Same.
2188 * include/ext/pb_ds/detail/binomial_heap_base_/
2189 constructors_destructor_fn_imps.hpp: Same.
2190 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
2191 * include/ext/pb_ds/detail/binomial_heap_base_/
2192 split_join_fn_imps.hpp: Same.
2193 * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
2194 for template parameter ordering change.
2195 * include/ext/pb_ds/detail/cc_hash_table_map_/
2196 erase_store_hash_fn_imps.hpp: Same.
2197 * include/ext/pb_ds/detail/cc_hash_table_map_/
2198 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
2199 * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
2200 * include/ext/pb_ds/detail/cc_hash_table_map_/
2201 insert_no_store_hash_fn_imps.hpp: Same.
2202 * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
2203 * include/ext/pb_ds/detail/cc_hash_table_map_/
2204 policy_access_fn_imps.hpp: Same.
2205 * include/ext/pb_ds/detail/cc_hash_table_map_/
2206 resize_store_hash_fn_imps.hpp: Same.
2207 * include/ext/pb_ds/detail/cc_hash_table_map_/
2208 constructor_destructor_store_hash_fn_imps.hpp: Same.
2209 * include/ext/pb_ds/detail/cc_hash_table_map_/
2210 insert_store_hash_fn_imps.hpp: Same.
2211 * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
2212 * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
2213 * include/ext/pb_ds/detail/cc_hash_table_map_/
2214 entry_list_fn_imps.hpp: Same.
2215 * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
2216 * include/ext/pb_ds/detail/cc_hash_table_map_/
2217 find_store_hash_fn_imps.hpp: Same.
2218 * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
2219 * include/ext/pb_ds/detail/cc_hash_table_map_/
2220 debug_no_store_hash_fn_imps.hpp: Same.
2221 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
2222 * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
2223 * include/ext/pb_ds/detail/cc_hash_table_map_/
2224 constructor_destructor_fn_imps.hpp: Same.
2225 * include/ext/pb_ds/detail/cc_hash_table_map_/
2226 cond_key_dtor_entry_dealtor.hpp: Same.
2227 * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
2228 * include/ext/pb_ds/detail/cc_hash_table_map_/
2229 debug_store_hash_fn_imps.hpp: Same.
2230 * include/ext/pb_ds/detail/cc_hash_table_map_/
2231 erase_no_store_hash_fn_imps.hpp: Same.
2232 * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
2233 * include/ext/pb_ds/detail/cc_hash_table_map_/
2234 iterators_fn_imps.hpp: Same.
2235 * include/ext/pb_ds/detail/cc_hash_table_map_/
2236 resize_no_store_hash_fn_imps.hpp: Same.
2237 * include/ext/pb_ds/detail/cc_hash_table_map_/
2238 standard_policies.hpp: Same.
2239 * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
2240 * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
2241 * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
2242 * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
2243 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
2244 * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
2245 * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
2246 * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
2247 * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
2248 * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
2249 * include/ext/pb_ds/detail/pat_trie_/
2250 constructors_destructor_fn_imps.hpp: Same.
2251 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
2252 * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
2253 * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
2254 * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
2255 * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
2256 * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
2257 * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
2258 * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
2259 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
2260 * include/ext/pb_ds/detail/bin_search_tree_/
2261 policy_access_fn_imps.hpp: Same.
2262 * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
2263 * include/ext/pb_ds/detail/bin_search_tree_/
2264 constructors_destructor_fn_imps.hpp: Same.
2265 * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
2266 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
2267 * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
2268 * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
2269 * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
2270 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
2271 * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
2272 * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
2273 * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
2274 * include/ext/pb_ds/detail/bin_search_tree_/
2275 split_join_fn_imps.hpp: Same.
2276 * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
2277 * include/ext/pb_ds/detail/list_update_policy/
2278 sample_update_policy.hpp: Same.
2279 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2280 trace_fn_imps.hpp: Same.
2281 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2282 erase_fn_imps.hpp: Same.
2283 * include/ext/pb_ds/detail/gp_hash_table_map_/
2284 erase_store_hash_fn_imps.hpp: Same.
2285 * include/ext/pb_ds/detail/gp_hash_table_map_/
2286 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
2287 * include/ext/pb_ds/detail/gp_hash_table_map_/
2288 insert_no_store_hash_fn_imps.hpp: Same.
2289 * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
2290 * include/ext/pb_ds/detail/gp_hash_table_map_/
2291 policy_access_fn_imps.hpp: Same.
2292 * include/ext/pb_ds/detail/gp_hash_table_map_/
2293 resize_store_hash_fn_imps.hpp: Same.
2294 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
2295 * include/ext/pb_ds/detail/gp_hash_table_map_/
2296 constructor_destructor_store_hash_fn_imps.hpp: Same.
2297 * include/ext/pb_ds/detail/gp_hash_table_map_/
2298 insert_store_hash_fn_imps.hpp: Same.
2299 * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
2300 * include/ext/pb_ds/detail/gp_hash_table_map_/
2301 iterator_fn_imps.hpp: Same.
2302 * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
2303 * include/ext/pb_ds/detail/gp_hash_table_map_/
2304 find_no_store_hash_fn_imps.hpp: Same.
2305 * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
2306 * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
2307 * include/ext/pb_ds/detail/gp_hash_table_map_/
2308 find_store_hash_fn_imps.hpp: Same.
2309 * include/ext/pb_ds/detail/gp_hash_table_map_/
2310 debug_no_store_hash_fn_imps.hpp: Same.
2311 * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
2312 * include/ext/pb_ds/detail/gp_hash_table_map_/
2313 constructor_destructor_fn_imps.hpp: Same.
2314 * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
2315 * include/ext/pb_ds/detail/gp_hash_table_map_/
2316 debug_store_hash_fn_imps.hpp: Same.
2317 * include/ext/pb_ds/detail/gp_hash_table_map_/
2318 erase_no_store_hash_fn_imps.hpp: Same.
2319 * include/ext/pb_ds/detail/gp_hash_table_map_/
2320 resize_no_store_hash_fn_imps.hpp: Same.
2321 * include/ext/pb_ds/detail/gp_hash_table_map_/
2322 standard_policies.hpp: Same.
2323 * include/ext/pb_ds/detail/standard_policies.hpp: Same.
2324 * include/ext/pb_ds/detail/types_traits.hpp: Same.
2325 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
2326 * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
2327 * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
2328 * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
2329 * include/ext/pb_ds/detail/binary_heap_/
2330 constructors_destructor_fn_imps.hpp: Same.
2331 * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
2332 * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
2333 * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
2334 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
2335 * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
2336 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
2337 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
2338 * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
2339 * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
2340 * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
2341 * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
2342 * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
2343 * include/ext/pb_ds/detail/tree_policy/
2344 sample_tree_node_update.hpp: Same.
2345 * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
2346 * include/ext/pb_ds/detail/trie_policy/
2347 sample_trie_node_update.hpp: Same.
2348 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
2349 * include/ext/pb_ds/detail/trie_policy/
2350 prefix_search_node_update_imp.hpp: Same.
2351 * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
2352 * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
2353 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
2354 Adjust for template parameter change, fold into
2355 container_base_dispatch.
2356 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
2357 * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
2358 * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
2359 * include/ext/pb_ds/detail/pairing_heap_/
2360 constructors_destructor_fn_imps.hpp: Same.
2361 * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
2362 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
2363 * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
2364 * include/ext/pb_ds/detail/binomial_heap_/
2365 constructors_destructor_fn_imps.hpp: Same.
2366 * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
2367 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
2368 * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
2369 * include/ext/pb_ds/detail/type_utils.hpp: Same.
2370 * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
2371 * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
2372 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2373 policy_access_fn_imps.hpp: Same.
2374 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2375 left_child_next_sibling_heap_.hpp: Same.
2376 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2377 const_iterator.hpp: Same.
2378 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2379 insert_fn_imps.hpp: Same.
2380 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2381 constructors_destructor_fn_imps.hpp: Same.
2382 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2383 debug_fn_imps.hpp: Same.
2384 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2385 node.hpp: Same.
2386 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2387 info_fn_imps.hpp: Same.
2388 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2389 iterators_fn_imps.hpp: Same.
2390 * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
2391 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
2392 * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
2393 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
2394 * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
2395 * include/ext/pb_ds/detail/thin_heap_/
2396 constructors_destructor_fn_imps.hpp: Same.
2397 * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
2398 * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
2399 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
2400 * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
2401 * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
2402 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
2403 * include/ext/pb_ds/detail/ov_tree_map_/
2404 constructors_destructor_fn_imps.hpp: Same.
2405 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2406 * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
2407 * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
2408 * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
2409 * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
2410 * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
2411 * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
2412 * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
2413 * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
2414 * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
2415 * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
2416 * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
2417 * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
2418 * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
2419 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
2420 * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
2421 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
2422 * include/ext/pb_ds/detail/splay_tree_/
2423 constructors_destructor_fn_imps.hpp: Same.
2424 * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
2425 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
2426 * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
2427 * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
2428 * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
2429 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
2430 * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
2431 * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
2432 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
2433 * include/ext/pb_ds/detail/list_update_map_/
2434 entry_metadata_base.hpp: Same.
2435 * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
2436 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
2437 * include/ext/pb_ds/detail/list_update_map_/
2438 constructor_destructor_fn_imps.hpp: Same.
2439 * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
2440 * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
2441 * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
2442 * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
2443 * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
2444 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
2445 * include/ext/pb_ds/detail/rc_binomial_heap_/
2446 rc_binomial_heap_.hpp: Same.
2447 * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
2448 * include/ext/pb_ds/detail/rc_binomial_heap_/
2449 constructors_destructor_fn_imps.hpp: Same.
2450 * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
2451 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
2452 * include/ext/pb_ds/detail/rc_binomial_heap_/
2453 split_join_fn_imps.hpp: Same.
2454 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
2455 * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
2456 * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
2457 * include/ext/pb_ds/detail/rb_tree_map_/
2458 constructors_destructor_fn_imps.hpp: Same.
2459 * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
2460 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
2461 * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
2462 * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
2463 * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
2464 * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
2465
2466
2467 Documentation changes.
2468 * include/ext/pb_ds/*: Add doxygen markup.
2469 * doc/doxygen/user.cfg.in: Add details for extracting comments
2470 from pb_ds.
2471 * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
2472 * scripts/make_graph.py: Move to svg output. Re-format generated tables.
2473
2474 * doc/Makefile.am (stamp-html-copy): New rule.
2475 (stamp-html): Use it to copy non-generated files into html docs.
2476 * doc/Makefile.in: Regenerated.
2477
2478 * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
2479 * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
2480 * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
2481 * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
2482
2483 * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
2484 hash_random_int_erase_mem_usage_test_local.png,
2485 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
2486 tree_text_insert_timing_test_pat_trie_local.png ,
2487 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
2488 priority_queue_text_modify_down_timing_test_local.png,
2489 gp_hash_random_int_subscript_timing_test_find_local.png,
2490 text_find_timing_test_hash_local.png,
2491 multimap_text_insert_timing_test_small_s2p_hash_local.png,
2492 multimap_text_insert_timing_test_small_s2p_tree_local.png,
2493 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
2494 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
2495 multimap_text_insert_timing_test_large_s2p_hash_local.png,
2496 hash_zlob_random_int_find_timing_test_local.png,
2497 multimap_text_insert_timing_test_large_s2p_tree_local.png,
2498 binary_priority_queue_random_int_push_timing_test_local.png,
2499 priority_queue_text_pop_mem_usage_test_local.png,
2500 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
2501 tree_split_join_timing_test_local.png,
2502 multimap_text_find_timing_test_small_s2p_hash_local.png,
2503 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
2504 priority_queue_random_int_push_pop_timing_test_local.png,
2505 multimap_text_find_timing_test_small_s2p_tree_local.png,
2506 gp_hash_random_int_subscript_timing_test_insert_local.png,
2507 priority_queue_text_push_timing_test_local.png,
2508 cc_hash_random_int_subscript_timing_test_find_local.png,
2509 tree_text_insert_timing_test_vector_tree_local.png,
2510 multimap_text_find_timing_test_large_s2p_hash_local.png,
2511 pairing_priority_queue_text_push_timing_test_local.png,
2512 tree_order_statistics_timing_test_local.png,
2513 priority_queue_text_push_pop_timing_test_local.png,
2514 text_find_timing_test_tree_like_local.png,
2515 multimap_text_find_timing_test_large_s2p_tree_local.png,
2516 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
2517 cc_hash_random_int_subscript_timing_test_insert_local.png,
2518 priority_queue_text_modify_up_timing_test_local.png,
2519 random_int_find_find_timing_test_tree_local.png,
2520 priority_queue_random_int_push_timing_test_local.png,
2521 tree_text_insert_timing_test_node_tree_local.png,
2522 pairing_priority_queue_text_push_pop_timing_test_local.png,
2523 gp_hash_random_int_find_timing_test_local.png,
2524 cc_hash_random_int_find_timing_test_local.png,
2525 priority_queue_text_join_timing_test_local.png: Update local pngs.
2526
2527
2528 Testsuite changes.
2529 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
2530 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
2531 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
2532 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
2533 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
2534 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
2535 New.
2536 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
2537 New.
2538 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
2539 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
2540
2541 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
2542
2543 * testsuite/ext/pb_ds/example/basic_set.cc: Update.
2544 * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
2545 * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
2546 * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
2547 * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
2548 * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
2549 * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
2550 * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
2551 Same.
2552 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
2553 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
2554 * testsuite/data/make_graph_test_infos.xml: Same.
2555 * testsuite/util/regression/common_type.hpp: Same.
2556 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
2557 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2558 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2559 * testsuite/util/regression/rand/priority_queue/
2560 rand_regression_test.hpp: Same.
2561 * testsuite/util/regression/rand/priority_queue/
2562 container_rand_regression_test.tcc: Same.
2563 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
2564 * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
2565 * testsuite/util/regression/rand/assoc/
2566 container_rand_regression_test.tcc: Same.
2567 * testsuite/util/native_type/native_priority_queue.hpp: Same.
2568 * testsuite/util/native_type/native_multimap.hpp: Same.
2569 * testsuite/util/native_type/native_hash_multimap.hpp: Same.
2570 * testsuite/util/native_type/native_set.hpp: Same.
2571 * testsuite/util/native_type/native_map.hpp: Same.
2572 * testsuite/util/native_type/native_hash_set.hpp: Same.
2573 * testsuite/util/native_type/native_hash_map.hpp: Same.
2574 * testsuite/util/testsuite_containers.h
2575 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
2576 * testsuite/util/common_type/assoc/common_type.hpp: Same.
2577 * testsuite/util/common_type/assoc/string_form.hpp: Same.
2578 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
2579 * testsuite/util/common_type/assoc/detail/
2580 trigger_policy_string_form.hpp: Same.
2581 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
2582 * testsuite/util/common_type/assoc/detail/
2583 size_policy_string_form.hpp: Same.
2584 * testsuite/util/common_type/assoc/detail/
2585 probe_fn_string_form.hpp: Same.
2586 * testsuite/util/common_type/assoc/detail/
2587 tree_supports_order_statistics.hpp: Same.
2588 * testsuite/util/common_type/assoc/detail/
2589 trie_supports_prefix_search.hpp: Same.
2590 * testsuite/util/common_type/assoc/detail/
2591 list_update_policy_string_form.hpp: Same.
2592 * testsuite/util/common_type/assoc/detail/
2593 trie_supports_order_statistics.hpp: Same.
2594 * testsuite/util/common_type/assoc/native_set.hpp: Same.
2595 * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
2596 * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
2597 * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
2598
2599 2011-05-23 Paolo Carlini <paolo.carlini@oracle.com>
2600
2601 * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
2602 (istreambuf_iterator<>::istreambuf_iterator(const
2603 istreambuf_iterator&), ~istreambuf_iterator()): Add defaulted
2604 in C++0x mode.
2605
2606 2011-05-23 Jason Merrill <jason@redhat.com>
2607
2608 * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
2609
2610 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
2611
2612 * testsuite/20_util/bind/cv_quals_2.cc: New.
2613
2614 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
2615
2616 PR libstdc++/49058
2617 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
2618 operator()(_Args&&...)): Don't cv qualify _Functor directly
2619 in the default template argument, SFINAE doesn't apply when
2620 the functor has no arguments.
2621 * testsuite/20_util/bind/49058_1.cc: New.
2622 * testsuite/20_util/bind/49058_2.cc: Likewise.
2623
2624 2011-05-21 Paolo Carlini <paolo.carlini@oracle.com>
2625
2626 * include/bits/unique_ptr.h: Use noexcept per the FDIS.
2627
2628 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
2629
2630 * testsuite/21_strings/basic_string/requirements/exception/
2631 propagation_consistent.cc: Fix vs POD-ness of value_type.
2632 * testsuite/21_strings/basic_string/requirements/exception/
2633 basic.cc: Likewise.
2634 * testsuite/ext/vstring/requirements/exception/
2635 propagation_consistent.cc: Likewise.
2636 * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
2637
2638 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
2639
2640 * include/bits/char_traits.h: Use noexcept throughout.
2641 * include/std/typeindex: Likewise.
2642
2643 * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
2644 noexcept; adjust callers.
2645 * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
2646 * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
2647 * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
2648 * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
2649 * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
2650 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
2651 line numbers.
2652
2653 2011-05-20 Jason Merrill <jason@redhat.com>
2654
2655 * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
2656 functions from dependent bases.
2657 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
2658 * include/ext/pb_ds/detail/rb_tree_map_/
2659 split_join_fn_imps.hpp: Likewise.
2660 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
2661 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
2662 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
2663 * include/ext/pb_ds/detail/splay_tree_/
2664 split_join_fn_imps.hpp: Likewise.
2665 * include/ext/pb_ds/detail/tree_policy/
2666 order_statistics_imp.hpp: Likewise.
2667 * include/ext/pb_ds/detail/trie_policy/
2668 prefix_search_node_update_imp.hpp: Likewise.
2669 * include/ext/rc_string_base.h: Likewise.
2670 * include/ext/rope: Likewise.
2671 * include/ext/ropeimpl.h: Likewise.
2672 * testsuite/util/exception/safety.h: Likewise.
2673 * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
2674 * testsuite/util/testsuite_io.h: Likewise.
2675 * include/std/functional: Declare mem_fn earlier.
2676 * include/tr1/functional: Likewise.
2677 * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
2678
2679 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
2680
2681 * include/std/tuple (tuple_element<__i, const _Tp>,
2682 tuple_element<__i, volatile _Tp>, tuple_element<__i,
2683 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
2684 tuple_size<const volatile _Tp>): Add.
2685 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
2686 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
2687 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
2688 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
2689 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
2690 line number.
2691
2692 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
2693
2694 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
2695 noexcept.
2696 (__get_helper): Likewise.
2697 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
2698 * include/bits/move.h (swap): Likewise.
2699 * include/bits/algorithmfwd.h (swap): Adjust.
2700 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
2701 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
2702 mode, prefer delete to access control to make the type not copy
2703 assignable.
2704 * testsuite/util/testsuite_tr1.h: Add test classes.
2705 * testsuite/20_util/tuple/noexcept_swap.cc: New.
2706 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
2707 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
2708 delete to access control.
2709 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
2710 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
2711 line numbers.
2712
2713 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
2714
2715 * testsuite/util/testsuite_tr1.h: Add test classes.
2716 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
2717
2718 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
2719
2720 * include/std/type_traits (is_assignable, is_copy_assignable,
2721 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
2722 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
2723 (has_nothrow_copy_assign): Remove.
2724 * testsuite/util/testsuite_tr1.h: Add test classes.
2725 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
2726 * testsuite/20_util/is_assignable/requirements/
2727 explicit_instantiation.cc: Likewise.
2728 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
2729 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
2730 Likewise.
2731 * testsuite/20_util/is_nothrow_assignable/requirements/
2732 explicit_instantiation.cc: Likewise.
2733 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
2734 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
2735 Likewise.
2736 * testsuite/20_util/is_move_assignable/requirements/
2737 explicit_instantiation.cc: Likewise.
2738 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
2739 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
2740 Likewise.
2741 * testsuite/20_util/is_copy_assignable/requirements/
2742 explicit_instantiation.cc: Likewise.
2743 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
2744 * testsuite/20_util/is_nothrow_move_assignable/requirements/
2745 typedefs.cc: Likewise.
2746 * testsuite/20_util/is_nothrow_move_assignable/requirements/
2747 explicit_instantiation.cc: Likewise.
2748 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
2749 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
2750 typedefs.cc: Likewise.
2751 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
2752 explicit_instantiation.cc: Likewise.
2753 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2754 dg-error line numbers.
2755 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2756 Likewise.
2757 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2758
2759 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2760
2761 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
2762 functions as defaulted/deleted.
2763 * include/bits/shared_ptr.h: Use noexcept.
2764 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
2765 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
2766
2767 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2768
2769 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
2770
2771 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
2772
2773 * libsupc++/initializer_list: Use noexcept specifier.
2774 (initializer_list<>::size, begin, end): Qualify as const.
2775 * include/bits/move.h (__addressof, forward, move, addressof): Specify
2776 as noexcept.
2777 * include/std/bitset: Use noexcept specifier throughout.
2778 * include/debug/bitset: Update.
2779 * include/profile/bitset: Likewise.
2780
2781 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
2782
2783 * include/std/tuple: Use noexcept where appropriate.
2784 (tuple<>::swap): Rework implementation.
2785 (_Head_base<>::_M_swap_impl): Remove.
2786 (get(std::tuple<>&&)): Add.
2787 * testsuite/20_util/tuple/element_access/get2.cc: New.
2788 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
2789 line number.
2790
2791 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
2792
2793 * include/std/utility: Simplify the last commit, the whole
2794 std::get code is C++0x only.
2795
2796 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
2797
2798 * include/std/utility (get(std::pair<>&&)): Add.
2799 * include/bits/stl_pair.h (pair::swap(pair&),
2800 swap(pair<>&, pair<>&)): Use noexcept.
2801 * include/bits/random.h (discard_block_engine<>::base,
2802 independent_bits_engine<>::base, shuffle_order_engine<>::base,
2803 random_device::entropy): Use noexcept.
2804 * include/std/array: Use noexcept where appropriate.
2805 (get(array<>&&)): Add.
2806 * testsuite/23_containers/array/requirements/get.cc: New.
2807 * testsuite/20_util/pair/get.cc: Likewise.
2808 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
2809 line number.
2810
2811 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
2812
2813 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
2814 Add.
2815 * include/std/limits: Use the latter everywhere.
2816 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
2817 macro usages, the specializations exist only in C++0x mode.
2818 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
2819 line number.
2820
2821 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
2822
2823 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
2824 dg-require-cmath.
2825 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
2826
2827 2011-05-11 François Dumont <francois.cppdevs@free.fr>
2828
2829 * include/ext/pb_ds/detail/resize_policy/
2830 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
2831 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
2832 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
2833 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
2834 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
2835 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
2836 * include/ext/pb_ds/detail/debug_map_base.hpp,
2837 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
2838 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
2839 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
2840 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
2841 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
2842 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
2843 macro definitions move...
2844 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
2845 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
2846 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
2847 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
2848 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
2849 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
2850 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
2851 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
2852 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
2853 ...here.
2854
2855 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
2856
2857 PR libstdc++/48933
2858 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
2859 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
2860 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
2861 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
2862 scalbn, tgamma, trunc): Use __enable_if on the return type.
2863 * include/tr1/cmath: Likewise.
2864 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
2865 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
2866
2867 2011-05-07 François Dumont <francois.cppdevs@free.fr>
2868
2869 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
2870 (_GLICXX_DEBUG_VERIFY): Use latter.
2871 * include/ext/pb_ds/detail/resize_policy/
2872 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
2873 containing the original assert call.
2874 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
2875 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
2876 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
2877 split_join_fn_imps.hpp: Likewise.
2878 * include/ext/pb_ds/detail/cc_hash_table_map_/
2879 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
2880 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
2881 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
2882 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
2883 erase_no_store_hash_fn_imps.hpp: Likewise.
2884 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
2885 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
2886 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
2887 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
2888 Likewise.
2889 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
2890 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
2891 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
2892 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
2893 Likewise.
2894 * include/ext/pb_ds/detail/gp_hash_table_map_/
2895 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
2896 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
2897 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
2898 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
2899 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
2900 Likewise.
2901 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
2902 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
2903 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
2904 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
2905 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
2906 find_fn_imps.hpp, insert_fn_imps.hpp,
2907 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
2908 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
2909 * include/ext/pb_ds/detail/binomial_heap_/
2910 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
2911 binomial_heap_.hpp: Likewise.
2912 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2913 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
2914 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
2915 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
2916 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
2917 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
2918 split_join_fn_imps.hpp: Likewise.
2919 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
2920 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
2921 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
2922 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
2923 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
2924 find_fn_imps.hpp, insert_fn_imps.hpp,
2925 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
2926 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
2927 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
2928 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
2929 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
2930 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
2931 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
2932 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
2933 split_join_fn_imps.hpp: Likewise.
2934 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
2935 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
2936 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
2937 * include/ext/pb_ds/hash_policy.hpp: Likewise.
2938
2939 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
2940
2941 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
2942
2943 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
2944
2945 PR libstdc++/47913 (again)
2946 * include/std/ratio (ratio_add, ratio_less): Rewrite.
2947 * testsuite/20_util/ratio/operations/47913.cc: Extend.
2948 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
2949 line numbers.
2950 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
2951
2952 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
2953
2954 PR libstdc++/48848
2955 * include/std/valarray (valarray<>::valarray(valarray&&),
2956 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
2957 * doc/xml/manual/status_cxx200x.xml: Update.
2958 * testsuite/26_numerics/valarray/moveable.cc: New.
2959 * testsuite/26_numerics/valarray/swap.cc: Likewise.
2960
2961 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
2962
2963 PR libstdc++/48750
2964 * include/parallel/multiway_merge.h: Run _ValueType destructors.
2965 * include/parallel/multiway_mergesort.h: Likewise.
2966 * include/parallel/quicksort.h: Likewise.
2967 * include/parallel/random_shuffle.h: Likewise.
2968 * include/parallel/partial_sum.h: Likewise.
2969 * include/parallel/losertree.h: Run destructors; minor tweaks.
2970 * include/parallel/par_loop.h: Run destructors, fix memory
2971 allocations and deallocations.
2972 * testsuite/26_numerics/accumulate/48750.cc: New.
2973
2974 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
2975 parallel-mode to avoid spurious multiple errors.
2976
2977 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
2978
2979 * include/std/functional (bind): Remove from overload set when first
2980 argument type might be a socket file descriptor.
2981 * testsuite/20_util/bind/socket.cc: New.
2982
2983 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
2984
2985 PR libstdc++/48848
2986 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
2987 * doc/html/*: Regenerate.
2988
2989 2011-05-02 Ollie Wild <aaw@google.com>
2990
2991 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
2992 Fix unqualified lookup.
2993 (__sso_string_base<>::_M_assign): Likewise.
2994 (__sso_string_base<>::_M_reserve): Likewise.
2995 (__sso_string_base<>::_M_mutate): Likewise.
2996 (__sso_string_base<>::_M_erase): Likewise.
2997 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
2998 (__versa_string<>::compare): Likewise.
2999 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
3000
3001 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3002
3003 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
3004 and FDIS content.
3005 * doc/xml/manual/documentation_hacking.xml: Fix typo.
3006 * doc/html/*: Regenerate.
3007
3008 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
3009
3010 * include/std/type_traits (__is_default_constructible_atom,
3011 __is_default_constructible_safe<, true>,
3012 __is_direct_constructible_new_safe,
3013 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
3014 __is_direct_constructible_ref_cast, __is_direct_constructible,
3015 __is_nary_constructible): Simplify; add comments throughout.
3016
3017 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
3018
3019 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3020 Adjust dg-error line numbers.
3021 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3022 Likewise.
3023 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3024
3025 2011-04-30 Doug Kwan <dougkwan@google.com>
3026
3027 * include/Makefile.am (install-freestanding-headers): Also install
3028 cxxabi_tweaks.h.
3029 * include/Makefile.in: Regenerate.
3030
3031 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
3032
3033 PR libstdc++/48760
3034 * include/std/complex (complex<float>::complex(float, float),
3035 complex<double>::complex(double, double),
3036 complex<long double>::complex(long double, long double)): Use
3037 list-initialization in C++0x mode, initialize in the body in
3038 C++03 mode.
3039 * testsuite/26_numerics/complex/cons/48760.cc: New.
3040 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
3041
3042 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
3043
3044 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
3045 tweak, remove redundant round braces.
3046
3047 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
3048
3049 * include/bits/move.h (move_if_noexcept): Add.
3050 * testsuite/20_util/move_if_noexcept/requirements/
3051 explicit_instantiation.cc: New.
3052 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
3053
3054 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
3055
3056 * include/std/type_traits (struct underlying_type): Add.
3057 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
3058 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
3059 Likewise.
3060 * testsuite/20_util/underlying_type/requirements/
3061 explicit_instantiation.cc: Likewise.
3062 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
3063 line number.
3064
3065 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
3066
3067 * include/parallel/multiway_merge.h: Uglify equally_split
3068 and equally_split_point throughout.
3069 * include/parallel/par_loop.h: Likewise.
3070 * include/parallel/equally_split.h: Likewise.
3071 * include/parallel/set_operations.h: Likewise.
3072 * include/parallel/unique_copy.h: Likewise.
3073 * include/parallel/multiway_mergesort.h: Likewise.
3074 * include/parallel/search.h: Likewise.
3075 * include/parallel/partial_sum.h: Likewise.
3076 * include/parallel/find.h: Likewise.
3077
3078 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
3079
3080 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
3081 documentation. Expand link text.
3082
3083 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
3084
3085 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
3086
3087 2011-04-22 François Dumont <francois.cppdevs@free.fr>
3088
3089 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
3090 unused compilation result thanks to /dev/null.
3091 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
3092 check_v3_target_profile_mode, check_v3_target_normal_mode,
3093 check_v3_target_cstdint, check_v3_target_cmath,
3094 check_v3_target_atomic_builtins, check_v3_target_gthreads,
3095 check_v3_target_nanosleep, check_v3_target_sched_yield,
3096 check_v3_target_string_conversions, check_v3_target_swprintf,
3097 check_v3_target_binary_io): Use simple preprocessing rather than
3098 compilation. Discard unused preprocessing result thanks to /dev/null.
3099
3100 2011-04-20 Jim Meyering <meyering@redhat.com>
3101
3102 * libsupc++/del_opnt.cc (operator delete): Remove useless
3103 if-before-free.
3104
3105 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
3106
3107 PR libstdc++/48521
3108 * include/std/type_traits (result_of): Handle pointer to member.
3109 * include/std/functional (__invoke): Likewise.
3110 (_Function_to_function_pointer): Remove.
3111 (_Reference_wrapper_base): Provide nested types independent of
3112 unary_function and binary_function.
3113 (reference_wrapper::operator()): DR 2017.
3114 (ref(const A&&), cref(const A&&): Define as deleted.
3115 * include/std/future (async): Simplify SFINAE and use result_of to
3116 support pointer to member.
3117 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
3118 member.
3119 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
3120 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
3121 instead of derivation from unary_function and binary_function.
3122 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
3123 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
3124 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
3125 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
3126
3127 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
3128
3129 PR testsuite/48675
3130 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
3131 this part if SAMPLES < 100000.
3132
3133 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
3134
3135 * include/std/type_traits (is_nothrow_default_constructible,
3136 is_nothrow_copy_constructible, is_nothrow_move_constructible,
3137 is_copy_constructible, is_move_constructible): Add.
3138 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
3139 Remove.
3140 (is_nothrow_constructible): Adjust.
3141
3142 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
3143 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
3144 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
3145 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
3146
3147 * testsuite/20_util/has_nothrow_default_constructor: Remove.
3148 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
3149
3150 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
3151 * testsuite/20_util/is_nothrow_move_constructible/requirements/
3152 typedefs.cc: Likewise.
3153 * testsuite/20_util/is_nothrow_move_constructible/requirements/
3154 explicit_instantiation.cc: Likewise.
3155 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
3156 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
3157 typedefs.cc: Likewise.
3158 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
3159 explicit_instantiation.cc: Likewise.
3160 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
3161 Likewise.
3162 * testsuite/20_util/is_nothrow_default_constructible/requirements/
3163 typedefs.cc: Likewise.
3164 * testsuite/20_util/is_nothrow_default_constructible/requirements/
3165 explicit_instantiation.cc: Likewise.
3166 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
3167 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
3168 Likewise.
3169 * testsuite/20_util/is_move_constructible/requirements/
3170 explicit_instantiation.cc: Likewise.
3171 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
3172 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
3173 Likewise.
3174 * testsuite/20_util/is_copy_constructible/requirements/
3175 explicit_instantiation.cc: Likewise.
3176
3177 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
3178 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
3179
3180 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3181 Adjust dg-error line numbers.
3182 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3183 Likewise.
3184 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3185
3186 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
3187
3188 * testsuite/25_algorithms/partition/moveable.cc: Actually run
3189 it in parallel-mode for check-parallel.
3190
3191 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
3192 Paolo Carlini <paolo.carlini@oracle.com>
3193
3194 PR libstdc++/48635 (again)
3195 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
3196 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
3197 unique_ptr<>::operator=(unique_ptr<>&&),
3198 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
3199 forward<_Dp>, to forward the deleter.
3200 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
3201
3202 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
3203 Paolo Carlini <paolo.carlini@oracle.com>
3204
3205 PR libstdc++/48631
3206 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
3207 function call operator.
3208 * testsuite/20_util/default_delete/48631_neg.cc: New.
3209 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
3210 line numbers.
3211
3212 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
3213 Paolo Carlini <paolo.carlini@oracle.com>
3214
3215 PR libstdc++/48635
3216 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
3217 unique_ptr<>::operator=(unique_ptr<>&&),
3218 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
3219 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
3220 instead of moving it.
3221 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
3222
3223 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3224
3225 * scripts/extract_symvers.pl: Handle NOTY.
3226
3227 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
3228
3229 * include/std/istream: Fix comments in the light of DR60 + N3168.
3230
3231 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
3232 Paolo Carlini <paolo.carlini@oracle.com>
3233
3234 PR libstdc++/48526
3235 * include/std/type_traits (struct is_constructible): Re-implement,
3236 according to n3290.
3237 (struct is_default_constructible): Add.
3238 (struct is_destructible): Likewise.
3239 (struct __and_, __or_, __not_): Add and use throughout; reorder some
3240 facilities, other minor tweaks.
3241 * testsuite/util/testsuite_tr1.h: Add test types.
3242 * testsuite/20_util/is_constructible/value-2.cc: New.
3243 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
3244 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
3245 Likewise.
3246 * testsuite/20_util/is_default_constructible/requirements/
3247 explicit_instantiation.cc: Likewise.
3248 * testsuite/20_util/is_destructible/value.cc: Likewise.
3249 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
3250 Likewise.
3251 * testsuite/20_util/is_destructible/requirements/
3252 explicit_instantiation.cc: Likewise.
3253 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
3254 dg-error line numbers.
3255 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3256 Likewise.
3257 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3258 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
3259
3260 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
3261
3262 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
3263 testsuite.
3264 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
3265 * testsuite/20_util/is_function/requirements/
3266 explicit_instantiation.cc: Likewise.
3267 * testsuite/20_util/is_function/24808.cc: Likewise.
3268 * testsuite/20_util/is_function/35637.cc: Likewise.
3269 * testsuite/20_util/is_object/value.cc: Likewise.
3270 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
3271 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
3272 : Likewise.
3273 * testsuite/20_util/is_object/24808.cc: Likewise.
3274 * testsuite/20_util/is_compound/value.cc: Likewise.
3275 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
3276 * testsuite/20_util/is_compound/requirements/
3277 explicit_instantiation.cc: Likewise.
3278 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
3279 * testsuite/20_util/is_member_object_pointer/requirements/
3280 typedefs.cc: Likewise.
3281 * testsuite/20_util/is_member_object_pointer/requirements/
3282 explicit_instantiation.cc: Likewise.
3283 * testsuite/20_util/is_fundamental/value.cc: Likewise.
3284 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
3285 * testsuite/20_util/is_fundamental/requirements/
3286 explicit_instantiation.cc: Likewise.
3287 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
3288 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
3289 Likewise.
3290 * testsuite/20_util/is_member_pointer/requirements/
3291 explicit_instantiation.cc: Likewise.
3292 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
3293 * testsuite/20_util/is_member_function_pointer/
3294 requirements/typedefs.cc: Likewise.
3295 * testsuite/20_util/is_member_function_pointer/requirements/
3296 explicit_instantiation.cc: Likewise.
3297
3298 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
3299 Copyright years.
3300
3301 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
3302
3303 PR libstdc++/48476
3304 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
3305 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
3306 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
3307 * testsuite/20_util/tuple/cons/48476.cc: New.
3308 * testsuite/20_util/tuple/48476.cc: Likewise.
3309 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
3310
3311 2011-04-12 Allan McRae <allan@archlinux.org>
3312
3313 PR libstdc++/48566
3314 * testsuite/tr1/6_containers/unordered_map/requirements/
3315 iterator_null_neg.cc: Include <cstddef>.
3316 * testsuite/tr1/6_containers/unordered_set/requirements/
3317 iterator_null_neg.cc: Likewise.
3318 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
3319 <cstring>.
3320 * testsuite/util/testsuite_common_types.h: Include <limits>.
3321 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
3322 Adjust dg-error line numbers.
3323 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
3324 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
3325 Likewise.
3326 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
3327 Likewise.
3328 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
3329 Likewise.
3330 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
3331 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3332
3333 2011-04-11 Jason Merrill <jason@redhat.com>
3334
3335 * testsuite/20_util/is_convertible/value.cc: Adjust.
3336
3337 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
3338
3339 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
3340 it in parallel-mode for check-parallel.
3341 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
3342 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
3343 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
3344 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
3345 Likewise.
3346 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
3347 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
3348 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
3349
3350 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
3351 the tests based on std::lexicographical_compare for check-parallel.
3352 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
3353
3354 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
3355
3356 PR libstdc++/48541
3357 * include/std/functional (_Base_manager::_M_get_pointer): Use
3358 addressof.
3359 * testsuite/20_util/function/48541.cc: New.
3360
3361 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
3362
3363 PR libstdc++/48465
3364 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
3365 * configure: Regenerate.
3366 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
3367 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
3368
3369 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
3370
3371 * include/ext/algorithm (is_sorted): In C++0x mode import from
3372 namespace std.
3373 * include/ext/numeric (iota): In C++0x mode import from
3374 namespace std.
3375 * testsuite/ext/is_sorted/cxx0x.cc: New.
3376 * testsuite/ext/iota/cxx0x.cc: New.
3377
3378 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
3379
3380 PR libstdc++/48398
3381 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
3382 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
3383 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
3384 unused parameter name.
3385
3386 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
3387
3388 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
3389 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
3390 redundant default argument from std::__throw_with_nested.
3391
3392 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
3393
3394 PR libstdc++/48382
3395 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
3396 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
3397 * src/Makefile.in: Regenerate.
3398 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
3399 * include/Makefile.in: Regenerate.
3400 * doc/xml/manual/internals.xml: Update.
3401 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
3402 * config/os/newlib/ctype_configure_char.cc: ... this.
3403 * config/os/aix/ctype_noninline.h: Likewise.
3404 * config/os/aix/ctype_configure_char.cc: Likewise.
3405 * config/os/vxworks/ctype_noninline.h: Likewise.
3406 * config/os/vxworks/ctype_configure_char.cc
3407 * config/os/hpux/ctype_noninline.h: Likewise.
3408 * config/os/hpux/ctype_configure_char.cc: Likewise.
3409 * config/os/gnu-linux/ctype_noninline.h: Likewise.
3410 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
3411 * config/os/mingw32/ctype_noninline.h: Likewise.
3412 * config/os/mingw32/ctype_configure_char.cc: Likewise.
3413 * config/os/tpf/ctype_noninline.h: Likewise.
3414 * config/os/tpf/ctype_configure_char.cc: Likewise.
3415 * config/os/uclibc/ctype_noninline.h: Likewise.
3416 * config/os/uclibc/ctype_configure_char.cc: Likewise.
3417 * config/os/bionic/ctype_noninline.h: Likewise.
3418 * config/os/bionic/ctype_configure_char.cc: Likewise.
3419 * config/os/djgpp/ctype_noninline.h: Likewise.
3420 * config/os/djgpp/ctype_configure_char.cc: Likewise.
3421 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
3422 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
3423 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
3424 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
3425 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
3426 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
3427 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
3428 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
3429 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
3430 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
3431 * config/os/generic/ctype_noninline.h: Likewise.
3432 * config/os/generic/ctype_configure_char.cc: Likewise.
3433 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
3434 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
3435
3436 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
3437
3438 * include/std/future (future::share): Add.
3439 (packaged_task::result_type): Remove as per LWG 2030.
3440 (packaged_task::packaged_task): Remove redundant constructors, as per
3441 LWG 1514.
3442 * testsuite/30_threads/future/members/share.cc: New.
3443 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
3444
3445 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
3446
3447 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
3448 members which require a fully established result state.
3449 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
3450
3451 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
3452
3453 * include/bits/random.h (negative_binomial_distribution<>::
3454 negative_binomial_distribution(_IntType, double),
3455 negative_binomial_distribution<>::
3456 negative_binomial_distribution(const param_type&)): Tweak
3457 construction of _M_gd.
3458 * include/bits/random.tcc (negative_binomial_distribution<>::
3459 operator()): Adjust.
3460
3461 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
3462
3463 * include/bits/random.h (negative_binomial_distribution<>::
3464 negative_binomial_distribution(_IntType, double),
3465 negative_binomial_distribution<>::
3466 negative_binomial_distribution(const param_type&)): Fix
3467 construction of _M_gd.
3468 * include/bits/random.tcc (negative_binomial_distribution<>::
3469 operator()): Fix computation, per Leger's algorithm.
3470 * testsuite/util/testsuite_random.h (discrete_pdf,
3471 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
3472 (binomial_pdf): Swap last two parameters.
3473 * testsuite/26_numerics/random/discrete_distribution/
3474 operators/values.cc: New.
3475 * testsuite/26_numerics/random/negative_binomial_distribution/
3476 operators/values.cc: Likewise.
3477 * testsuite/26_numerics/random/poisson_distribution/
3478 operators/values.cc: Likewise.
3479 * testsuite/26_numerics/random/uniform_int_distribution/
3480 operators/values.cc: Likewise.
3481 * testsuite/26_numerics/random/binomial_distribution/
3482 operators/values.cc: Adjust.
3483
3484 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3485
3486 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
3487 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
3488 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3489 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3490 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3491
3492 2011-03-23 Matthias Klose <doko@ubuntu.com>
3493
3494 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
3495
3496 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
3497
3498 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
3499
3500 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3501
3502 * configure.ac: Don't handle powerpc*-*-gnu*.
3503 * configure: Regenerate.
3504
3505 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
3506
3507 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
3508 Copyright years.
3509 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
3510 Likewise.
3511
3512 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
3513
3514 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
3515 per DR 1401.
3516 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
3517 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
3518 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
3519 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
3520 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
3521 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
3522 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
3523
3524 2011-03-22 Jakub Jelinek <jakub@redhat.com>
3525
3526 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
3527 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
3528 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
3529 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
3530 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
3531 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3532 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
3533 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3534 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3535 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3536 Likewise.
3537 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3538 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3539 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3540 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3541 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
3542 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
3543 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
3544 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
3545 test.
3546
3547 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
3548
3549 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
3550 create compact unwind for" warnings.
3551
3552 2011-03-21 Jakub Jelinek <jakub@redhat.com>
3553
3554 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
3555 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3556 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3557 Likewise.
3558 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3559 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3560 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
3561 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
3562 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
3563 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3564 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
3565 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3566 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3567
3568 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
3569 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
3570 CXXABI_LDBL_1.3 versions.
3571
3572 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
3573
3574 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
3575
3576 2011-03-21 Jakub Jelinek <jakub@redhat.com>
3577
3578 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
3579 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
3580
3581 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3582
3583 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
3584 sparc*-sun-solaris2.10 && lp64.
3585
3586 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
3587
3588 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
3589 to check_v3_target_cmath.
3590 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
3591 to dg-require-cmath.
3592 * testsuite/26_numerics/random/binomial_distribution/
3593 operators/values.cc: Adjust.
3594
3595 2011-03-18 Diego Novillo <dnovillo@google.com>
3596
3597 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
3598 mixed-mode_neg.cc
3599 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
3600 mixed-mode-arith_neg.cc
3601
3602 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
3603
3604 * testsuite/util/testsuite_random.h: New.
3605 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
3606 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
3607 * testsuite/26_numerics/random/bernoulli_distribution/
3608 operators/values.cc: New.
3609 * testsuite/26_numerics/random/binomial_distribution/
3610 operators/values.cc: Likewise.
3611 * testsuite/26_numerics/random/geometric_distribution/
3612 operators/values.cc: Likewise.
3613
3614 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
3615
3616 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
3617 * testsuite/19_diagnostics/stdexcept.cc: New.
3618
3619 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
3620
3621 * include/std/thread: Revert.
3622 * src/thread.cc: Same.
3623 * config/abi/pre/gnu.ver: Same.
3624
3625 2011-03-15 Doug Kwan <dougkwan@google.com>
3626
3627 PR libstdc++/48123
3628 * include/Makefile.am (install-freestanding-headers): Install
3629 cpu_defines.h
3630 * include/Makefile.in: Regenerate.
3631
3632 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
3633
3634 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
3635 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
3636
3637 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
3638
3639 PR libstdc++/48130
3640 * src/future.cc: Guard definitions.
3641 * libsupc++/nested_exception.cc: Same.
3642
3643 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
3644
3645 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
3646 * src/Makefile.in: Regenerate.
3647 * libsupc++/Makefile.am: Add nested_exception.cc.
3648 * libsupc++/Makefile.in: Regenerate.
3649 * src/system_error.cc: Add ctor and dtor definitions for error_category.
3650 * src/functional.cc: New. Add dtor definition for bad_function_call.
3651 * src/stdexcept.cc: Add dtor definitions for domain_error,
3652 invalid_argument, length_error, out_of_range, range_error,
3653 overflow_error, underflow_error.
3654 * src/future.cc: Add dtor definition for __future_base::_Result_base.
3655 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
3656 * src/thread.cc: Add dtor for thread::_Impl_base.
3657 * include/std/system_error: Adjust.
3658 * include/std/stdexcept: Same.
3659 * include/std/future: Same.
3660 * include/std/functional: Same.
3661 * include/std/thread: Same.
3662 * include/bits/shared_ptr_base.h: Same.
3663 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
3664 * libsupc++/nested_exception.h: Adjust.
3665 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
3666 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
3667 * config/abi/pre/gnu.ver: Add new exports.
3668
3669 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
3670
3671 * include/bits/regex_compiler.h: Nest namespace versioning.
3672 * include/bits/regex_grep_matcher.tcc: Same.
3673 * include/bits/regex_grep_matcher.h: Same.
3674 * include/bits/regex_cursor.h: Same.
3675 * include/bits/regex_nfa.h: Same.
3676 * include/bits/regex_nfa.tcc: Same.
3677
3678 * include/bits/regex_grep_matcher.h: Version forward declarations.
3679 * include/bits/c++config: Add namespace association for __regex.
3680 * include/bits/regex.h: Make sub_match consistent.
3681
3682 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3683
3684 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
3685 equivalents.
3686 * doc/html/manual/abi.html: Regenerate.
3687
3688 2011-03-14 Tom Tromey <tromey@redhat.com>
3689
3690 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
3691 Try to import `gdb.printing' module.
3692 (UniquePointerPrinter.__init__): Add 'typename' argument.
3693 (StdSlistPrinter.__init__): Likewise.
3694 (StdSlistIteratorPrinter.__init__): Likewise.
3695 (StdVectorIteratorPrinter.__init__): Likewise.
3696 (StdRbtreeIteratorPrinter.__init__): Likewise.
3697 (StdDebugIteratorPrinter.__init__): Likewise.
3698 (StdDequeIteratorPrinter.__init__): Likewise.
3699 (StdStringPrinter.__init__): Likewise.
3700 (RxPrinter, Printer): New class.
3701 (libstdcxx_printer): New global.
3702 (register_libstdcxx_printers): Rewrite.
3703 (build_libstdcxx_dictionary): Rewrite.
3704 (pretty_printers_dict): Remove.
3705
3706 2011-03-14 Andrey Zholos <aaz@althenia.net>
3707
3708 PR libstdc++/48114
3709 * include/bits/random.h (geometric_distribution): Correct formula
3710 in comment, per C++0x.
3711 (geometric_distribution<>::param_type::param_type(double)): Fix check.
3712 (geometric_distribution<>::param_type::_M_initialize):
3713 Store log(1 - p).
3714 * include/bits/random.tcc (geometric_distribution<>::operator()):
3715 Fix computation.
3716 (binomial_distribution<>::operator()): Likewise.
3717
3718 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
3719
3720 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
3721
3722 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
3723 Chris Jefferson <chris@bubblescope.net>
3724 Paolo Carlini <paolo.carlini@oracle.com>
3725
3726 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
3727 New.
3728 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
3729 Likewise.
3730 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
3731 Likewise.
3732 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
3733 Likewise.
3734 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
3735
3736 2011-03-09 Chris Jefferson <chris@bubblescope.net>
3737
3738 PR libstdc++/48038
3739 * include/bits/stl_algo.h (__merge_backward): Rename to
3740 __move_merge_backward and change to always move rather than copy.
3741 (__move_merge): New function similar to std::merge except values
3742 are moved instead of copied.
3743 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
3744 and __merge_backward to __move_merge and __move_merge_backward.
3745
3746 2011-03-07 Jason Merrill <jason@redhat.com>
3747
3748 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
3749 expected errors.
3750
3751 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
3752 Matthias Klose <doko@ubuntu.com>
3753 Jonathan Wakely <redi@gcc.gnu.org>
3754
3755 PR libstdc++/47145
3756 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
3757 * configure.ac: Use it.
3758 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
3759 * configure: Regenerate.
3760 * doc/Makefile.in: Regenerate.
3761
3762 2011-03-04 Benjamin Kosnik <bkoz@chula>
3763
3764 * src/Makefile.am (inst_sources): Make source instantion files
3765 conditional.
3766 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
3767 * src/Makefile.in: Regenerate.
3768 * src/valarray-inst.cc: Move to..
3769 * src/valarray.cc: ...this.
3770 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
3771 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
3772 * configure: Regenerate.
3773 * include/Makefile.am (stamp-extern-template): Add.
3774 * include/Makefile.in: Regenerate.
3775
3776 * doc/xml/manual/configure.xml: Document --enable-extern-template.
3777
3778 * include/bits/locale_classes.tcc: Adjust comment.
3779 * include/bits/locale_facets.tcc: Same.
3780 * include/bits/basic_ios.tcc: Same.
3781 * include/bits/istream.tcc: Same.
3782 * include/bits/codecvt.h: Same.
3783 * include/bits/ostream.tcc: Same.
3784 * include/bits/sstream.tcc: Same.
3785 * include/bits/c++config: Same.
3786 * include/bits/basic_string.tcc: Same.
3787 * include/bits/ostream_insert.h: Same.
3788 * include/bits/locale_facets_nonio.tcc: Same.
3789 * include/bits/streambuf.tcc: Same.
3790 * include/bits/allocator.h: Same.
3791 * include/bits/fstream.tcc: Same.
3792
3793 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
3794
3795 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
3796
3797 * testsuite/Makefile.am: Make clean fixups.
3798 * testsuite/Makefile.in: Regenerate.
3799
3800 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
3801
3802 * include/std/ratio (ratio_less): Add comments.
3803
3804 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
3805
3806 PR libstdc++/47913
3807 * include/std/ratio (ratio_add): Avoid denominator overflow.
3808 * testsuite/20_util/ratio/operations/47913.cc: New.
3809
3810 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
3811
3812 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
3813 * testsuite/20_util/hash/quality.cc: Same.
3814
3815 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
3816
3817 PR libstdc++/47921
3818 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
3819 __safe_pbump): Add.
3820 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
3821 xputn): Use the latter.
3822 * include/bits/streambuf_iterator.h: Likewise.
3823 * src/strstream.cc: Likewise.
3824 * src/streambuf.cc: Likewise.
3825 * src/compatibility.cc: Likewise.
3826 * src/istream.cc: Likewise.
3827 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
3828 instead of gbump.
3829 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
3830 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
3831 seekpos, _M_sync): Use setg, setp, and _M_pbump.
3832 * config/abi/pre/gnu.ver: Tweak.
3833
3834 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
3835
3836 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
3837
3838 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
3839
3840 PR libstdc++/42622
3841 * include/std/ratio (ratio_less): Reimplement to never overflow.
3842 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
3843
3844 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
3845
3846 * testsuite/18_support/type_info/fundamental.cc: New.
3847
3848 * testsuite/Makefile.am: Make clean fixups.
3849 * testsuite/Makefile.in: Regenerate.
3850
3851 2011-02-19 François Dumont <francois.cppdevs@free.fr>
3852
3853 * include/debug/string (basic_string::insert): Add iterator check and
3854 pass normal iterator to normal insert.
3855 * include/debug/macros.h (__glibcxx_check_heap,
3856 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
3857 already done.
3858
3859 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
3860
3861 PR libstdc++/47776
3862 * testsuite/ext/vstring/hash/char/1.cc: Fix.
3863 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
3864
3865 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
3866
3867 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
3868 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
3869 (basic_regex::operator=(basic_regex&&)): Likewise.
3870 (basic_regex::assign(basic_regex&&)): Likewise.
3871 (operator==(sub_match,...)): Implement DR 1181.
3872 (match_results::match_results(match_results&&)): Define.
3873 (match_results::operator=(const match_results&)): Fix parameter type.
3874 (match_results::operator=(match_results&&)): Define.
3875
3876 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
3877
3878 PR libstdc++/47724
3879 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
3880 line anchors as metacharacters.
3881 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
3882
3883 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
3884
3885 PR libstdc++/47773
3886 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
3887 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
3888 hash<__gnu_cxx::__u32vstring>): Add.
3889 * testsuite/ext/vstring/hash/char/1.cc: New.
3890 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
3891
3892 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3893
3894 * include/bits/regex.h (match_results::format): Use char_traits.
3895
3896 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
3897
3898 * include/std/atomic: Remove atomic_address, uplift to N3225.
3899 * include/bits/atomic_0.h: Same.
3900 * include/bits/atomic_2.h: Same.
3901 * include/bits/atomic_base.h: Same.
3902 * testsuite/29_atomics/atomic_address/*: Delete.
3903
3904 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
3905
3906 * include/bits/regex.h (sub_match::sub_match): Add.
3907 (match_results::ready): Add.
3908 (match_results::empty): Adjust.
3909 (match_results::length): Add missing dereference.
3910 (match_results::operator[],prefix,suffix): Add debug mode checks.
3911 (match_results::cend): Re-use end().
3912 (match_results::format): Adjust signatures.
3913 (operator==(match_results,match_results)): Implement.
3914 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
3915 * include/bits/regex_constants.h (syntax_option_type): Likewise.
3916 * include/bits/regex_grep_matcher.h: Fix comment typo.
3917 (_SpecializedResults::_SpecializedResults): Simplify.
3918 * include/bits/regex_cursor.h: Fix comment typo.
3919 * include/bits/regex_nfa.h: Likewise.
3920 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
3921 Fix error code, remove xfail.
3922 * testsuite/28_regex/basic_regex/ctors/extended/
3923 string_range_01_02_03.cc: Likewise.
3924
3925 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
3926
3927 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
3928 * include/bits/regex_nfa.h: Remove unnecessary base classes.
3929
3930 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3931
3932 * configure: Regenerate.
3933
3934 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
3935
3936 PR libstdc++/47709
3937 * include/ext/algorithm (is_heap): In C++0x mode import from
3938 namespace std.
3939 * testsuite/ext/is_heap/47709.cc: New.
3940
3941 2011-02-12 Jakub Jelinek <jakub@redhat.com>
3942 Jonathan Wakely <jwakely.gcc@gmail.com>
3943
3944 PR libstdc++/47662
3945 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
3946 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
3947
3948 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
3949
3950 * include/tr1/cmath (fabs): Define.
3951 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
3952 in C++0x mode.
3953
3954 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
3955
3956 * testsuite/tr1/headers/c++200x/complex.cc: New.
3957
3958 2011-02-11 Johannes Singler <singler@kit.edu>
3959
3960 PR libstdc++/47433
3961 * include/parallel/losertree.h
3962 (_LoserTreeUnguarded<>::__delete_min_insert):
3963 Add missing "using std::swap;", as for other variants.
3964
3965 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
3966
3967 * src/Makefile.am (sources): Add regex.cc.
3968 * src/Makefile.in: Regenerate.
3969 * src/regex.cc: New.
3970 * include/bits/regex_error.h (error_type): Use constexpr.
3971 (regex_error): Move ctor and dtor out of line.
3972
3973 * testsuite/28_regex/03_requirements: To...
3974 * testsuite/28_regex/requirements: ... this.
3975 * testsuite/28_regex/04_header: To...
3976 * testsuite/28_regex/headers: ... this.
3977 * testsuite/28_regex/05_constants: To...
3978 * testsuite/28_regex/constants: ... this.
3979 * testsuite/28_regex/06_exception_type: To...
3980 * testsuite/28_regex/regex_error: ... this.
3981 * testsuite/28_regex/07_traits: To...
3982 * testsuite/28_regex/traits: ... this.
3983 * testsuite/28_regex/08_basic_regex: To...
3984 * testsuite/28_regex/basic_regex: ... this.
3985 * testsuite/28_regex/09_sub_match: To...
3986 * testsuite/28_regex/sub_match: ... this.
3987 * testsuite/28_regex/10_match_results: To...
3988 * testsuite/28_regex/match_results: ... this.
3989 * testsuite/28_regex/11_algorithms: To...
3990 * testsuite/28_regex/algorithms: ... this.
3991 * testsuite/28_regex/12_iterators: To...
3992 * testsuite/28_regex/iterators: ... this.
3993
3994 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
3995
3996 PR libstdc++/47662
3997 * include/bits/c++config: Do not use alternative token.
3998 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
3999
4000 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4001
4002 * src/future.cc (future_error_category::message): Handle no_state.
4003
4004 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
4005
4006 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
4007 not test in C++0x mode.
4008 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
4009 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
4010 in C++0x mode too.
4011
4012 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4013
4014 * doc/xml/manual/status_cxx200x.xml: Update.
4015 * doc/html/*: Regenerate.
4016
4017 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4018
4019 * doc/xml/manual/debug.xml: Improve data race docs.
4020
4021 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
4022
4023 PR libstdc++/47668
4024 * include/debug/map.h (map): Remove unnecessary using-declaration.
4025 * include/debug/multimap.h (multimap): Likewise.
4026 * include/profile/map.h (map): Likewise.
4027 * include/profile/multimap.h (multimap): Likewise.
4028
4029 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
4030
4031 PR libstdc++/43863
4032 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
4033 Move to ...
4034 * libsupc++/guard_error.cc: ... new file.
4035 * libsupc++/Makefile.am: Update.
4036 * libsupc++/Makefile.in: Regenerate.
4037
4038 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
4039
4040 * include/std/future (packaged_task::operator bool): Rename to...
4041 (packaged_task::valid): ...this.
4042 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
4043 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
4044 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
4045 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
4046 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
4047 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
4048 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
4049 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
4050 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
4051 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
4052 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
4053
4054 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
4055
4056 * doc/xml/manual/io.xml: Fix typo.
4057 * doc/html/manual/streambufs.html: Likewise.
4058
4059 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
4060
4061 * config/abi/pre/gnu.ver: Fix.
4062
4063 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
4064
4065 * doc/xml/manual/appendix_porting.xml: Add doc section.
4066 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
4067 * doc/xml/manual/documentation_hacking.xml: ...here.
4068
4069 * doc/xml/manual/debug_mode.xml: Adjust.
4070 * doc/xml/manual/prerequisites.xml: Adjust.
4071 * doc/Makefile.am (xml_sources): Add dot files,
4072 documentation_hacking.xml.
4073 * doc/Makefile.in: Regenerate.
4074
4075 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
4076 * doc/xml/images/confdeps.pdf: Add.
4077
4078 * doc/html/*: Regenerate.
4079
4080 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
4081
4082 * doc/xml/gnu/fdl-1.2.xml: Remove.
4083 * doc/xml/gnu/gpl-2.0.xml: Remove.
4084 * doc/Makefile.am: Update.
4085 * doc/Makefile.in: Regenerate.
4086
4087 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
4088
4089 PR libstdc++/47628
4090 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
4091 iterator)): Add back in C++03 mode.
4092 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
4093 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
4094
4095 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
4096
4097 PR libstdc++/47560 try two
4098 * config/os/hpux/os_defines.h: Guard for C++.
4099
4100 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
4101
4102 * doc/xml/faq.xml: Adjust link to bug database.
4103 Remove old item on broken header files.
4104
4105 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
4106
4107 * include/bits/regex_error.h (__throw_regex_error): Not inline.
4108 * src/functexcept.cc: Add definition.
4109 * config/abi/pre/gnu.ver: Export.
4110
4111 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
4112
4113 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
4114 * configure: Regenerate.
4115
4116 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
4117
4118 PR libstdc++/46914
4119 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
4120 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
4121 avoid name conflicts.
4122
4123 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
4124
4125 PR libstdc++/47560
4126 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
4127
4128 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
4129
4130 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
4131 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
4132 (COMPACT_LATEX): Enable.
4133
4134 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
4135 * include/profile/impl/profiler_hash_func.h: Same.
4136 * include/bits/hashtable.h: Same.
4137 * include/backward/auto_ptr.h: Same.
4138 * include/backward/strstream: Same.
4139 * include/backward/backward_warning.h: Same.
4140 * include/backward/binders.h: Same.
4141
4142 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
4143
4144 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
4145 Adjust link to GDB manual.
4146
4147 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
4148
4149 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
4150 _GLIBCXX_USE_DEPRECATED.
4151 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
4152 * doc/xml/manual/using.xml: Same.
4153 * include/std/memory: Same.
4154 * include/std/streambuf: Same.
4155 * include/bits/shared_ptr.h: Same.
4156 * include/bits/unique_ptr.h: Same.
4157 * include/bits/shared_ptr_base.h: Same.
4158 * include/bits/stl_function.h: Same.
4159 * include/tr1/shared_ptr.h: Same.
4160 * include/backward/auto_ptr.h: Same.
4161 * include/backward/binders.h: Same.
4162
4163 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
4164
4165 * doc/html/ext/lwg-active.html: Update to Revision D73.
4166 * doc/html/ext/lwg-closed.html: Likewise.
4167 * doc/html/ext/lwg-defects.html: Likewise.
4168 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
4169
4170 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
4171
4172 PR libstdc++/36104 part four
4173 * include/bits/c++config (_GLIBCXX_STD): Remove.
4174 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
4175 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
4176 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
4177 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
4178 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
4179 _GLIBCXX_INLINE_PROFILE): Remove.
4180 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
4181 (_GLIBCXX_END_NAMESPACE): Remove.
4182 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
4183 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
4184 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
4185 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
4186 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
4187 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
4188 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
4189 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
4190 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
4191 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
4192 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
4193 * include/*: Use new macros for namespace scope.
4194 * config/*: Same.
4195 * src/*: Same.
4196
4197 * src/Makefile.am (sources): Remove debug_list.cc, add
4198 compatibility-debug_list-2.cc.
4199 (parallel_sources): Remove parallel_list.cc, add
4200 compatibility-parallel_list-2.cc.
4201 (compatibility-parallel_list-2.[o,lo]): New rule.
4202 * src/Makefile.in: Regenerate.
4203 * src/debug_list.cc: Remove.
4204 * src/parallel_list.cc: Remove.
4205 * src/compatibility-list-2.cc: New.
4206 * src/compatibility-debug_list-2.cc: New.
4207 * src/compatibility-parallel_list-2.cc: New.
4208
4209 * doc/doxygen/user.cfg.in: Adjust macros.
4210
4211 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
4212 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
4213 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
4214 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
4215 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
4216 * testsuite/20_util/forward/c_neg.cc: Same.
4217 * testsuite/20_util/forward/f_neg.cc: Same.
4218 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4219 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4220 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
4221 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
4222 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
4223 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
4224 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
4225 * testsuite/23_containers/deque/requirements/dr438/
4226 constructor_1_neg.cc: Same.
4227 * testsuite/23_containers/deque/requirements/dr438/
4228 constructor_2_neg.cc: Same.
4229 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
4230 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
4231 * testsuite/23_containers/forward_list/requirements/dr438/
4232 assign_neg.cc: Same.
4233 * testsuite/23_containers/forward_list/requirements/dr438/
4234 constructor_1_neg.cc: Same.
4235 * testsuite/23_containers/forward_list/requirements/dr438/
4236 constructor_2_neg.cc: Same.
4237 * testsuite/23_containers/forward_list/requirements/dr438/
4238 insert_neg.cc: Same.
4239 * testsuite/23_containers/list/capacity/29134.cc: Same.
4240 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
4241 * testsuite/23_containers/list/requirements/dr438/
4242 constructor_1_neg.cc: Same.
4243 * testsuite/23_containers/list/requirements/dr438/
4244 constructor_2_neg.cc: Same.
4245 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
4246 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
4247 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
4248 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
4249 * testsuite/23_containers/vector/requirements/dr438/
4250 constructor_1_neg.cc: Same.
4251 * testsuite/23_containers/vector/requirements/dr438/
4252 constructor_2_neg.cc: Same.
4253 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
4254 * testsuite/25_algorithms/sort/35588.cc: Same.
4255 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
4256 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
4257 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
4258 * testsuite/ext/profile/profiler_algos.cc: Same.
4259 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
4260 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
4261 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
4262 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
4263 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
4264
4265 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
4266
4267 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
4268 Improve description of one such reference.
4269
4270 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
4271
4272 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
4273 Standards Revision Group.
4274 * doc/xml/manual/locale.xml: Ditto.
4275 * doc/xml/manual/messages.xml: Ditto.
4276 * doc/xml/manual/using_exceptions.xml: Ditto.
4277
4278 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
4279
4280 * include/bits/atomic_base.h: Do not include <stddef.h>.
4281 (kill_dependency): Uglify ret.
4282
4283 2011-01-26 Johannes Singler <singler@kit.edu>
4284
4285 * include/parallel/numeric (inner_product, partial_sum):
4286 Qualify subsequent call with __gnu_parallel instead of
4287 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
4288 * include/parallel/algobase.h (equal): Likewise.
4289 * include/parallel/algo.h (find_first_of, search_n, merge,
4290 nth_element, partial_sort, max_element, min_element): Likewise.
4291 * testsuite/25_algorithms/headers/algorithm/
4292 parallel_algorithm_mixed1.cc (main): Add respective test cases.
4293 * testsuite/25_algorithms/headers/algorithm/
4294 parallel_algorithm_mixed2.cc (main): Likewise.
4295 * testsuite/26_numerics/headers/numeric/
4296 parallel_numeric_mixed1.cc (main): Likewise.
4297 * testsuite/26_numerics/headers/numeric/
4298 parallel_numeric_mixed2.cc (main): Likewise.
4299
4300 2011-01-24 Graham Reed <greed@pobox.com>
4301
4302 PR libstdc++/47387
4303 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
4304 provided.
4305
4306 2011-01-24 Johannes Singler <singler@kit.edu>
4307
4308 PR libstdc++/47433
4309 * include/parallel/losertree.h
4310 (_LoserTree<>::__delete_min_insert):
4311 Do not qualify swap with std:: for value type,
4312 but include a using directive instead.
4313 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
4314 * include/parallel/balanced_quicksort.h (__qsb_divide):
4315 Use std::iter_swap instead of std::swap.
4316 (__qsb_local_sort_with_helping): Likewise.
4317 * include/parallel/partition.h (__parallel_partition):
4318 Likewise. (__parallel_nth_element): Likewise.
4319
4320 2011-01-24 Johannes Singler <singler@kit.edu>
4321
4322 PR libstdc++/47437
4323 * include/parallel/multiway_merge.h (_UnguardedIterator):
4324 Remove useless "mutable" from reference declaration.
4325
4326 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
4327
4328 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
4329 * include/debug/safe_sequence.h: Same.
4330 * include/debug/safe_iterator.h: Same.
4331 * include/std/forward_list: Same.
4332 * include/std/deque: Same.
4333 * include/std/list: Same.
4334 * include/std/random: Same.
4335 * include/std/streambuf: Same.
4336 * include/std/fstream: Same.
4337 * include/std/istream: Same.
4338 * include/std/string: Same.
4339 * include/std/ostream: Same.
4340 * include/std/sstream: Same.
4341 * include/ext/vstring.h: Same.
4342 * include/bits/basic_ios.h: Same.
4343 * include/bits/locale_classes.h: Same.
4344 * include/bits/locale_facets.h: Same.
4345 * include/bits/valarray_array.h: Same.
4346 * include/bits/locale_facets_nonio.h: Same.
4347 * include/tr1/random: Same.
4348
4349 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4350
4351 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
4352
4353 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
4354
4355 PR libstdc++/36104 part three
4356 * src/hashtable_c++0x.cc: Adjust namespace macros.
4357 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
4358 * config/abi/pre/gnu-versioned-namespace.ver: Update.
4359
4360 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
4361
4362 * include/ext/pb_ds/detail/resize_policy/
4363 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
4364 * include/ext/pb_ds/detail/pat_trie_/
4365 constructors_destructor_fn_imps.hpp: Same.
4366 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
4367 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
4368 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
4369
4370 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
4371 iterations downward when testing in debug mode.
4372 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
4373 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
4374 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
4375 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
4376 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
4377 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
4378 reduce in debug mode.
4379
4380 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
4381
4382 PR libstdc++/36104 part two
4383 * include/bits/hashtable.h: Revert to non-nested macro usage.
4384 * include/bits/hashtable_policy.h: Same.
4385
4386 2011-01-19 Graham Reed <greed@pobox.com>
4387
4388 PR libstdc++/47354
4389 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
4390
4391 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
4392
4393 * doc/xml/images/confdeps.png: Regenerate.
4394
4395 * include/std/chrono (duration): Mark copy constructor constexpr.
4396 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
4397
4398 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
4399
4400 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
4401 Declare defaulted per DR 1517.
4402 * testsuite/util/testsuite_common_types.h
4403 (constexpr_defaulted_default_constructible): Add.
4404 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
4405
4406 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
4407
4408 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
4409 Implement DR 1198.
4410 * include/bits/stl_stack.h (stack<>::swap): Likewise.
4411
4412 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
4413
4414 PR libstdc++/47323
4415 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
4416 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
4417
4418 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
4419
4420 PR libstdc++/47320
4421 * testsuite/18_support/numeric_limits/lowest.cc:
4422 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
4423
4424 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
4425
4426 PR libstdc++/47321
4427 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
4428 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
4429
4430 2011-01-16 François Dumont <francois.cppdevs@free.fr>
4431
4432 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
4433 to this. Use _neg suffix.
4434 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
4435 this.
4436 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
4437 Same.
4438 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
4439 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
4440 Same.
4441 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
4442 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
4443 Same.
4444 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
4445 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
4446 Same.
4447 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
4448 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
4449 Same.
4450 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
4451 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
4452 Same.
4453 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
4454 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
4455 Same.
4456 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
4457 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
4458 Same.
4459 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
4460 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
4461 Same.
4462 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
4463 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
4464 Same.
4465 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
4466 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
4467 Same.
4468 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
4469 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
4470 Same.
4471 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
4472 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
4473 Same.
4474 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
4475 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
4476 Same.
4477 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
4478 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
4479 Same.
4480 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
4481
4482 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
4483
4484 PR libstdc++/36104
4485 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
4486 * include/Makefile.in: Regenerate.
4487 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
4488 (install-stdHEADERS, install-bitsHEADERS): New.
4489 * libsupc++/Makefile.in: Regenerate.
4490
4491 * include/bits/c++config: Update for inline namespaces.
4492 * libsupc++/cxxabi-forced.h: To...
4493 * libsupc++/cxxabi_forced.h: ...this.
4494 * libsupc++/hash_bytes.h: Separate file.
4495 * libsupc++/typeinfo: Use it.
4496 * libsupc++/exception: Adjust for bits subdirectory.
4497 * libsupc++/eh_aux_runtime.cc: Same.
4498 * libsupc++/eh_ptr.cc: Same.
4499 * libsupc++/new_op.cc: Same.
4500 * libsupc++/exception_defines.h: Same.
4501 * libsupc++/nested_exception.h: Same.
4502 * libsupc++/eh_terminate.cc: Same.
4503 * libsupc++/vec.cc: Same.
4504 * libsupc++/vterminate.cc: Same.
4505 * libsupc++/exception_ptr.h: Same.
4506 * libsupc++/eh_personality.cc: Same.
4507 * libsupc++/eh_call.cc: Same.
4508 * libsupc++/new_opnt.cc: Same.
4509 * libsupc++/hash_bytes.cc: Same.
4510 * config/cpu/arm/cxxabi_tweaks.h: Same.
4511 * config/cpu/generic/cxxabi_tweaks.h: Same.
4512 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
4513 * include/std/bitset: Same.
4514 * include/ext/vstring.tcc: Same.
4515 * include/bits/hashtable.h: Same.
4516 * include/bits/functional_hash.h: Same.
4517 * include/bits/hashtable_policy.h: Same.
4518 * include/bits/basic_string.h: Same.
4519 * include/bits/istream.tcc: Same.
4520 * include/bits/ostream.tcc: Same.
4521 * include/bits/algorithmfwd.h: Same.
4522 * include/bits/basic_string.tcc: Same.
4523 * include/bits/ostream_insert.h: Same.
4524 * include/bits/fstream.tcc: Same.
4525 * include/bits/functexcept.h: Same.
4526
4527 * doc/doxygen/user.cfg.in: Adjust names.
4528
4529 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
4530
4531 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
4532
4533 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
4534 tweaks.
4535 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
4536
4537 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
4538
4539 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
4540 * testsuite/25_algorithms/is_permutation/requirements/
4541 explicit_instantiation/2.cc: Likewise.
4542 * testsuite/25_algorithms/is_permutation/requirements/
4543 explicit_instantiation/pod.cc: Likewise.
4544 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
4545
4546 2011-01-13 John Lakos <jlakos@bloomberg.net>
4547 Pablo Halpern <phalpern@halpernwightsoftware.com>
4548 Paolo Carlini <paolo.carlini@oracle.com>
4549
4550 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
4551 * include/bits/algorithmfwd.h: Add.
4552
4553 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
4554
4555 PR libstdc++/47045
4556 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
4557
4558 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
4559
4560 * aclocal.m4: Regenerate.
4561
4562 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
4563
4564 PR libstdc++/47185
4565 * src/placeholders.cc: New.
4566 * src/Makefile.am: Adjust.
4567 * src/Makefile.in: Regenerate.
4568 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
4569 extern.
4570 * config/abi/pre/gnu.ver: Export.
4571
4572 2011-01-05 François Dumont <francois.cppdevs@free.fr>
4573
4574 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
4575 * include/src/debug.cc: Use latter
4576 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
4577 correctly handle before_begin iterators.
4578 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
4579 useless _GLIBCXX_DEBUG checks.
4580
4581 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
4582
4583 PR libstdc++/47145
4584 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
4585 * configure: Regenerated.
4586
4587 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
4588
4589 PR libstdc++/46922
4590 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
4591
4592 \f
4593 Copyright (C) 2011 Free Software Foundation, Inc.
4594
4595 Copying and distribution of this file, with or without modification,
4596 are permitted in any medium without royalty provided the copyright
4597 notice and this notice are preserved.