1 2010-03-13 Paolo Carlini <paolo.carlini@oracle.com>
3 * include/tr1_impl/array (swap(array<>&, array<>&)): Use member swap.
5 * include/bits/stl_algo.h: Improve comment.
7 2010-03-12 Benjamin Kosnik <bkoz@redhat.com>
9 * scripts/run_doxygen: Adjust.
10 * doc/doxygen/user.cfg.in: Adjust latex, xml prefs.
11 * doc/xml/api.xml: Update.
12 * doc/Makefile.am: Re-do stamp rules.
13 * doc/Makefile.in: Regenerate.
15 2010-03-10 Paolo Carlini <paolo.carlini@oracle.com>
17 * include/bits/hashtable_policy.h (_Rehash_base<_Prime_rehash_policy,
18 _Hashtable>::reserve): Add, per DR 1189.
19 * include/bits/hashtable.h (_Hashtable<>::size_type,
20 _Hashtable<>::difference_type): Do not typedef from _Allocator.
21 * testsuite/23_containers/unordered_map/dr1189.cc: New.
22 * testsuite/23_containers/unordered_set/dr1189.cc: Likewise.
23 * testsuite/23_containers/unordered_multimap/dr1189.cc: Likewise.
24 * testsuite/23_containers/unordered_multiset/dr1189.cc: Likewise.
26 2010-03-08 Paolo Carlini <paolo.carlini@oracle.com>
29 2010-02-11 Paolo Carlini <paolo.carlini@oracle.com>
31 PR libstdc++/41975, DR 579
32 * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
33 (erase(const_iterator), erase(const_iterator, const_iterator)):
34 Change return type to void.
35 * include/debug/unordered_map: Adjust.
36 * include/debug/unordered_set: Likewise.
37 * testsuite/util/exception/safety.h: Likewise.
38 * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
39 * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
40 * testsuite/23_containers/unordered_set/erase/1.cc: Likewise.
41 * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
42 * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
43 * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
45 * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
46 * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
49 2010-03-04 Paolo Carlini <paolo.carlini@oracle.com>
51 * testsuite/util/testsuite_container_traits.h (traits_base): Add
52 has_throwing_erase trait.
53 (traits<vector>, traits<deque>): Typedef the latter to true_type.
54 * testsuite/util/exception/safety.h (generation_prohibited):
55 Do not test vector::erase and deque::erase: can throw if
56 either copy constructor or assignment operator of value_type
58 * testsuite/23_containers/vector/requirements/exception/
59 generation_prohibited.cc: Remove xfail.
60 * testsuite/23_containers/deque/requirements/exception/
61 generation_prohibited.cc: Likewise.
63 * include/ext/throw_allocator.h (hash<__gnu_cxx::throw_value_limit>::
64 operator(), hash<__gnu_cxx::throw_value_random>::operator()): Pass
65 argument by const ref.
67 * testsuite/util/testsuite_container_traits.h (traits<map>,
68 traits<multimap>, traits<set>, traits<multiset>,
69 traits<unordered_map>, traits<unordered_multimap>,
70 traits<unordered_set>, traits<unordered_multiset>): Typedef
71 consistently has_erase and has_insert as true_type.
73 * testsuite/util/testsuite_container_traits.h
74 (traits<unordered_map>, traits<unordered_multimap>,
75 traits<unordered_set>, traits<unordered_multiset>): Do not wrongly
76 typedef has_size_type_constructor as true_type: the constructor
77 accepting a size_type actually gets the initial number of
80 2010-03-03 Benjamin Kosnik <bkoz@redhat.com>
82 * doc/Makefile.am: Re-organize xml sources.
83 (doc-latex-doxygen): New.
84 (doc-pdf-doxygen): New.
85 (stamp-xml-doxygen, stamp-latex-doxygen): New.
86 * doc/Makefile.in: Regenerate.
87 * doc/doxygen/user.cfg.in: Add support here.
88 * doc/xml/manual/appendix_contributing.xml: Add specifics.
90 * doc/xml/manual/concurrency.xml: New.
91 * doc/xml/manual/atomics.xml: New.
92 * doc/xml/manual/spine.xml: Adjust.
93 * doc/xml/manual/diagnostics.xml: Adjust.
95 2010-03-03 Paolo Carlini <paolo.carlini@oracle.com>
96 Jonathan Wakely <jwakely.gcc@gmail.com>
98 * include/bits/unique_ptr.h (unique_ptr<>::get_deleter): Simplify
100 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust
101 dg-error line number.
102 * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
104 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>
106 * include/debug/bitset (hash): Minor tweaks.
107 * include/debug/vector (hash): Likewise.
108 * include/profile/bitset (hash): Likewise.
109 * include/profile/vector (hash): Likewise.
111 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>
113 * include/bits/functional_hash.h (_Fnv_hash_base<>::hash): Change
115 * include/tr1/functional_hash.h (_Fnv_hash_base<>::hash): Likewise.
116 * include/bits/vector.tcc (hash): Adjust.
117 * include/bits/basic_string.h (hash): Likewise.
118 * include/std/bitset (hash): Likewise.
119 * src/hash-string-aux.cc (hash): Likewise.
121 2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com>
123 * include/std/mutex (lock_guard::lock_guard): Do not lock mutex when
124 adopt_lock_t constructor is used.
125 * testsuite/30_threads/lock_guard/cons/1.cc: New.
127 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>
129 * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>::
130 operator()(const vector<bool, _Alloc>&)): Move definition...
131 * include/bits/vector.tcc: ... here.
133 2010-03-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
135 * testsuite/Makefile.am (check-DEJAGNU): Include de* in normal0
137 * testsuite/Makefile.in: Regenerate.
139 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>
141 * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>): Add.
142 * include/debug/vector (hash<__debug::vector<bool, _Alloc>>):
144 * include/profile/vector (hash<__profile::vector<bool, _Alloc>>):
146 * testsuite/23_containers/vector/bool/hash/1.cc: New.
148 * include/std/bitset (hash<bitset<_Nb>>): Small tweaks.
149 (hash<bitset<0>>): Add.
150 * include/debug/bitset (hash<__debug::bitset<_Nb>>): Forward to
152 * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
153 * testsuite/23_containers/bitset/hash/1.cc: Improve.
155 2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com>
158 * testsuite/30_threads/promise/members/set_value3.cc
159 (tester::~tester): Remove.
161 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>
163 * include/std/bitset (_Base_bitset<>::_M_getdata()): Add.
164 (hash<bitset<_Nb>>): Add, use the latter.
165 * include/debug/bitset (hash<__debug::bitset<_Nb>>): Add.
166 * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
167 * testsuite/23_containers/bitset/hash/1.cc: New.
169 2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com>
172 * include/bits/unique_ptr.h (reset): Fix as per working paper.
173 (operator*, operator->, operator[], operator bool, release): Use
174 pointer's null value instead of 0.
175 * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
176 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
177 * testsuite/20_util/unique_ptr/modifiers/43183.cc: New.
179 2010-03-01 Paolo Carlini <paolo.carlini@oracle.com>
181 * include/std/iomanip (get_money, put_money): Add in C++0x mode; tidy.
182 * testsuite/27_io/manipulators/extended/get_money/char/1.cc: New.
183 * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
185 * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
186 * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
189 2010-03-01 Benjamin Kosnik <bkoz@redhat.com>
191 * include/bits/atomicfwd_cxx.h: Add typedefs to group.
193 2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
196 * testsuite/Makefile.am (check-DEJAGNU
197 $(check_DEJAGNU_normal_targets)): Export AR, RANLIB.
198 * testsuite/Makefile.in: Regenerate.
200 2010-02-28 Gerald Pfeifer <gerald@pfeifer.com>
202 * doc/html/ext/pb_ds/references.html: Adjust link to SGI's STL
205 2010-02-28 Paolo Carlini <paolo.carlini@oracle.com>
207 * src/hash-long-double-aux.cc (hash<long double>::
208 operator()(long double)): Hash both -0 and +0 to 0.
210 2010-02-25 Ed Smith-Rowland <3dw4rd@verizon.net>
212 * include/bits/random.tcc (operator<<): Use max_digits10.
214 2010-02-25 Ed Smith-Rowland <3dw4rd@verizon.net>
216 * include/std/limits (__numeric_limits_base::max_digits10,
217 numeric_limits<>::max_digits10, numeric_limits<>::lowest): Add.
218 * src/limits.cc: Define max_digits10.
219 * config/abi/pre/gnu.ver: Adjust.
220 * testsuite/18_support/numeric_limits/dr559.cc: Test max_digits10
222 * testsuite/18_support/numeric_limits/lowest.cc: New.
223 * testsuite/18_support/numeric_limits/max_digits10.cc: New.
225 2010-02-25 Paolo Carlini <paolo.carlini@oracle.com>
227 * include/bits/functional_hash.h (__hash_combine): Remove.
228 (_Fnv_hash_base<>::hash(const char*, size_t)): Add defaulted
230 (_Fnv_hash::__hash_combine(const _Tp&, size_t)): Add.
231 * include/std/system_error (hash<system_error>): Adjust.
232 * src/compatibility-c++0x.cc (hash<system_error>): Likewise.
234 2010-02-24 Benjamin Kosnik <bkoz@redhat.com>
236 * doc/xml/faq.xml: Adjust structure for pdf index.
237 * doc/xml/manual/mt_allocator.xml: Same.
238 * doc/xml/manual/allocator.xml: Same.
239 * doc/xml/manual/ctype.xml: Same.
240 * doc/xml/manual/numerics.xml: Same.
241 * doc/xml/manual/codecvt.xml: Same.
242 * doc/xml/manual/intro.xml: Same.
243 * doc/xml/manual/shared_ptr.xml: Same.
244 * doc/xml/manual/status_cxxtr1.xml: Same.
245 * doc/xml/manual/auto_ptr.xml: Same.
246 * doc/xml/manual/internals.xml: Same.
247 * doc/xml/manual/status_cxx1998.xml: Same.
248 * doc/xml/manual/parallel_mode.xml: Same.
249 * doc/xml/manual/profile_mode.xml: Same.
250 * doc/xml/manual/containers.xml: Same.
251 * doc/xml/manual/io.xml: Same.
252 * doc/xml/manual/concurrency_extensions.xml: Same.
253 * doc/xml/manual/appendix_porting.xml: Same.
254 * doc/xml/manual/utilities.xml: Same.
255 * doc/xml/manual/support.xml: Same.
256 * doc/xml/manual/bitmap_allocator.xml: Same.
257 * doc/xml/manual/configure.xml: Same.
258 * doc/xml/manual/build_hacking.xml: Same.
259 * doc/xml/manual/evolution.xml: Same.
260 * doc/xml/manual/using.xml: Same.
261 * doc/xml/manual/debug.xml: Same.
262 * doc/xml/manual/localization.xml: Same.
263 * doc/xml/manual/strings.xml: Same.
264 * doc/xml/manual/debug_mode.xml: Same.
265 * doc/xml/manual/locale.xml: Same.
266 * doc/xml/manual/extensions.xml: Same.
267 * doc/xml/manual/appendix_contributing.xml: Same.
268 * doc/xml/manual/prerequisites.xml: Same.
269 * doc/xml/manual/messages.xml: Same.
270 * doc/xml/manual/diagnostics.xml: Same.
271 * doc/xml/manual/algorithms.xml: Same.
272 * doc/xml/manual/appendix_free.xml: Same.
273 * doc/xml/manual/iterators.xml: Same.
274 * doc/xml/manual/spine.xml: Same.
275 * doc/xml/manual/status_cxxtr24733.xml: Same.
276 * doc/xml/manual/status_cxx200x.xml: Same.
277 * doc/Makefile.am: Refactor.
278 * doc/Makefile.in: Regenerate.
280 * include/bits/c++0x_warning.h: Tweak doxygen file markup.
282 2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
284 * testsuite/ext/new_allocator/deallocate_global.cc: Require
286 * testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.
288 2010-02-23 Benjamin Kosnik <bkoz@redhat.com>
290 * doc/xml/manual/concurrency.xml: Move...
291 * doc/xml/manual/concurrency_extensions.xml: ...here.
292 * doc/xml/manual/extensions.xml: Adjust.
293 * doc/Makefile.am: Adjust.
294 * doc/Makefile.in: Regenerate.
296 2010-02-23 Benjamin Kosnik <bkoz@redhat.com>
298 * include/bits/random.h: Doxygen group markup fixes.
300 2010-02-23 Paolo Carlini <paolo.carlini@oracle.com>
302 * include/bits/functional_hash.h (struct _Fnv_hash): Rename
304 (struct _Fnv_hash): Add, derives from the latter.
305 (__hash_combine): Add.
306 (hash<float>::operator()(float), hash<double>::operator()(double)):
308 * include/bits/basic_string.h (hash<string>, hash<wstring>,
309 hash<u16string>, hash<u32string>): Adjust.
310 * src/hash-string-aux.cc: Adjust.
311 * src/compatibility-c++0x.cc (hash<error_code>): Use __hash_combine.
312 * include/std/system_error (hash<error_code>): Likewise.
313 * include/std/thread (struct hash<thread::id>): Add.
314 * include/tr1/functional_hash.h : Rename to _Fnv_hash_base.
315 (struct _Fnv_hash): Add, derives from the latter.
316 (hash<float>::operator()(float), hash<double>::operator()(double)):
318 * testsuite/30_threads/thread/id/hash.cc: New.
319 * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust dg-error
321 * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
323 2010-02-22 Janis Johnson <janis187@us.ibm.com>
325 * src/compatibility-ldbl.cc: Include new hash-long-double-aux.cc.
327 2010-02-22 Paolo Carlini <paolo.carlini@oracle.com>
329 * src/hash-aux.cc: Rename to...
330 * src/hash-string-aux.cc: ... this.
331 * src/hash-long-double-aux.cc: New.
332 * src/hash_c++0x.cc: Adjust.
333 * src/hash_tr1.cc: Likewise.
334 * src/compatibility-c++0x.cc: Likewise.
336 2010-02-22 Benjamin Kosnik <bkoz@redhat.com>
338 * doc/xml/class.txml: Adjust biblio markup.
339 * doc/xml/manual/allocator.xml: Same.
340 * doc/xml/manual/ctype.xml: Same.
341 * doc/xml/manual/codecvt.xml: Same.
342 * doc/xml/manual/backwards_compatibility.xml: Same.
343 * doc/xml/manual/abi.xml: Same.
344 * doc/xml/manual/shared_ptr.xml: Same.
345 * doc/xml/manual/profile_mode.xml: Same.
346 * doc/xml/manual/using_exceptions.xml: Same.
347 * doc/xml/manual/locale.xml: Same.
348 * doc/xml/manual/appendix_contributing.xml: Same.
349 * doc/xml/manual/messages.xml: Same.
350 * doc/Makefile.am (DBLATEX_FLAGS): Adjust.
351 * doc/Makefile.in: Regenerate.
353 2010-02-22 François Dumont <francois.cppdevs@free.fr>
355 * doc/xml/manual/profile_mode.xml: Minor updates and fixes.
356 * doc/xml/manual/debug_mode.xml: Likewise.
357 * doc/xml/manual/test.xml: Likewise.
359 2010-02-22 Paolo Carlini <paolo.carlini@oracle.com>
361 * include/tr1_impl/complex (arg): Use std::signbit only when
364 2010-02-22 Paolo Carlini <paolo.carlini@oracle.com>
366 * include/bits/functional_hash.h (hash<string>, hash<wstring>,
367 hash<u16string>, hash<u32string>, hash<error_code>): Move, per
369 * include/bits/basic_string.h: ... here.
370 * include/std/system_error: ... and here, respectively.
371 * src/hash-aux.cc (hash<long double>::operator()(long double)):
373 * src/hash_c++0x.cc: ... here, new file.
374 * src/hash_tr1.cc: ... and here, tweak includes.
375 * src/compatibility-c++0x.cc (hash, _Fnv_hash): Remove.
376 * src/Makefile.am: Adjust.
377 * src/Makefile.in: Regenerate.
378 * include/std/functional: Include <bits/functexcept.h>.
379 * include/std/unordered_set: Remove redundant include.
380 * include/std/unordered_map: Likewise.
381 * include/tr1/functional_hash.h: Remove spurious trailing semicolon.
382 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Remove
385 2010-02-21 Paolo Carlini <paolo.carlini@oracle.com>
387 * include/std/complex (proj): Change return type per DR 1137.
388 (conj): Copy from tr1_impl, likewise adjust return type.
389 * include/tr1_impl/complex (conj): Remove.
390 * include/tr1/complex (conj): Add both overloads.
391 * testsuite/26_numerics/complex/dr781.cc: Rename to...
392 * testsuite/26_numerics/complex/dr781_dr1137.cc: ... this, and extend.
394 * include/tr1_impl/complex (arg): Optimize.
396 2010-02-21 Paolo Carlini <paolo.carlini@oracle.com>
398 * testsuite/20_util/is_trivial/requirements/typedefs.cc: New.
399 * testsuite/20_util/is_trivial/requirements/
400 explicit_instantiation.cc: Likewise.
401 * testsuite/20_util/is_pod/value.cc: Likewise.
402 * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise.
403 * testsuite/20_util/is_pod/requirements/
404 explicit_instantiation.cc: Likewise.
405 * testsuite/20_util/is_standard_layout/requiremenents/
406 typedefs.cc: Likewise.
407 * testsuite/20_util/is_standard_layout/requiremenents/
408 explicit_instantiation.cc: Likewise.
410 2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
413 * testsuite/18_support/headers/cstddef/macros.cc: Add
414 -Wno-conversion-null.
416 2010-02-19 Paolo Carlini <paolo.carlini@oracle.com>
418 * include/tr1_impl/array (array): Add pointer and const_pointer
419 typedefs in C++0x mode, per DR 1306.
420 * testsuite/util/testsuite_containers.h (basic_types): Add pointer
421 and const_pointer typedefs.
422 (pointer_aware_types): Remove.
423 * testsuite/util/testsuite_container_traits.h: Adjust.
425 2010-02-19 Paolo Carlini <paolo.carlini@oracle.com>
427 * include/bits/stl_algo.h (for_each): Implement resolution of DR 1110.
428 * testsuite/25_algorithms/for_each/1.cc: New.
430 2010-02-19 Paolo Carlini <paolo.carlini@oracle.com>
432 * include/bits/shared_ptr_base.h (__weak_ptr): Remove deleted
433 comparison operators, per DR 1256.
434 * include/bits/shared_ptr.h (weak_ptr): Likewise.
435 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
437 2010-02-18 Benjamin Kosnik <bkoz@redhat.com>
439 * scripts/run_doxygen: Add shortnames option.
440 * doc/Makefile.am (doc-man-doxygen): Use it.
441 (doc-html-doxygen): Use it.
442 (doc-xml-doxygen): Use it, but default to NO.
443 (doc-pdf-dblatex): Add.
444 * doc/Makefile.in: Regenerate.
445 * doc/doxygen/user.cfg.in: Update filelist.
446 * include/bits/locale_facets.h: Fix markup warning.
448 2010-02-18 Benjamin Kosnik <bkoz@redhat.com>
450 * doc/xml/manual/using.xml: Update.
451 * doc/xml/manual/status_cxx1998.xml: Same.
452 * doc/xml/manual/status_cxx200x.xml: Add link.
453 * doc/html/*: Regenerate.
455 * testsuite/17_intro/freestanding.cc: Add.
457 2010-02-18 Paolo Carlini <paolo.carlini@oracle.com>
459 * libsupc++/typeinfo: Add system_header pragma.
460 * libsupc++/exception: Likewise.
461 * libsupc++/cxxabi-forced.h: Likewise.
462 * libsupc++/new: Likewise.
463 * libsupc++/cxxabi.h: Likewise.
464 * libsupc++/initializer_list: Likewise.
466 2010-02-18 Paolo Carlini <paolo.carlini@oracle.com>
468 * libsupc++/nested_exception.h: Fix <bits/c++0x_warning.h> include.
470 2010-02-17 Benjamin Kosnik <bkoz@redhat.com>
472 * doc/xml/manual/appendix_contributing.xml: Update markup rules
473 for quoting and functions.
475 2010-02-17 Chris Jefferson <chris@bubblescope.net>
477 * include/bits/locale_facets.h (__convert_to_v): Add empty
478 exception-specification.
480 2010-02-17 Paolo Carlini <paolo.carlini@oracle.com>
482 * include/std/limits: Implement resolution of DR 559 (CD1) in
484 * testsuite/18_support/numeric_limits/dr559.cc: New.
486 2010-02-16 Benjamin Kosnik <bkoz@redhat.com>
488 * src/ios_locale.cc: Fixes for -pedantic.
489 * src/system_error.cc: Same.
490 * src/locale.cc: Same.
492 * src/locale_facets.cc: Same.
493 * src/locale_init.cc: Same.
495 * config/locale/darwin/ctype_members.cc: Same.
496 * config/locale/gnu/collate_members.cc: Same.
497 * config/locale/gnu/ctype_members.cc: Same.
498 * config/locale/gnu/c_locale.cc: Same.
499 * config/locale/gnu/monetary_members.cc: Same.
500 * config/locale/gnu/time_members.cc: Same.
501 * config/locale/ieee_1003.1-2001/c_locale.cc: Same.
502 * config/locale/generic/collate_members.cc: Same.
503 * config/locale/generic/ctype_members.cc: Same.
504 * config/locale/generic/c_locale.cc: Same.
505 * config/locale/generic/monetary_members.cc: Same.
506 * config/locale/generic/time_members.cc: Same.
507 * config/io/basic_file_stdio.cc: Same.
509 * libsupc++/pbase_type_info.cc: Fixes for -fno-rtti.
510 * libsupc++/pointer_type_info.cc: Same.
511 * libsupc++/eh_personality.cc: Same.
513 * include/std/system_error: Throw spacing.
514 * include/bits/locale_classes.h: Same.
515 * include/bits/locale_facets.h: Same.
516 * include/bits/ios_base.h: Same.
518 * testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New.
519 * testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New.
521 2010-02-16 Paolo Carlini <paolo.carlini@oracle.com>
523 * include/bits/random.h (linear_congruential_engine(_Sseq&),
524 mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)):
525 Do not enable for the type itself.
526 (discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&),
527 shuffle_order_engine(_Sseq&)): Do not enable for the type itself too.
528 (linear_congruential_engine<>::seed(_Sseq&),
529 mersenne_twister_engine<>::seed(_Sseq&),
530 subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the
532 (discard_block_engine<>::seed(_Sseq&),
533 independent_bits_engine<>::seed(_Sseq&),
534 shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if.
535 * include/bits/random.tcc: Adjust definitions.
536 * testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc:
538 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
540 * testsuite/26_numerics/random/discard_block_engine/cons/
542 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
544 * testsuite/26_numerics/random/linear_congruential_engine/cons/
546 * testsuite/26_numerics/random/shuffle_order_engine/cons/
549 * testsuite/26_numerics/random/independent_bits_engine/cons/
550 base_move.cc: Minor tweaks.
551 * testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc:
553 * testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc:
555 * testsuite/26_numerics/random/independent_bits_engine/cons/
556 base_copy.cc: Likewise.
557 * testsuite/26_numerics/random/independent_bits_engine/cons/
558 default.cc: Likewise.
559 * testsuite/26_numerics/random/independent_bits_engine/cons/
560 seed_seq.cc: Likewise.
561 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
563 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
565 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
566 default.cc: Likewise.
567 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
568 seed_seq.cc: Likewise.
569 * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
571 * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
573 * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
575 * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
577 * testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
579 * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
581 * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc:
583 * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc:
585 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
586 default.cc: Likewise.
587 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
588 seed_seq.cc: Likewise.
589 * testsuite/26_numerics/random/linear_congruential_engine/cons/
591 * testsuite/26_numerics/random/linear_congruential_engine/cons/
593 * testsuite/26_numerics/random/linear_congruential_engine/cons/
594 seed_seq.cc: Likewise.
595 * testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc:
597 * testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc:
599 * testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc:
601 * testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc:
603 * testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc:
605 * testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc:
608 2010-02-16 Paolo Carlini <paolo.carlini@oracle.com>
610 * include/bits/unique_ptr.h: (unique_ptr<>::
611 unique_ptr(const unique_ptr<_Up, _Up_Deleter>&),
612 operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant,
614 * include/bits/shared_ptr.h (shared_ptr<>::
615 shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
616 operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
617 * include/bits/shared_ptr_base.h (__shared_ptr<>::
618 __shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
619 operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
620 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
621 * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
622 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
623 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
626 2010-02-15 Paolo Carlini <paolo.carlini@oracle.com>
628 * testsuite/ext/median.cc: Adjust.
630 2010-02-15 Paolo Carlini <paolo.carlini@oracle.com>
632 * include/bits/stl_algo.h (__median): Move...
633 * include/ext/algorithm: ... here, being an SGI extension.
635 2010-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
636 Paolo Carlini <paolo.carlini@oracle.com>
638 PR libstdc++/42819, DR 1315
639 * include/std/future (async): Use std::result_of for the template
640 argument of the std::future return type; adjust everywhere.
641 * testsuite/30_threads/async/42819.cc: New.
642 * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
643 dg-error line number.
644 * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
645 * testsuite/30_threads/future/cons/assign_neg.cc: Likewise.
646 * testsuite/30_threads/future/cons/copy_neg.cc: Likewise.
647 * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
648 * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
650 2010-02-11 Paolo Carlini <paolo.carlini@oracle.com>
652 * config/abi/pre/gnu.ver: Revert last changes.
654 2010-02-11 Jason Merrill <jason@redhat.com>
656 * include/std/thread (~_Impl_base): Declare inline.
657 * libsupc++/nested_exception.h (~nested_exception): Likewise.
659 2010-02-11 Paolo Carlini <paolo.carlini@oracle.com>
661 PR libstdc++/41975, DR 579
662 * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
663 (erase(const_iterator), erase(const_iterator, const_iterator)):
664 Change return type to void.
665 * include/debug/unordered_map: Adjust.
666 * include/debug/unordered_set: Likewise.
667 * testsuite/util/exception/safety.h: Likewise.
668 * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
669 * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
670 * testsuite/23_containers/unordered_set/erase/1.cc: Likewise.
671 * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
672 * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
673 * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
675 * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
676 * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
679 2010-02-11 Paolo Carlini <paolo.carlini@oracle.com>
681 * config/abi/pre/gnu.ver: Avoid exporting inadvertently
682 std::nested_exception symbols at GLIBCXX_3.4.
684 2010-02-10 Jason Merrill <jason@redhat.com>
687 * include/std/thread (~_Impl_base): Move defaulted dtor out of line.
688 * libsupc++/nested_exception.h (~nested_exception): Likewise.
689 * testsuite/18_support/nested_exception/throw_with_nested.cc: Likewise.
690 * testsuite/18_support/nested_exception/rethrow_if_nested.cc: Likewise.
692 2010-02-10 Paolo Carlini <paolo.carlini@oracle.com>
694 * include/tr1/hashtable.h: Fold in include/tr1_impl/hashtable.h
696 * include/tr1_impl/hashtable.h: Remove.
697 * include/tr1_impl/hashtable_policy.h: Move and rename...
698 * include/tr1/hashtable_policy.h: ... here.
699 * include/tr1_impl/unordered_map: Move and rename...
700 * include/tr1/unordered_map.h: ... here.
701 * include/tr1_impl/unordered_set: Move and rename...
702 * include/tr1/unordered_set.h: ... here.
703 * include/tr1_impl/unordered_map: Move and rename...
704 * include/tr1/unordered_map.h: ... here.
705 * include/tr1/unordered_map: Adjust.
706 * include/tr1/unordered_set: Likewise.
707 * include/Makefile.am: Adjust.
708 * include/Makefile.in: Regenerate.
710 * include/std/c++0x_warning.h: Move...
711 * include/bits/c++0x_warning.h: ... here.
712 * include/debug/unordered_map: Adjust.
713 * include/debug/unordered_set: Likewise.
714 * include/std/tuple: Likewise.
715 * include/std/system_error: Likewise.
716 * include/std/forward_list: Likewise.
717 * include/std/thread: Likewise.
718 * include/std/type_traits: Likewise.
719 * include/std/future: Likewise.
720 * include/std/regex: Likewise.
721 * include/std/atomic: Likewise.
722 * include/std/ratio: Likewise.
723 * include/std/random: Likewise.
724 * include/std/unordered_map: Likewise.
725 * include/std/chrono: Likewise.: Likewise.
726 * include/std/condition_variable: Likewise.
727 * include/std/mutex: Likewise.
728 * include/std/unordered_set: Likewise.
729 * include/std/array: Likewise.
730 * include/profile/unordered_map: Likewise.
731 * include/profile/unordered_set: Likewise.
732 * include/c_global/cinttypes: Likewise.
733 * include/c_global/ctgmath: Likewise.
734 * include/c_global/cfenv: Likewise.
735 * include/c_global/cstdint: Likewise.
736 * include/c_global/cstdbool: Likewise.
737 * include/c_global/ccomplex: Likewise.
739 * include/bits/shared_ptr.h: Do not include <bits/c++0x_warning.h>
740 at all, the file is not meant to be included by the users.
741 * include/bits/functional_hash.h: Likewise.
742 * include/bits/unique_ptr.h: Likewise.
743 * include/bits/forward_list.h: Likewise.
745 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-*
747 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
748 * testsuite/23_containers/forward_list/requirements/dr438/
749 assign_neg.cc: Likewise.
750 * testsuite/23_containers/forward_list/requirements/dr438/
751 insert_neg.cc: Likewise.
752 * testsuite/23_containers/forward_list/requirements/dr438/
753 constructor_1_neg.cc: Likewise.
754 * testsuite/23_containers/forward_list/requirements/dr438/
755 constructor_2_neg.cc: Likewise.
756 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
757 * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
759 2010-02-10 Paolo Carlini <paolo.carlini@oracle.com>
761 * include/bits/hashtable.h: Fold in include/tr1_impl/hashtable.h
763 * include/bits/hashtable_policy.h: New, copy and adjust for
764 C++0x use, include/tr1_impl/hashtable_policy.h; fix erase and
765 insert member functions per n3000.
766 * include/bits/unordered_map.h: Likewise for include/tr1_impl/
768 * include/bits/unordered_set.h: Likewise for include/tr1_impl/
770 * include/Makefile.am: Adjust.
771 * include/Makefile.in: Regenerate.
772 * include/tr1/unordered_map: Adjust.
773 * include/tr1/unordered_set: Likewise.
774 * include/tr1_impl/unordered_map: Adjust, now used only by tr1.
775 * include/tr1_impl/hashtable: Likewise.
776 * include/tr1_impl/hashtable_policy.h: Likewise.
777 * include/tr1_impl/unordered_set: Likewise.
778 * include/std/unordered_map: Adjust and simplify includes.
779 * include/std/unordered_set: Likewise.
780 * include/debug/unordered_map: Adjuse erase and insert members.
781 * include/debug/unordered_set: Likewise.
782 * include/profile/unordered_map: Likewise.
783 * include/profile/unordered_set: Likewise.
784 * testsuite/util/exception/safety.h: Fix for the updated erase and
785 insert member functions of the unordered_containers.
786 * testsuite/23_containers/unordered_map/erase/1.cc: New.
787 * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
788 * testsuite/23_containers/unordered_map/insert/map_single.cc:
790 * testsuite/23_containers/unordered_map/insert/array_syntax.cc:
792 * testsuite/23_containers/unordered_map/insert/24061-map.cc: Likewise.
793 * testsuite/23_containers/unordered_map/insert/map_range.cc: Likewise.
794 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
795 * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
796 * testsuite/23_containers/unordered_multimap/erase/
797 24061-multimap.cc: Likewise.
798 * testsuite/23_containers/unordered_multimap/insert/
799 24061-multimap.cc: Likewise.
800 * testsuite/23_containers/unordered_multimap/insert/
801 multimap_range.cc: Likewise.
802 * testsuite/23_containers/unordered_multimap/insert/
803 multimap_single.cc: Likewise.
804 * testsuite/23_containers/unordered_set/erase/1.cc: Likewise.
805 * testsuite/23_containers/unordered_set/erase/24061-set.cc: Likewise.
806 * testsuite/23_containers/unordered_set/insert/set_single.cc: Likewise.
807 * testsuite/23_containers/unordered_set/insert/24061-set.cc: Likewise.
808 * testsuite/23_containers/unordered_set/insert/set_range.cc: Likewise.
809 * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
810 * testsuite/23_containers/unordered_multiset/erase/
811 24061-multiset.cc: Likewise.
812 * testsuite/23_containers/unordered_multiset/insert/
813 24061-multiset.cc: Likewise.
814 * testsuite/23_containers/unordered_multiset/insert/
815 multiset_range.cc: Likewise.
816 * testsuite/23_containers/unordered_multiset/insert/
817 multiset_single.cc: Likewise.
819 * testsuite/23_containers/set/operators/1_neg.cc: Tweak dg-errors
820 to avoid spurious fails in debug-mode.
821 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
823 2010-02-09 Benjamin Kosnik <bkoz@redhat.com>
825 * include/std/streambuf: Adjust doxygen group markup.
826 * include/std/functional: Same.
827 * include/ext/vstring.h: Same.
828 * include/ext/pb_ds/assoc_container.hpp: Same.
829 * include/ext/stdio_filebuf.h: Same.
830 * include/ext/stdio_sync_filebuf.h: Same.
831 * include/bits/localefwd.h: Same.
832 * include/bits/functional_hash.h: Same.
833 * include/bits/locale_classes.h: Same.
834 * include/bits/locale_facets.h: Same.
835 * include/bits/ios_base.h: Same.
836 * include/bits/codecvt.h: Same.
837 * include/bits/locale_facets_nonio.h: Same.
839 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
840 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
842 2010-02-08 Benjamin Kosnik <bkoz@redhat.com>
845 * include/tr1_impl/regex: Fix quoting issues in doxygen markup.
846 * include/bits/random.h: Fix multi-line doxygen function markup.
848 2010-02-08 Matthias Klose <doko@debian.org>
851 * include/std/istream: Fix '\' quoting in doxygen markup.
853 2010-02-08 Ed Smith-Rowland <3dw4rd@verizon.net>
855 * include/bits/random.tcc (uniform_int_distribution<>::
856 operator()(_UniformRandomNumberGenerator&, const param_type&)):
857 Use make_unsigned instead of __add_unsigned and conditional
858 instead of __conditional_type.
859 * include/std/random: Do not include <ext/type_traits.h> and
860 <ext/numeric_traits.h>.
862 2010-02-07 Paolo Carlini <paolo.carlini@oracle.com>
865 * include/bits/stl_list.h (_List_node_base::transfer): Rename
867 (_List_node_base::reverse): Rename to _M_reverse.
868 (_List_node_base::hook): Rename to _M_hook.
869 (_List_node_base::unhook): Rename to _M_unhook; adjust callers.
870 * include/bits/list.tcc: Adjust callers.
871 * src/list.cc: Adjust.
872 * src/compatibility.cc: Likewise.
873 * src/compatibility-list.cc: New.
874 * src/compatibility-debug_list.cc: Likewise.
875 * src/compatibility-parallel_list.cc: Likewise.
876 * src/Makefile.am: Add.
877 * src/Makefile.in: Regenerate.
878 * config/abi/pre/gnu.ver: Export _M_* symbols.
880 * src/hash.cc: Rename to hash-aux.cc.
881 * src/compatibility-ldbl.cc: Adjust.
882 * src/compatibility-c++0x.cc: Likewise.
883 * src/hash_tr1.cc: Likewise.
885 * src/hashtable.cc: Rename to hashtable-aux.cc.
886 * src/hashtable_c++0x.cc: Adjust.
887 * src/hashtable_tr1.cc: Likewise.
889 * src/limits_c++0x.cc: Fold...
890 * src/limits.cc... here.
892 2010-02-07 Paolo Carlini <paolo.carlini@oracle.com>
894 * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
895 pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
896 Revert to std::is_convertible, basing on DR 811.
898 2010-02-06 Paolo Carlini <paolo.carlini@oracle.com>
901 * config/abi/pre/gnu.ver: Fix wstring move assignment operator typo.
903 2010-02-06 Paolo Carlini <paolo.carlini@oracle.com>
906 * include/bits/valarray_before.h: Uglify the structs wrapping
907 cmath functions differently, eg, _Cos instead of __cos.
908 * include/bits/valarray_after.h: Adjust.
910 2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
912 * include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
915 2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
917 * include/std/future (swap(packaged_task<>&, packaged_task<>&),
918 swap(promise<>&, promise<>&)): Add; minor formatting fixes.
919 * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
920 dg-error line number.
921 * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
922 * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
923 * testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
925 2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
927 * include/bits/stl_algobase.h (struct __iter_base): Rename to
928 _Iter_base; add iterator_type typedef.
929 (struct __miter_base): Rename to _Miter_base.
930 (struct __niter_base): Rename to _Niter_base.
931 (__miter_base, __niter_base): Add, use the latter; adjust everywhere.
933 2010-02-04 Benjamin Kosnik <bkoz@redhat.com>
936 * doc/doxygen/user.cfg.in: Update file list.
937 * include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
938 * include/debug/safe_base.h: Same.
939 * include/debug/macros.h: Same.
940 * include/tr1_impl/regex: Same.
941 * include/std/iostream: Same.
942 * include/std/streambuf: Same.
943 * include/std/bitset: Same.
944 * include/std/iosfwd: Same.
945 * include/std/limits: Same.
946 * include/std/fstream: Same.
947 * include/std/istream: Same.
948 * include/std/ostream: Same.
949 * include/std/sstream: Same.
950 * include/parallel/multiway_merge.h: Same.
951 * include/parallel/for_each.h: Same.
952 * include/parallel/workstealing.h: Same.
953 * include/parallel/omp_loop_static.h: Same.
954 * include/parallel/omp_loop.h: Same.
955 * include/c_std/csignal: Same.
956 * include/c_std/cstdlib: Same.
957 * include/c_std/cstdio: Same.
958 * include/c_std/cstdarg: Same.
959 * include/c_std/cctype: Same.
960 * include/c_std/cerrno: Same.
961 * include/c_std/cmath: Same.
962 * include/c_std/ciso646: Same.
963 * include/c_std/ctime: Same.
964 * include/c_std/clocale: Same.
965 * include/c_std/climits: Same.
966 * include/c_std/cassert: Same.
967 * include/c_std/csetjmp: Same.
968 * include/c_std/cwchar: Same.
969 * include/c_std/cfloat: Same.
970 * include/c_std/cstring: Same.
971 * include/c_std/cstddef: Same.
972 * include/c_std/cwctype: Same.
973 * include/profile/iterator_tracker.h: Same.
974 * include/profile/impl/profiler_trace.h: Same.
975 * include/ext/vstring.h: Same.
976 * include/ext/algorithm: Same.
977 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
978 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
979 * include/ext/pb_ds/detail/type_utils.hpp: Same.
980 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
981 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
982 * include/ext/rc_string_base.h: Same.
983 * include/ext/stdio_sync_filebuf.h: Same.
984 * include/ext/functional: Same.
985 * include/ext/mt_allocator.h: Same.
986 * include/bits/basic_ios.h: Same.
987 * include/bits/stl_map.h: Same.
988 * include/bits/stl_algobase.h: Same.
989 * include/bits/stl_queue.h: Same.
990 * include/bits/locale_classes.h: Same.
991 * include/bits/stl_set.h: Same.
992 * include/bits/locale_facets.h: Same.
993 * include/bits/stl_stack.h: Same.
994 * include/bits/stl_iterator_base_types.h: Same.
995 * include/bits/basic_string.h: Same.
996 * include/bits/stl_multimap.h: Same.
997 * include/bits/ios_base.h: Same.
998 * include/bits/stl_deque.h: Same.
999 * include/bits/stl_multiset.h: Same.
1000 * include/bits/stl_iterator_base_funcs.h: Same.
1001 * include/bits/char_traits.h: Same.
1002 * include/bits/stl_algo.h: Same.
1003 * include/bits/stl_iterator.h: Same.
1004 * include/bits/stl_tempbuf.h: Same.
1005 * include/bits/random.tcc: Same.
1006 * include/bits/stl_function.h: Same.
1007 * include/bits/cpp_type_traits.h: Same.
1008 * include/bits/random.h: Same.
1009 * include/bits/allocator.h: Same.
1010 * include/bits/locale_facets_nonio.h: Same.
1011 * include/c_global/csignal: Same.
1012 * include/c_global/cstdlib: Same.
1013 * include/c_global/cstdio: Same.
1014 * include/c_global/cstdarg: Same.
1015 * include/c_global/cctype: Same.
1016 * include/c_global/cerrno: Same.
1017 * include/c_global/cmath: Same.
1018 * include/c_global/ciso646: Same.
1019 * include/c_global/ctime: Same.
1020 * include/c_global/clocale: Same.
1021 * include/c_global/climits: Same.
1022 * include/c_global/cassert: Same.
1023 * include/c_global/csetjmp: Same.
1024 * include/c_global/cwchar: Same.
1025 * include/c_global/cfloat: Same.
1026 * include/c_global/cstring: Same.
1027 * include/c_global/cstddef: Same.
1028 * include/c_global/cwctype: Same.
1029 * include/tr1/hypergeometric.tcc: Same.
1030 * include/tr1/random.tcc: Same.
1031 * include/tr1/functional: Same.
1032 * include/tr1/random.h: Same.
1033 * include/backward/auto_ptr.h: Same.
1034 * include/backward/binders.h: Same.
1035 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1036 Adjust line numbers.
1037 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1038 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1040 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1043 2010-02-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1045 * include/std/condition_variable (condition_variable_any): Provide
1046 definitions for all members.
1047 * src/condition_variable.cc (condition_variable_any): Adjust
1049 * config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
1050 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1051 Adjust dg-error line number.
1052 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1054 * testsuite/30_threads/condition_variable_any/members/1.cc: New.
1055 * testsuite/30_threads/condition_variable_any/members/2.cc: New.
1056 * testsuite/30_threads/condition_variable_any/requirements/
1057 standard_layout.cc: Remove.
1058 * testsuite/30_threads/condition_variable_any/native_handle/
1059 typesizes.cc: Remove.
1061 2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
1063 * include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
1064 for -fno-exceptions.
1066 2010-02-02 Benjamin Kosnik <bkoz@redhat.com>
1068 * include/bits/allocator.h: Fix for -fno-exceptions.
1069 * include/bits/basic_string.h (basic_string::shrink_to_fit): Same.
1071 2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
1073 * testsuite/30_threads/unique_future: Rename to /future.
1075 2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1078 * include/bits/random.h (linear_congruential_engine<>::
1079 linear_congruential_engine(seed_seq&),
1080 linear_congruential_engine<>::seed(seed_seq&),
1081 mersenne_twister<>::mersenne_twister(seed_seq&),
1082 mersenne_twister<>::seed(seed_seq&),
1083 subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
1084 subtract_with_carry_engine<>::seed(seed_seq&),
1085 discard_block_engine<>::discard_block_engine(seed_seq&),
1086 discard_block_engine<>::seed(seed_seq&),
1087 independent_bits_engine<>::independent_bits_engine(seed_seq&),
1088 independent_bits_engine<>::seed(seed_seq&),
1089 shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
1090 shuffle_order_engine<>::seed(seed_seq&)): Templatize.
1091 * include/bits/random.tcc: Adjust.
1092 * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
1094 * testsuite/26_numerics/random/mersenne_twister_engine/cons/
1095 seed_seq.cc: Likewise.
1096 * testsuite/26_numerics/random/linear_congruential_engine/
1097 cons/seed_seq.cc: Likewise.
1099 2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1101 * include/bits/forward_list.h (forward_list<>::resize(size_type),
1102 forward_list(size_type)): Only declare.
1103 * include/bits/forward_list.tcc (forward_list<>::resize(size_type),
1104 forward_list(size_type)): Define, don't assume CopyConstructible.
1105 * testsuite/23_containers/forward_list/cons/10.cc: New.
1106 * testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
1107 * testsuite/23_containers/forward_list/requirements/dr438/
1108 assign_neg.cc: Adjust dg-error line numbers.
1109 * testsuite/23_containers/forward_list/requirements/dr438/
1110 insert_neg.cc: Likewise.
1111 * testsuite/23_containers/forward_list/requirements/dr438/
1112 constructor_1_neg.cc: Likewise.
1113 * testsuite/23_containers/forward_list/requirements/dr438/
1114 constructor_2_neg.cc: Likewise.
1116 * include/bits/forward_list.h: Use _M_get_Node_allocator throughout.
1118 2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1120 * testsuite/23_containers/array/requirements/exception/
1121 generation_prohibited.c: Remove, swap can indeed throw (DR 774).
1123 * testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
1124 * testsuite/util/testsuite_container_traits.h
1125 (traits<__versa_string>): Enable insert tests.
1127 2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1129 * include/bits/forward_list.h (forward_list<>::insert_after
1130 (const_iterator, size_type, const _Tp&), insert_after(const_iterator,
1131 _InputIterator, _InputIterator), insert_after(const_iterator,
1132 std::initializer_list<>)): Fix return type per N3000.
1133 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
1135 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
1136 * testsuite/23_containers/forward_list/requirements/dr438/
1137 assign_neg.cc: Adjust dg-error line numbers.
1138 * testsuite/23_containers/forward_list/requirements/dr438/
1139 insert_neg.cc: Likewise.
1140 * testsuite/23_containers/forward_list/requirements/dr438/
1141 constructor_1_neg.cc: Likewise.
1142 * testsuite/23_containers/forward_list/requirements/dr438/
1143 constructor_2_neg.cc: Likewise.
1145 2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1147 Revert last changes. Also revert, among the previous changes:
1148 * include/std/condition_variable (condition_variable_any::
1149 wait<>(_Lock&)): Provide definition.
1151 2010-01-29 Paolo Carlini <paolo.carlini@oracle.com>
1153 * include/std/condition_variable (condition_variable_any::
1154 __wait_until_impl): Add.
1155 (condition_variable_any::wait_until): Provide definitions.
1156 * testsuite/30_threads/condition_variable_any/members/2.cc: New.
1157 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1158 Adjust dg-error line number.
1159 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1162 * testsuite/30_threads/condition_variable/members/1.cc: Minor
1164 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
1166 2010-01-29 Paolo Carlini <paolo.carlini@oracle.com>
1168 * include/std/condition_variable (enum class cv_status): Add and
1169 use it throughout, per N3000.
1170 (condition_variable_any::wait<>(_Lock&), wait<>(_Lock&, _Predicate),
1171 wait_until<>(_Lock&, const chrono::time_point<>&, _Predicate)):
1172 Provide definitions.
1173 * src/condition_variable.cc (condition_variable_any::notify_one,
1174 condition_variable_any::notify_all): Likewise.
1175 * config/abi/pre/gnu.ver: Export.
1176 * testsuite/30_threads/condition_variable_any/requirements/
1178 * testsuite/30_threads/condition_variable_any/requirements/
1179 standard_layout.cc: Likewise.
1180 * testsuite/30_threads/condition_variable/members/1.cc: Adjust.
1181 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
1182 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Adjust
1183 dg-error line numbers.
1184 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1185 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1187 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1190 2010-01-28 François Dumont <francois.cppdevs@free.fr>
1192 * include/bits/stl_algobase.h (struct __iter_base): Add.
1193 (__niter_base, __miter_base): Adjust, use the latter.
1195 2010-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1197 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
1198 Extend xfail to all systems.
1199 * testsuite/21_strings/basic_string/element_access/wchar_T/21674.cc:
1201 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1202 Extend xfail to darwin10 systems.
1204 2010-01-27 Benjamin Kosnik <bkoz@redhat.com>
1207 * testsuite/23_containers/unordered_map/requirements/exception/: Remove
1209 * testsuite/23_containers/multimap/requirements/exception/: Same.
1210 * testsuite/23_containers/map/requirements/exception: Same.
1212 2010-01-27 Richard Guenther <rguenther@suse.de>
1215 * include/std/functional (function<>::swap): Perform bytewise
1217 * include/tr1/functional (function<>::swap): Likewise.
1219 2010-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1221 * config/abi/pre/gnu.ver: Avoid time_get pattern conflicts.
1223 2010-01-26 François Dumont <francois.cppdevs@free.fr>
1225 * doc/xml/manual/allocator.xml: Minor updates and fixes.
1226 * doc/xml/manual/containers.xml: Likewise.
1227 * doc/xml/manual/using.xml: Likewise.
1228 * doc/xml/manual/locale.xml: Likewise.
1229 * doc/xml/manual/appendix_contributing.xml: Likewise.
1231 2010-01-26 Daniel Frey <d.frey@gmx.de>
1233 * include/std/functional: Use enable_if instead of __enable_if
1234 throughout, do not include ext/type_traits.h.
1235 (is_placeholder, is_bind_expression): Use integral_constant.
1237 2010-01-25 Paolo Carlini <paolo.carlini@oracle.com>
1239 * testsuite/util/testsuite_common_types.h (has_bitwise_operators):
1240 Avoid -Wall warnings.
1242 2010-01-25 Paolo Carlini <paolo.carlini@oracle.com>
1244 * testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int
1245 as loop variable, to avoid -Wall warnings.
1246 * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
1247 * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
1248 * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
1249 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
1251 * testsuite/20_util/reference_wrapper/24803.cc: Remove unused vars.
1252 * testsuite/20_util/reference_wrapper/invoke.cc: Likewise.
1254 2010-01-22 Daniel Frey <d.frey@gmx.de>
1256 * include/std/functional (_Index_tuple, _Build_index_tuple):
1257 Simplify and speed-up.
1259 2010-01-22 Joern Rennecke <amylaar@spamcop.net>
1261 PR libstdc++/36101, PR libstdc++/42813
1262 * acinclude.m4 (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of
1264 * configure: Regenerate.
1266 2010-01-21 Jonathan Wakely <jwakely.gcc@gmail.com>
1269 * include/std/future: Update to latest WP.
1270 * src/functexcept.cc (__throw_future_error): Use make_error_code.
1271 * testsuite/30_threads/async/any.cc: New.
1272 * testsuite/30_threads/async/async.cc: New.
1273 * testsuite/30_threads/async/sync.cc: New.
1274 * testsuite/30_threads/packaged_task/cons/alloc.cc: New.
1275 * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
1276 * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust.
1277 * testsuite/30_threads/packaged_task/members/get_future.cc: Adjust.
1278 * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
1279 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1280 * testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust.
1281 * testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust.
1282 * testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust.
1283 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1284 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1285 * testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove.
1286 * testsuite/30_threads/shared_future/cons/default_neg.cc: Remove.
1287 * testsuite/30_threads/shared_future/cons/default.cc: New.
1288 * testsuite/30_threads/shared_future/cons/assign.cc: New.
1289 * testsuite/30_threads/shared_future/cons/copy.cc: Adjust.
1290 * testsuite/30_threads/shared_future/cons/move.cc: Adjust.
1291 * testsuite/30_threads/shared_future/cons/move_assign.cc: New.
1292 * testsuite/30_threads/shared_future/members/is_ready.cc: Remove.
1293 * testsuite/30_threads/shared_future/members/has_value.cc: Remove.
1294 * testsuite/30_threads/shared_future/members/has_exception.cc: Remove.
1295 * testsuite/30_threads/shared_future/members/valid.cc: New.
1296 * testsuite/30_threads/unique_future/cons/default_neg.cc: Remove.
1297 * testsuite/30_threads/unique_future/cons/default.cc: New.
1298 * testsuite/30_threads/unique_future/cons/move_assign.cc: New.
1299 * testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust.
1300 * testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust.
1301 * testsuite/30_threads/unique_future/cons/move.cc: Adjust.
1302 * testsuite/30_threads/unique_future/requirements/
1303 explicit_instantiation.cc: Adjust.
1304 * testsuite/30_threads/unique_future/members/is_ready.cc: Remove.
1305 * testsuite/30_threads/unique_future/members/has_value.cc: Remove.
1306 * testsuite/30_threads/unique_future/members/has_exception.cc: Remove.
1307 * testsuite/30_threads/unique_future/members/valid.cc: New.
1308 * testsuite/30_threads/unique_future/members/get.cc: Adjust.
1309 * testsuite/30_threads/unique_future/members/get2.cc: Adjust.
1310 * testsuite/30_threads/unique_future/members/wait.cc: Adjust.
1311 * testsuite/30_threads/unique_future/members/wait_for.cc: Adjust.
1312 * testsuite/30_threads/unique_future/members/wait_until.cc: Adjust.
1313 * testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust.
1314 * testsuite/30_threads/promise/cons/alloc.cc: New.
1315 * testsuite/30_threads/promise/cons/assign_neg.cc: Adjust.
1316 * testsuite/30_threads/promise/cons/copy_neg.cc: Adjust.
1317 * testsuite/30_threads/promise/cons/move.cc: Adjust.
1318 * testsuite/30_threads/promise/cons/move_assign.cc: Adjust.
1319 * testsuite/30_threads/promise/members/get_future.cc: Adjust.
1320 * testsuite/30_threads/promise/members/set_value.cc: Adjust.
1321 * testsuite/30_threads/promise/members/set_exception.cc: Adjust.
1322 * testsuite/30_threads/promise/members/set_exception2.cc: Adjust.
1323 * testsuite/30_threads/promise/members/set_value2.cc: Adjust.
1324 * testsuite/30_threads/promise/members/set_value3.cc: Adjust.
1325 * testsuite/30_threads/promise/members/swap.cc: Adjust.
1327 2010-01-20 Janis Johnson <janis187@us.ibm.com>
1328 Paolo Carlini <paolo.carlini@oracle.com>
1331 * testsuite/lib/dg-options.exp (add_options_for_no_pch): Add.
1332 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1335 2010-01-19 Johannes Singler <singler@kit.edu>
1338 * include/parallel/settings.h (_Settings): Add search_minimal_n.
1339 * include/parallel/algo.h (__search_switch):
1340 Add serial fallback for too small inputs.
1341 (__search_n_switch): Likewise. Call serial fallback on higher level
1342 to gain special treatment for __count 0 or 1.
1343 * testsuite/25_algorithms/search_n/iterator.cc:
1344 Reenable full test depth for parallel mode.
1346 2010-01-18 Daniel Frey <d.frey@gmx.de>
1348 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
1349 operator()): "Pass" _Result to __call*.
1350 (_Bind<_Functor(_Bound_args...)>::__call*): Adjust, simplify.
1352 2010-01-18 Johannes Singler <singler@kit.edu>
1354 * include/parallel/base.h (__unary_negate): Correct comment.
1356 2010-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1358 * include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
1359 Rename const version to __call_c and remove _Sfinae template
1361 (_Bind<_Functor(_Bound_args...)>::operator()): Adjust.
1363 * include/std/functional: Pass everywhere temporary tuple<_Args...>
1364 arguments by rvalue reference.
1366 * testsuite/20_util/bind/cv_quals.cc: New.
1368 * testsuite/20_util/bind/ref2.cc: Add missing test variables.
1370 2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1373 * configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
1374 * configure: Regenerate.
1376 2010-01-15 Phil Muldoon <pmuldoon@redhat.com>
1378 * python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
1379 Remove encoding argument.
1380 (StdStringPrinter.to_string): Do not compute or pass encoding.
1381 Use lazy_string over string function.
1383 2010-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1385 * include/c_std/cstring (memchr): Forward to the builtin.
1386 * include/c_std/cstring: Remove redundant casts; use names consistent
1387 with the letter of the Standard.
1388 * include/c_global/cstring: Likewise.
1390 2010-01-13 Benjamin Kosnik <bkoz@redhat.com>
1392 * include/profile/iterator_tracker.h: Add copyright.
1394 2010-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1396 * testsuite/Makefile.am (check-debug): Add.
1397 * testsuite/Makefile.in: Regenerate.
1398 * config.h.in: Likewise.
1400 2010-01-12 Paolo Carlini <paolo.carlini@oracle.com>
1402 * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run
1404 * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse.
1405 * testsuite/25_algorithms/rotate/moveable.cc: Likewiwse.
1406 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse.
1407 * testsuite/25_algorithms/remove/moveable.c: Likewiwse.
1408 * testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse.
1409 * testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse.
1410 * testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse.
1411 * testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse.
1412 * testsuite/25_algorithms/partition/moveable.cc: Likewiwse.
1413 * testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse.
1414 * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse.
1415 * testsuite/25_algorithms/sort/moveable.cc: Likewiwse.
1416 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse.
1417 * testsuite/25_algorithms/unique/moveable.cc: Likewiwse.
1418 * testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse.
1419 * testsuite/25_algorithms/heap/moveable.cc: Likewiwse.
1421 * testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration #
1424 2010-01-12 Hans-Peter Nilsson <hp@axis.com>
1426 * testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
1427 for non-tls_native targets.
1429 2010-01-12 Benjamin Kosnik <bkoz@redhat.com>
1431 * scripts/run_doxygen: Correct nested scope on the man pages.
1432 * doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
1433 * doc/xml/manual/mt_allocator.xml: Same.
1434 * doc/xml/manual/allocator.xml: Same.
1435 * doc/xml/manual/codecvt.xml: Same.
1436 * doc/xml/manual/backwards_compatibility.xml: Same.
1437 * doc/xml/manual/concurrency.xml: Same.
1438 * doc/xml/manual/parallel_mode.xml: Same.
1439 * doc/xml/manual/io.xml: Same.
1440 * doc/xml/manual/support.xml: Same.
1441 * doc/xml/manual/evolution.xml: Same.
1442 * doc/xml/manual/using.xml: Same.
1443 * doc/xml/manual/extensions.xml: Same.
1444 * doc/xml/manual/appendix_contributing.xml: Same.
1445 * doc/xml/manual/prerequisites.xml: Same.
1446 * doc/xml/manual/diagnostics.xml: Same.
1447 * doc/xml/manual/spine.xml: Same.
1448 * doc/xml/manual/status_cxx200x.xml: Same.
1449 * doc/xml/manual/test.xml: Same.
1450 * doc/xml/spine.xml: Same.
1451 * doc/html/*: Regenerate.
1453 * include/profile/impl/profiler.h: Remove duplicate markup.
1455 2010-01-12 Jonathan Wakely <jwakely.gcc@gmail.com>
1460 * include/std/functional (bind): Forward rvalues and detect correct
1461 result type of bound function object.
1462 * include/std/mutex (call_once): Specify bind result type.
1463 * testsuite/20_util/reference_wrapper/invoke.cc: Remove invalid tests.
1464 * testsuite/20_util/reference_wrapper/24803.cc: Remove invalid tests
1465 and enable FIXME tests.
1466 * testsuite/20_util/bind/35569.cc: New.
1467 * testsuite/20_util/bind/ref2.cc: New.
1468 * testsuite/20_util/bind/38889.cc: New.
1469 * testsuite/20_util/bind/ref_neg.cc: New.
1470 * testsuite/20_util/bind/42593.cc: New.
1472 2010-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1474 * include/parallel/base.h (decode2): Rename to __decode2.
1475 (binder2nd): Likewise to __binder2nd.
1476 * include/parallel/quicksort.h: Adjust callers.
1477 * include/parallel/balanced_quicksort.h: Likewise.
1478 * include/parallel/partition.h: Likewise.
1479 * include/parallel/queue.h: Likewise.
1481 * include/parallel/algo.h: Qualify with std:: binder2nd use.
1483 2010-01-10 Paolo Carlini <paolo.carlini@oracle.com>
1485 * include/debug/string (basic_string<>::basic_string(basic_string&&),
1486 operator=(basic_string&&), assign(basic_string&&)): Add.
1488 * include/debug/string: Fully qualify initializer_list with std; fix
1489 _Allocator misspellings as _Alloc.
1491 2010-01-10 Paolo Carlini <paolo.carlini@oracle.com>
1493 * include/bits/basic_string.h (basic_string<>::
1494 basic_string(basic_string&&), operator=(basic_string&&),
1495 assign(basic_string&&)): Add.
1496 * config/abi/pre/gnu.ver: Export new symbols.
1497 * include/ext/vstring.h (__versa_string<>::assign(__versa_string&&)):
1499 (operator=(__versa_string&&)): Don't call clear unnecessarily.
1500 * include/ext/rc_string_base.h (__rc_string_base<>::
1501 __rc_string_base(__rc_string_base&&)): Simplify a tad.
1502 * testsuite/21_strings/basic_string/cons/char/moveable.cc: New.
1503 * testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc: Likewise.
1504 * testsuite/ext/vstring/assign/move_assign.cc: Likewise.
1505 * testsuite/21_strings/basic_string/assign/char/move_assign.cc:
1507 * testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc:
1510 * testsuite/ext/vstring/cons/moveable.cc: Fix comment nit.
1512 2010-01-10 Silvius Rus <rus@google.com>
1514 * configure.ac: Add detection of execinfo.h.
1515 * configure: Regenerate.
1516 * config.h.in: Likewise.
1517 * doc/xml/manual/profile_mode.xml: Add list_to_slist manual.
1518 Also, correct user interface mistakes.
1519 * include/Makefile.am: Add references to new include files.
1520 * include/Makefile.in: Regenerate.
1521 * include/backward/hash_map: Remove profile include.
1522 * include/backward/hash_set: Likewise.
1523 * include/profile/hashtable.h: Delete file.
1524 * include/profile/iterator_tracker.h: New file.
1525 * include/profile/vector: Add instrumentation for tracked iterator.
1526 * include/profile/list: Same.
1527 * include/profile/impl/profiler_list_to_slist.h: New file.
1528 * include/profile/impl/profiler_list_to_vector.h: Same.
1529 * include/profile/impl/profiler.h: Add list_to_slist and
1530 list_to_vector instrumentation hook interfaces. Fixed broken
1531 diagnostic disabling mechanism.
1532 (_GLIBCXX_PROFILE_DEFINE_DATA,_GLIBCXX_PROFILE_DATA) New macros.
1533 (__reentrance_guard) Fix bug.
1534 * include/profile/impl/profiler_trace.h: Replace dummy templates
1535 with _GLIBCXX_PROFILE_DEFINE_DATA.
1536 * include/profile/impl/profiler_container_size.h: Same.
1537 * include/profile/impl/profiler_vector_size.h: Same.
1538 * include/profile/impl/profiler_hash_func.h: Same.
1539 * include/profile/impl/profiler_vector_to_list.h: Same.
1540 * include/profile/impl/profiler_map_to_unordered_map.h: Same.
1541 * include/profile/impl/profiler_hashtable_size.h: Same.
1542 * include/profile/impl/profiler_node.h: Same.
1543 * include/profile/impl/profiler_state.h: Same. Also, remove
1544 class __state. Also, use __sync_val_compare_and_swap to set state.
1546 2010-01-09 H.J. Lu <hongjiu.lu@intel.com>
1549 * testsuite/abi/pr42230.cc: New.
1551 2010-01-09 Paolo Carlini <paolo.carlini@oracle.com>
1553 * include/debug/set.h: Revert last change, per DR 1204 [Ready];
1554 mention the latter in comment.
1555 * include/debug/unordered_map: Likewise.
1556 * include/debug/multiset.h: Likewise.
1557 * include/debug/vector: Likewise.
1558 * include/debug/unordered_set: Likewise.
1559 * include/debug/deque: Likewise.
1560 * include/debug/map.h: Likewise.
1561 * include/debug/list: Likewise.
1562 * include/debug/multimap.h: Likewise.
1563 * include/tr1_impl/unordered_map: Likewise.
1564 * include/tr1_impl/unordered_set: Likewise.
1565 * include/profile/set.h: Likewise.
1566 * include/profile/unordered_map: Likewise.
1567 * include/profile/multiset.h: Likewise.
1568 * include/profile/unordered_set: Likewise.
1569 * include/profile/vector: Likewise.
1570 * include/profile/deque: Likewise.
1571 * include/profile/map.h: Likewise.
1572 * include/profile/list: Likewise.
1573 * include/profile/multimap.h: Likewise.
1574 * include/ext/vstring.h: Likewise.
1575 * include/bits/stl_list.h: Likewise.
1576 * include/bits/stl_map.h: Likewise.
1577 * include/bits/stl_set.h: Likewise.
1578 * include/bits/stl_multimap.h: Likewise.
1579 * include/bits/stl_vector.h: Likewise.
1580 * include/bits/stl_deque.h: Likewise.
1581 * include/bits/stl_multiset.h: Likewise.
1583 * include/bits/forward_list.h: Remove pre-existing check.
1584 * include/ext/vstring.h: Likewise.
1586 * testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
1587 * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
1589 * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
1590 * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
1591 * testsuite/23_containers/unordered_multimap/cons/
1592 self_move_assign.cc: Likewise.
1593 * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
1595 * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
1597 * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
1598 * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
1599 * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
1600 * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
1601 * testsuite/23_containers/unordered_multiset/cons/
1602 self_move_assign.cc: Likewise.
1603 * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
1605 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1606 Adjust dg-error line numbers.
1607 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1609 * testsuite/23_containers/vector/requirements/dr438/
1610 constructor_1_neg.cc: Likewise.
1611 * testsuite/23_containers/vector/requirements/dr438/
1612 constructor_2_neg.cc: Likewise.
1613 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1615 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1617 * testsuite/23_containers/deque/requirements/dr438/
1618 constructor_1_neg.cc: Likewise.
1619 * testsuite/23_containers/forward_list/requirements/dr438/
1620 assign_neg.cc: Likewise.
1621 * testsuite/23_containers/forward_list/requirements/dr438/
1622 insert_neg.cc: Likewise.
1623 * testsuite/23_containers/forward_list/requirements/dr438/
1624 constructor_1_neg.cc: Likewise.
1625 * testsuite/23_containers/forward_list/requirements/dr438/
1626 constructor_2_neg.cc: Likewise.
1627 * testsuite/23_containers/deque/requirements/dr438/
1628 constructor_2_neg.cc: Likewise.
1629 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1631 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1633 * testsuite/23_containers/list/requirements/dr438/
1634 constructor_1_neg.cc: Likewise.
1635 * testsuite/23_containers/list/requirements/dr438/
1636 constructor_2_neg.cc: Likewise.
1638 2010-01-08 Paolo Carlini <paolo.carlini@oracle.com>
1640 * include/debug/set.h: Protect move assignment operator vs self
1642 * include/debug/unordered_map: Likewise.
1643 * include/debug/multiset.h: Likewise.
1644 * include/debug/vector: Likewise.
1645 * include/debug/unordered_set: Likewise.
1646 * include/debug/deque: Likewise.
1647 * include/debug/map.h: Likewise.
1648 * include/debug/list: Likewise.
1649 * include/debug/multimap.h: Likewise.
1650 * include/tr1_impl/unordered_map: Likewise.
1651 * include/tr1_impl/unordered_set: Likewise.
1652 * include/profile/set.h: Likewise.
1653 * include/profile/unordered_map: Likewise.
1654 * include/profile/multiset.h: Likewise.
1655 * include/profile/unordered_set: Likewise.
1656 * include/profile/vector: Likewise.
1657 * include/profile/deque: Likewise.
1658 * include/profile/map.h: Likewise.
1659 * include/profile/list: Likewise.
1660 * include/profile/multimap.h: Likewise.
1661 * include/ext/vstring.h: Likewise.
1662 * include/bits/stl_list.h: Likewise.
1663 * include/bits/stl_map.h: Likewise.
1664 * include/bits/stl_set.h: Likewise.
1665 * include/bits/stl_multimap.h: Likewise.
1666 * include/bits/stl_vector.h: Likewise.
1667 * include/bits/stl_deque.h: Likewise.
1668 * include/bits/stl_multiset.h: Likewise.
1669 * include/ext/vstring.h: Use clear().
1670 * testsuite/ext/vstring/cons/self_move_assign.cc: New.
1671 * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
1673 * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
1674 * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
1675 * testsuite/23_containers/unordered_multimap/cons/
1676 self_move_assign.cc: Likewise.
1677 * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
1679 * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
1681 * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
1682 * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
1683 * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
1684 * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
1685 * testsuite/23_containers/unordered_multiset/cons/
1686 self_move_assign.cc: Likewise.
1687 * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
1689 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1690 Adjust dg-error line numbers.
1691 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1693 * testsuite/23_containers/vector/requirements/dr438/
1694 constructor_1_neg.cc: Likewise.
1695 * testsuite/23_containers/vector/requirements/dr438/
1696 constructor_2_neg.cc: Likewise.
1697 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1699 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1701 * testsuite/23_containers/deque/requirements/dr438/
1702 constructor_1_neg.cc: Likewise.
1703 * testsuite/23_containers/deque/requirements/dr438/
1704 constructor_2_neg.cc: Likewise.
1705 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1707 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1709 * testsuite/23_containers/list/requirements/dr438/
1710 constructor_1_neg.cc: Likewise.
1711 * testsuite/23_containers/list/requirements/dr438/
1712 constructor_2_neg.cc: Likewise.
1714 * testsuite/ext/vstring/moveable.cc: Move to...
1715 * testsuite/ext/vstring/cons/moveable.cc: ... here.
1716 * testsuite/23_containers/unordered_map/moveable.cc: Move to...
1717 * testsuite/23_containers/unordered_map/cons/moveable.cc ... here.
1718 * testsuite/23_containers/multimap/moveable.cc: Move to...
1719 * testsuite/23_containers/multimap/cons/moveable.cc: ... here.
1720 * testsuite/23_containers/set/moveable.cc: Move to...
1721 * testsuite/23_containers/set/cons/moveable.cc: ... here.
1722 * testsuite/23_containers/unordered_multimap/moveable.cc: Move to...
1723 * testsuite/23_containers/unordered_multimap/cons/moveable.cc:
1725 * testsuite/23_containers/forward_list/moveable.cc: Move to...
1726 * testsuite/23_containers/forward_list/cons/moveable.cc: ... here.
1727 * testsuite/23_containers/unordered_set/moveable.cc Move to...
1728 * testsuite/23_containers/unordered_set/moveable.cc: ... here.
1729 * testsuite/23_containers/vector/cons/moveable.cc Move to...
1730 * testsuite/23_containers/vector/cons/moveable2.cc: ... this.
1731 * testsuite/23_containers/deque/cons/moveable.cc Move to...
1732 * testsuite/23_containers/deque/cons/moveable2.cc: ... this.
1733 * testsuite/23_containers/multiset/moveable.cc Move to...
1734 * testsuite/23_containers/multiset/cons/moveable.cc: ... here.
1735 * testsuite/23_containers/list/moveable.h Move to...
1736 * testsuite/23_containers/list/cons/moveable.h: ... here.
1737 * testsuite/23_containers/list/moveable.cc Move to...
1738 * testsuite/23_containers/list/cons/moveable.cc: ... here.
1739 * testsuite/23_containers/unordered_multiset/moveable.cc Move to...
1740 * testsuite/23_containers/unordered_multiset/cons/moveable.cc:
1742 * testsuite/23_containers/map/moveable.cc Move to...
1743 * testsuite/23_containers/map/cons/moveable.cc: ... here.
1744 * testsuite/23_containers/vector/moveable.cc: Move to...
1745 * testsuite/23_containers/vector/cons/moveable.cc: ... here.
1746 * testsuite/23_containers/deque/moveable.cc: Move to...
1747 * testsuite/23_containers/deque/cons/moveable.cc: ... here.
1749 2010-01-08 Paolo Carlini <paolo.carlini@oracle.com>
1752 * include/bits/allocator.h (struct __shrink_to_fit): Add.
1753 * include/bits/stl_deque.h (deque<>::shrink_to_fit): Add.
1754 * include/bits/stl_vector.h (vector<>::shrink_to_fit): Likewise.
1755 * include/bits/stl_bvector.h (vector<bool>::shrink_to_fit): Likewise.
1756 * include/bits/basic_string.h (basic_string<>::shrink_to_fit):
1758 * include/ext/vstring.h (__versa_string<>::shrink_to_fit): Likewise.
1759 * include/debug/deque: Add corresponding using declaration.
1760 * include/debug/vector: Likewise.
1761 * include/debug/string: Likewise.
1762 * include/profile/deque: Likewise.
1763 * include/profile/vector: Likewise.
1764 * config/abi/pre/gnu.ver: Export new symbols.
1765 * testsuite/23_containers/deque/capacity/shrink_to_fit.cc: New.
1766 * testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise.
1767 * testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc:
1769 * testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc:
1771 * testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
1772 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1773 Adjust dg-error line number.
1774 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1776 * testsuite/23_containers/deque/requirements/dr438/
1777 constructor_1_neg.cc: Likewise.
1778 * testsuite/23_containers/deque/requirements/dr438/
1779 constructor_2_neg.cc: Likewise.
1780 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1781 Adjust dg-error line number.
1782 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1784 * testsuite/23_containers/vector/requirements/dr438/
1785 constructor_1_neg.cc: Likewise.
1786 * testsuite/23_containers/vector/requirements/dr438/
1787 constructor_2_neg.cc: Likewise.
1789 2010-01-07 Benjamin Kosnik <bkoz@redhat.com>
1791 * doc/xml/manual/evolution.xml: Fix typos, update.
1793 2010-01-07 Paolo Carlini <paolo.carlini@oracle.com>
1795 * include/bits/locale_facets_nonio.tcc (time_put<>::do_put): Avoid
1796 pointless __builtin_alloca use.
1798 2010-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1801 * include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
1802 Encode short two digits over four parsings to negative numbers.
1803 (time_get<>::_M_extract_via_format): Adjust, accept both two digits
1804 and four digits for both 'y' and 'Y'.
1805 (time_get<>::do_get_year): Call time_get<>::_M_extract_num.
1806 * doc/xml/manual/prerequisites.xml: Add en_GB.
1807 * testsuite/lib/libstdc++.exp: Adjust
1808 * testsuite/22_locale/time_get/get_date/char/26701.cc: New.
1809 * testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
1811 2010-01-06 Benjamin Kosnik <bkoz@redhat.com>
1814 * scripts/check_performance (CXX): Add -std=gnu++0x.
1815 * testsuite/performance/30_threads/future/polling.cc: Mark up as
1818 2010-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1820 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc:
1821 Add dg-require-namedlocale.
1823 2010-01-05 Benjamin Kosnik <bkoz@redhat.com>
1825 * doc/xml/manual/evolution.xml: Update for 4.4 and 4.5 releases.
1826 * doc/html: Regenerate.
1828 2010-01-05 Paolo Carlini <paolo.carlini@oracle.com>
1831 * include/bits/locale_facets_nonio.h (time_get<>::
1832 _M_extract_wday_or_month): New, declare.
1833 * include/bits/locale_facets_nonio.tcc (time_get<>::
1834 _M_extract_wday_or_month): Define.
1835 (time_get<>::do_get_weekday, time_get<>::do_get_monthname): Use it.
1836 * config/abi/pre/gnu.ver: Export new symbols.
1837 * doc/xml/manual/prerequisites.xml: Add ru_RU.UTF-8 and
1839 * testsuite/lib/libstdc++.exp: Adjust.
1840 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: New.
1841 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
1843 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1845 * configure: Regenerate.
1847 2010-01-05 Paolo Carlini <paolo.carlini@oracle.com>
1849 * testsuite/22_locale/time_get/get_monthname/char/6.cc: New.
1850 * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
1851 * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
1852 * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
1854 2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1856 * include/profile/list: Implement DR 1133 here too.
1858 * testsuite/25_algorithms/set_intersection/34730.cc: Do not force
1859 debug-mode, leads to spurious failures in profile-mode.
1860 * testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
1861 * testsuite/25_algorithms/lower_bound/33613.cc: Likewise.
1862 * testsuite/25_algorithms/set_difference/35541.cc: Likewise.
1863 * testsuite/21_strings/basic_string/40160.cc: Likewise.
1864 * testsuite/26_numerics/random/uniform_real_distribution/
1865 cons/parms_neg.cc: Likewise.
1866 * testsuite/26_numerics/random/uniform_int_distribution/
1867 cons/parms_neg.cc: Likewise.
1868 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
1870 * testsuite/23_containers/multimap/14340.cc: Likewise.
1871 * testsuite/23_containers/bitset/18604.cc: Likewise.
1872 * testsuite/23_containers/set/14340.cc: Likewise.
1873 * testsuite/23_containers/set/18604.cc: Likewise.
1874 * testsuite/23_containers/unordered_set/requirements/
1875 debug_mode.cc: Likewise.
1876 * testsuite/23_containers/vector/
1877 debug_mode_requires_reallocation-1.cc: Likewise.
1878 * testsuite/23_containers/vector/
1879 debug_mode_requires_reallocation-2.cc: Likewise.
1880 * testsuite/23_containers/vector/14340.cc: Likewise.
1881 * testsuite/23_containers/vector/15523.cc: Likewise.
1882 * testsuite/23_containers/vector/18604.cc: Likewise.
1883 * testsuite/23_containers/deque/14340.cc: Likewise.
1884 * testsuite/23_containers/deque/18604.cc: Likewise.
1885 * testsuite/23_containers/multiset/14340.cc: Likewise.
1886 * testsuite/23_containers/list/operations/35969.cc: Likewise.
1887 * testsuite/23_containers/list/14340.cc: Likewise.
1888 * testsuite/23_containers/list/18604.cc: Likewise.
1889 * testsuite/23_containers/map/14340.cc: Likewise.
1890 * testsuite/23_containers/map/18604.cc: Likewise.
1891 * testsuite/tr1/5_numerical_facilities/random/uniform_int/
1892 cons/range_neg.cc: Likewise.
1894 * testsuite/23_containers/unordered_map/requirements/
1895 explicit_instantiation/2.cc: Do not instantiate for
1896 non-defaultconstructible mapped_type.
1898 2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1900 * include/debug/set.h: Implement DR 130 here too.
1901 * include/debug/multiset.h: Likewise.
1902 * include/debug/map.h: Likewise.
1903 * include/debug/multimap.h: Likewise.
1904 * include/profile/set.h: Implement DR 130 fully.
1905 * include/profile/multiset.h: Likewise.
1906 * include/profile/map.h: Likewise.
1907 * include/profile/multimap.h: Likewise.
1908 * include/debug/list: Implement DR 1133 here too.
1909 * include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
1910 now uses of __gnu_cxx::throw_allocator.
1911 * testsuite/21_strings/basic_string/40160.cc: Don't pass
1912 explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
1915 2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1917 * include/profile/bitset (bitset<>::bitset(unsigned long long)): Add
1919 * include/debug/bitset (bitset<>::bitset(unsigned long long)):
1922 2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1924 * include/tr1_impl/hashtable (_Hashtable<>): Remove insert_return_type
1926 * include/profile/unordered_map (unordered_map<>::insert(const
1927 value_type&), unordered_multimap<>::insert(const value_type&)): Adjust.
1928 * include/profile/unordered_set (unordered_set<>::insert(const
1929 value_type&), unordered_multimap<>::insert(const value_type&)):
1932 2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1934 * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
1935 pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
1936 Use std::is_constructible instead of std::is_convertible.
1938 2010-01-01 Paolo Carlini <paolo.carlini@oracle.com>
1940 Revert last change, reinstantiate basic_string and vstring tests.
1942 2010-01-01 Paolo Carlini <paolo.carlini@oracle.com>
1944 * testsuite/21_strings/basic_string/requirements/exception/
1945 propagation_consistent.cc: Remove, cannot instantiate basic_string
1946 for non-PODs (21/1).
1947 * testsuite/21_strings/basic_string/requirements/exception/
1949 * testsuite/21_strings/basic_string/requirements/exception/
1950 generation_prohibited.cc: Likewise.
1951 * testsuite/ext/vstring/requirements/exception/
1952 propagation_consistent.cc: Likewise.
1953 * testsuite/ext/vstring/requirements/exception/basic.cc:
1955 * testsuite/ext/vstring/requirements/exception/
1956 generation_prohibited.cc: Likewise.