summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* 2010-03-23 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-232-54/+54
| | | | | | | | | * include/bits/stl_algobase.h (lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare)): Move... * include/bits/stl_algo.h: ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157668 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-22 Johannes Singler <singler@kit.edu>singler2010-03-224-15/+27
| | | | | | | | | | | | | | * include/parallel/numeric (inner_product, partial_sum): Precede subsequent call with _GLIBCXX_STD_P:: to avoid ambiguity between __gnu_parallel:: and std:: * include/parallel/algobase.h (equal): Likewise. * include/parallel/algo.h (find_first_of, search_n, merge, nth_element, partial_sort, max_element, min_element): Likewise. * include/parallel/partial_sum.h (__parallel_partial_sum_linear): Qualify accumulate call with __gnu_parallel::. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157643 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-22 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-221-19/+7
| | | | | | | | | | | | * include/parallel/base.h (_PseudoSequence): Do not forward declare. (_VoidFunctor): Remove, unused. (__median_of_three_iterators): Take __comp by value. (_PseudoSequenceIterator<>::operator++(int)): Do not const qualify the return type. (_PseudoSequenceIterator<>::operator!=): Fix return type to bool. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157628 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-22 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-222-41/+18
| | | | | | | | | | * include/parallel/base.h (_Less): Use std::less. (_Plus): Likewise use std::plus. (_Multiplies): Likewise use std::multiplies. * include/parallel/numeric: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157622 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-19 Rodolfo Lima <rodolfo@rodsoft.org>paolo2010-03-192-6/+5
| | | | | | | | | | * include/bits/shared_ptr.h (shared_ptr(unique_ptr&&), shared_ptr(auto_ptr&&)): Remove explicit specifier (as per DR 925). * include/bits/shared_ptr_base.h: Likewise. * testsuite/20_util/shared_ptr/creation/dr925.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157570 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-19 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-193-12/+12
| | | | | | | | | | | | | | | | * include/bits/random.tcc: Minor formatting changes. 2010-03-19 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_algo.h (shuffle): Fix typo in signature. * include/bits/algorithmfwd.h: Adjust. * testsuite/25_algorithms/shuffle/requirements/ explicit_instantiation/2.cc: Likewise. * testsuite/25_algorithms/shuffle/requirements/ explicit_instantiation/pod.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157565 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-19 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-199-244/+329
| | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/stl_algo.h (shuffle): Add, per D3056. (random_shuffle): Fix signature in C++0x mode. (lower_bound, __lg): Move... * include/bits/stl_algobase.h: ... here. * include/bits/algorithmfwd.h: Adjust. * include/parallel/algorithmfwd.h: Likewise. * include/parallel/algo.h: Likewise. * include/bits/hashtable_policy.h (__lower_bound): Remove, adjust callers. * include/tr1/hashtable_policy.h (__lower_bound): Likewise. * include/bits/random.tcc (__detail::__transform): Add, adjust std::transform callers; don't include <algorithm>. * testsuite/25_algorithms/shuffle/1.cc: Add. * testsuite/25_algorithms/shuffle/requirements/ explicit_instantiation/2.cc: Likewise. * testsuite/25_algorithms/shuffle/requirements/ explicit_instantiation/pod.cc: Likewise. * include/bits/random.h: Add comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157564 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-17 Jonathan Wakely <jwakely.gcc@gmail.com>redi2010-03-171-20/+32
| | | | | | | | | | PR libstdc++/43397 * include/std/functional (_Mem_fn): Use perfect forwarding. * testsuite/20_util/function/43397.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157504 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-161-3/+5
| | | | | | | | | PR libstdc++/43394 * include/parallel/compatibility.h: Add __k8 and __core2 among the i386 targets supporting atomic operations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157498 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-167-21/+25
| | | | | | | | | | | | | | * include/backward/hash_map: Use consistently the _BACKWARD_* prefix for the include guard. * include/backward/hash_fun.h: Likewise. * include/backward/hashtable.h: Likewise. * include/backward/auto_ptr.h: Likewise. * include/backward/strstream: Likewise. * include/backward/binders.h: Likewise. * include/backward/hash_set: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157497 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-162-10/+657
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/random.h (operator==(const uniform_int_distribution<>&, const uniform_int_distribution<>&), operator==(const uniform_real_distribution<>&, const uniform_real_distribution<>&), operator==(const lognormal_distribution<>&, const lognormal_distribution<>&), operator==(const chi_squared_distribution<>&, const chi_squared_distribution<>&), operator==(const cauchy_distribution<>&, const cauchy_distribution<>&), operator==(const fisher_distribution<>&, const fisher_distribution<>&), operator==(const student_t_distribution<>&, const student_t_distribution<>&), operator==(const bernoulli_distribution<>&, const bernoulli_distribution<>&), operator==(const binomial_distribution<>&, const binomial_distribution<>&), operator==(const geometric_distribution<>&, const geometric_distribution<>&), operator==(const negative_binomial_distribution<>&, const negative_binomial_distribution<>&), operator==(const poisson_distribution<>&, const poisson_distribution<>&), operator==(const exponential_distribution<>&, const exponential_distribution<>&), operator==(const gamma_distribution<>&, const gamma_distribution<>&), operator==(const weibull_distribution<>&, const weibull_distribution<>&), operator==(const extreme_value_distribution<>&, const extreme_value_distribution<>&), operator==(const discrete_distribution<>&, const discrete_distribution<>&), operator==(const piecewise_constant_distribution<>&, const piecewise_constant_distribution<>&), operator==(const piecewise_linear_distribution<>&, const piecewise_linear_distribution<>&)): Add, likewise for operator!=. (operator!=(const independent_bits_engine<>&, const independent_bits_engine<>&), operator!=(const subtract_with_carry_engine<>&, const subtract_with_carry_engine<>&), operator!=(const discard_block_engine<>&, const discard_block_engine<>&), operator!=(const mersenne_twister_engine<>&, const mersenne_twister_engine<>&), operator!=(const linear_congruential_engine<>&, const linear_congruential_engine<>&), operator!=(const shuffle_order_engine<>&, const shuffle_order_engine<>&): Add. * include/bits/random.tcc (operator==(const normal_distribution<>&, const normal_distribution<>&)): Add. * testsuite/26_numerics/random/uniform_real_distribution/operators/ inequal.cc: New. * testsuite/26_numerics/random/uniform_real_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/inequal.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/inequal.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ operators/inequal.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ operators/equal.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/operators/ equal.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/operators/ inequal.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/operators/ equal.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157489 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-15 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-162-45/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/forward_list.tcc (_Fwd_list_node_base:: _M_transfer_after): Return _Fwd_list_node_base*. (forward_list<>::_M_splice_after): Add. (forward_list<>::insert_after(const_iterator, size_type, const _Tp&), insert_after(const_iterator, _InputIterator, _InputIterator), insert_after(const_iterator, initializer_list<>)): Use the above, implement DR 1278 ([Ready] in Pittsburgh). * include/bits/forward_list.h (insert_after(const_iterator, size_type, const _Tp&), insert_after(const_iterator, _InputIterator, _InputIterator), insert_after(const_iterator, initializer_list<>)): Only declare. * testsuite/23_containers/forward_list/modifiers/2.cc: Adjust. * testsuite/23_containers/forward_list/requirements/dr438/ assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157471 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-15 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-152-226/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert: 2008-11-11 Bob Walters <bob.s.walters@gmail.com> * include/bits/forward_list.h: Support non-standard pointer types (_Fwd_list_node_base): Add _Alloc template parameter. (_Fwd_list_node<>): Likewise. (_Fwd_list_iterator<>): Likewise. (_Fwd_list_const_iterator<>): Likewise. (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after): Use _Alloc<_Tp>::pointer. (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer. (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node, _M_insert_after, _M_put_node, _M_erase_after): Likewise. (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer. (forward_list<>): Use __static_pointer_cast in place of static_cast, and __const_pointer_cast in place of const_cast. * include/bits/forward_list.tcc (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place of standard pointers, __static_pointer_cast in place of static_cast. (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after): Likewise. (forward_list<>::_M_initialize_dispatch, _M_fill_initialize, splice_after, remove, remove_if, merge): Likewise. * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New. * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/requirements/ explicit_instantiation/3.cc: Likewise. * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157462 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-13 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-132-2/+2
| | | | | | | | * include/tr1_impl/array (swap(array<>&, array<>&)): Use member swap. * include/bits/stl_algo.h: Improve comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157421 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-10 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-102-5/+15
| | | | | | | | | | | | | | * include/bits/hashtable_policy.h (_Rehash_base<_Prime_rehash_policy, _Hashtable>::reserve): Add, per DR 1189. * include/bits/hashtable.h (_Hashtable<>::size_type, _Hashtable<>::difference_type): Do not typedef from _Allocator. * testsuite/23_containers/unordered_map/dr1189.cc: New. * testsuite/23_containers/unordered_set/dr1189.cc: Likewise. * testsuite/23_containers/unordered_multimap/dr1189.cc: Likewise. * testsuite/23_containers/unordered_multiset/dr1189.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157373 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-08 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-093-61/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | Revert: 2010-02-11 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/41975, DR 579 * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove. (erase(const_iterator), erase(const_iterator, const_iterator)): Change return type to void. * include/debug/unordered_map: Adjust. * include/debug/unordered_set: Likewise. * testsuite/util/exception/safety.h: Likewise. * testsuite/23_containers/unordered_map/erase/1.cc: Likewise. * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise. * testsuite/23_containers/unordered_set/erase/1.cc: Likewise. * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise. * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise. * testsuite/23_containers/unordered_multimap/erase/24061-map.cc: Likewise. * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise. * testsuite/23_containers/unordered_multiset/erase/24061-map.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157300 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-04 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-051-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/util/testsuite_container_traits.h (traits_base): Add has_throwing_erase trait. (traits<vector>, traits<deque>): Typedef the latter to true_type. * testsuite/util/exception/safety.h (generation_prohibited): Do not test vector::erase and deque::erase: can throw if either copy constructor or assignment operator of value_type throws. * testsuite/23_containers/vector/requirements/exception/ generation_prohibited.cc: Remove xfail. * testsuite/23_containers/deque/requirements/exception/ generation_prohibited.cc: Likewise. * include/ext/throw_allocator.h (hash<__gnu_cxx::throw_value_limit>:: operator(), hash<__gnu_cxx::throw_value_random>::operator()): Pass argument by const ref. * testsuite/util/testsuite_container_traits.h (traits<map>, traits<multimap>, traits<set>, traits<multiset>, traits<unordered_map>, traits<unordered_multimap>, traits<unordered_set>, traits<unordered_multiset>): Typedef consistently has_erase and has_insert as true_type. * testsuite/util/testsuite_container_traits.h (traits<unordered_map>, traits<unordered_multimap>, traits<unordered_set>, traits<unordered_multiset>): Do not wrongly typedef has_size_type_constructor as true_type: the constructor accepting a size_type actually gets the initial number of buckets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157239 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-03 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-031-8/+4
| | | | | | | | | | | | | Jonathan Wakely <jwakely.gcc@gmail.com> * include/bits/unique_ptr.h (unique_ptr<>::get_deleter): Simplify return type. * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust dg-error line number. * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157193 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-034-10/+10
| | | | | | | | | | * include/debug/bitset (hash): Minor tweaks. * include/debug/vector (hash): Likewise. * include/profile/bitset (hash): Likewise. * include/profile/vector (hash): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157186 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com> paolo2010-03-035-93/+93
| | | | | | | | | | | | | * include/bits/functional_hash.h (_Fnv_hash_base<>::hash): Change to template. * include/tr1/functional_hash.h (_Fnv_hash_base<>::hash): Likewise. * include/bits/vector.tcc (hash): Adjust. * include/bits/basic_string.h (hash): Likewise. * include/std/bitset (hash): Likewise. * src/hash-string-aux.cc (hash): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157185 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com>redi2010-03-021-2/+2
| | | | | | | | | | * include/std/mutex (lock_guard::lock_guard): Do not lock mutex when adopt_lock_t constructor is used. * testsuite/30_threads/lock_guard/cons/1.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157180 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-022-37/+45
| | | | | | | | | * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>:: operator()(const vector<bool, _Alloc>&)): Move definition... * include/bits/vector.tcc: ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157178 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-026-18/+109
| | | | | | | | | | | | | | | | | | | * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>): Add. * include/debug/vector (hash<__debug::vector<bool, _Alloc>>): Likewise. * include/profile/vector (hash<__profile::vector<bool, _Alloc>>): Likewise. * testsuite/23_containers/vector/bool/hash/1.cc: New. * include/std/bitset (hash<bitset<_Nb>>): Small tweaks. (hash<bitset<0>>): Add. * include/debug/bitset (hash<__debug::bitset<_Nb>>): Forward to hash<bitset<_Nb>>. * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise. * testsuite/23_containers/bitset/hash/1.cc: Improve. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157176 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-023-0/+75
| | | | | | | | | | | * include/std/bitset (_Base_bitset<>::_M_getdata()): Add. (hash<_GLIBCXX_STD_D::bitset<_Nb>>): Add, use the latter. * include/debug/bitset (hash<std::__debug::bitset<_Nb>>): Add. * include/profile/bitset (hash<std::__profile::bitset<_Nb>>): Likewise. * testsuite/23_containers/bitset/hash/1.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157165 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com>redi2010-03-021-17/+15
| | | | | | | | | | | | | | PR libstdc++/43183 * include/bits/unique_ptr.h (reset): Fix as per working paper. (operator*, operator->, operator[], operator bool, release): Use pointer's null value instead of 0. * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust. * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust. * testsuite/20_util/unique_ptr/modifiers/43183.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157158 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-01 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-03-011-38/+91
| | | | | | | | | | | | | * include/std/iomanip (get_money, put_money): Add in C++0x mode; tidy. * testsuite/27_io/manipulators/extended/get_money/char/1.cc: New. * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise. * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157153 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-03-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2010-03-011-1/+9
| | | | | | | | * include/bits/atomicfwd_cxx.h: Add typedefs to group. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157152 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-25 Ed Smith-Rowland <3dw4rd@verizon.net>paolo2010-02-251-19/+19
| | | | | | | | * include/bits/random.tcc (operator<<): Use max_digits10. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157068 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-25 Ed Smith-Rowland <3dw4rd@verizon.net>paolo2010-02-251-3/+143
| | | | | | | | | | | | | | * include/std/limits (__numeric_limits_base::max_digits10, numeric_limits<>::max_digits10, numeric_limits<>::lowest): Add. * src/limits.cc: Define max_digits10. * config/abi/pre/gnu.ver: Adjust. * testsuite/18_support/numeric_limits/dr559.cc: Test max_digits10 and lowest too. * testsuite/18_support/numeric_limits/lowest.cc: New. * testsuite/18_support/numeric_limits/max_digits10.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157067 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-25 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-252-28/+23
| | | | | | | | | | | | * include/bits/functional_hash.h (__hash_combine): Remove. (_Fnv_hash_base<>::hash(const char*, size_t)): Add defaulted hash parameter. (_Fnv_hash::__hash_combine(const _Tp&, size_t)): Add. * include/std/system_error (hash<system_error>): Adjust. * src/compatibility-c++0x.cc (hash<system_error>): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157065 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-24 Benjamin Kosnik <bkoz@redhat.com>bkoz2010-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/xml/faq.xml: Adjust structure for pdf index. * doc/xml/manual/mt_allocator.xml: Same. * doc/xml/manual/allocator.xml: Same. * doc/xml/manual/ctype.xml: Same. * doc/xml/manual/numerics.xml: Same. * doc/xml/manual/codecvt.xml: Same. * doc/xml/manual/intro.xml: Same. * doc/xml/manual/shared_ptr.xml: Same. * doc/xml/manual/status_cxxtr1.xml: Same. * doc/xml/manual/auto_ptr.xml: Same. * doc/xml/manual/internals.xml: Same. * doc/xml/manual/status_cxx1998.xml: Same. * doc/xml/manual/parallel_mode.xml: Same. * doc/xml/manual/profile_mode.xml: Same. * doc/xml/manual/containers.xml: Same. * doc/xml/manual/io.xml: Same. * doc/xml/manual/concurrency_extensions.xml: Same. * doc/xml/manual/appendix_porting.xml: Same. * doc/xml/manual/utilities.xml: Same. * doc/xml/manual/support.xml: Same. * doc/xml/manual/bitmap_allocator.xml: Same. * doc/xml/manual/configure.xml: Same. * doc/xml/manual/build_hacking.xml: Same. * doc/xml/manual/evolution.xml: Same. * doc/xml/manual/using.xml: Same. * doc/xml/manual/debug.xml: Same. * doc/xml/manual/localization.xml: Same. * doc/xml/manual/strings.xml: Same. * doc/xml/manual/debug_mode.xml: Same. * doc/xml/manual/locale.xml: Same. * doc/xml/manual/extensions.xml: Same. * doc/xml/manual/appendix_contributing.xml: Same. * doc/xml/manual/prerequisites.xml: Same. * doc/xml/manual/messages.xml: Same. * doc/xml/manual/diagnostics.xml: Same. * doc/xml/manual/algorithms.xml: Same. * doc/xml/manual/appendix_free.xml: Same. * doc/xml/manual/iterators.xml: Same. * doc/xml/manual/spine.xml: Same. * doc/xml/manual/status_cxxtr24733.xml: Same. * doc/xml/manual/status_cxx200x.xml: Same. * doc/Makefile.am: Refactor. * doc/Makefile.in: Regenerate. * include/bits/c++0x_warning.h: Tweak doxygen file markup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157059 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-23 Benjamin Kosnik <bkoz@redhat.com>bkoz2010-02-231-23/+25
| | | | | | | | | * include/bits/random.h: Doxygen group markup fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157023 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-23 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-235-43/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/functional_hash.h (struct _Fnv_hash): Rename to _Fnv_hash_base. (struct _Fnv_hash): Add, derives from the latter. (__hash_combine): Add. (hash<float>::operator()(float), hash<double>::operator()(double)): Adjust. * include/bits/basic_string.h (hash<string>, hash<wstring>, hash<u16string>, hash<u32string>): Adjust. * src/hash-string-aux.cc: Adjust. * src/compatibility-c++0x.cc (hash<error_code>): Use __hash_combine. * include/std/system_error (hash<error_code>): Likewise. * include/std/thread (struct hash<thread::id>): Add. * include/tr1/functional_hash.h : Rename to _Fnv_hash_base. (struct _Fnv_hash): Add, derives from the latter. (hash<float>::operator()(float), hash<double>::operator()(double)): Adjust. * testsuite/30_threads/thread/id/hash.cc: New. * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust dg-error line number. * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157005 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-22 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-221-0/+4
| | | | | | | | * include/tr1_impl/complex (arg): Use std::signbit only when available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156972 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-22 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-227-144/+136
| | | | | | | | | | | | | | | | | | | | | | | | * include/bits/functional_hash.h (hash<string>, hash<wstring>, hash<u16string>, hash<u32string>, hash<error_code>): Move, per DR 1182 to... * include/bits/basic_string.h: ... here. * include/std/system_error: ... and here, respectively. * src/hash-aux.cc (hash<long double>::operator()(long double)): Move definition... * src/hash_c++0x.cc: ... here, new file. * src/hash_tr1.cc: ... and here, tweak includes. * src/compatibility-c++0x.cc (hash, _Fnv_hash): Remove. * src/Makefile.am: Adjust. * src/Makefile.in: Regenerate. * include/std/functional: Include <bits/functexcept.h>. * include/std/unordered_set: Remove redundant include. * include/std/unordered_map: Likewise. * include/tr1/functional_hash.h: Remove spurious trailing semicolon. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Remove dg-excess. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156971 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-21 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-213-15/+24
| | | | | | | | | | | | | | * include/std/complex (proj): Change return type per DR 1137. (conj): Copy from tr1_impl, likewise adjust return type. * include/tr1_impl/complex (conj): Remove. * include/tr1/complex (conj): Add both overloads. * testsuite/26_numerics/complex/dr781.cc: Rename to... * testsuite/26_numerics/complex/dr781_dr1137.cc: ... this, and extend. * include/tr1_impl/complex (arg): Optimize. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156940 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-19 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-191-1/+5
| | | | | | | | | | | | * include/tr1_impl/array (array): Add pointer and const_pointer typedefs in C++0x mode, per DR 1306. * testsuite/util/testsuite_containers.h (basic_types): Add pointer and const_pointer typedefs. (pointer_aware_types): Remove. * testsuite/util/testsuite_container_traits.h: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156906 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-19 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-191-2/+2
| | | | | | | | * include/bits/stl_algo.h (for_each): Implement resolution of DR 1110. * testsuite/25_algorithms/for_each/1.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156900 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-19 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-192-23/+0
| | | | | | | | | | * include/bits/shared_ptr_base.h (__weak_ptr): Remove deleted comparison operators, per DR 1256. * include/bits/shared_ptr.h (weak_ptr): Likewise. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156891 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-18 Benjamin Kosnik <bkoz@redhat.com>bkoz2010-02-191-1/+1
| | | | | | | | | | | | | | * scripts/run_doxygen: Add shortnames option. * doc/Makefile.am (doc-man-doxygen): Use it. (doc-html-doxygen): Use it. (doc-xml-doxygen): Use it, but default to NO. (doc-pdf-dblatex): Add. * doc/Makefile.in: Regenerate. * doc/doxygen/user.cfg.in: Update filelist. * include/bits/locale_facets.h: Fix markup warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156887 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-17 Chris Jefferson <chris@bubblescope.net>paolo2010-02-171-4/+4
| | | | | | | | * include/bits/locale_facets.h (__convert_to_v): Add empty exception-specification. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156837 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-17 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-171-5/+19
| | | | | | | | | * include/std/limits: Implement resolution of DR 559 (CD1) in C++0x mode. * testsuite/18_support/numeric_limits/dr559.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156830 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2010-02-174-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/ios_locale.cc: Fixes for -pedantic. * src/system_error.cc: Same. * src/locale.cc: Same. * src/list.cc: Same. * src/locale_facets.cc: Same. * src/locale_init.cc: Same. * src/ios.cc: Same. * config/locale/darwin/ctype_members.cc: Same. * config/locale/gnu/collate_members.cc: Same. * config/locale/gnu/ctype_members.cc: Same. * config/locale/gnu/c_locale.cc: Same. * config/locale/gnu/monetary_members.cc: Same. * config/locale/gnu/time_members.cc: Same. * config/locale/ieee_1003.1-2001/c_locale.cc: Same. * config/locale/generic/collate_members.cc: Same. * config/locale/generic/ctype_members.cc: Same. * config/locale/generic/c_locale.cc: Same. * config/locale/generic/monetary_members.cc: Same. * config/locale/generic/time_members.cc: Same. * config/io/basic_file_stdio.cc: Same. * libsupc++/pbase_type_info.cc: Fixes for -fno-rtti. * libsupc++/pointer_type_info.cc: Same. * libsupc++/eh_personality.cc: Same. * include/std/system_error: Throw spacing. * include/bits/locale_classes.h: Same. * include/bits/locale_facets.h: Same. * include/bits/ios_base.h: Same. * testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New. * testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156822 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-16 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-162-45/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/random.h (linear_congruential_engine(_Sseq&), mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)): Do not enable for the type itself. (discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&), shuffle_order_engine(_Sseq&)): Do not enable for the type itself too. (linear_congruential_engine<>::seed(_Sseq&), mersenne_twister_engine<>::seed(_Sseq&), subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the return type. (discard_block_engine<>::seed(_Sseq&), independent_bits_engine<>::seed(_Sseq&), shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if. * include/bits/random.tcc: Adjust definitions. * testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ base_move.cc: Minor tweaks. * testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ base_copy.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed1.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed2.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/default.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed1.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed2.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156815 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-16 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-163-25/+5
| | | | | | | | | | | | | | | | | | | | | * include/bits/unique_ptr.h: (unique_ptr<>:: unique_ptr(const unique_ptr<_Up, _Up_Deleter>&), operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant, per DR 1303. * include/bits/shared_ptr.h (shared_ptr<>:: shared_ptr(const unique_ptr<_Up, _Up_Deleter>&), operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise. * include/bits/shared_ptr_base.h (__shared_ptr<>:: __shared_ptr(const unique_ptr<_Up, _Up_Deleter>&), operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise. * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust. * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise. * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise. * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156807 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-15 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-152-68/+68
| | | | | | | | * include/bits/stl_algo.h (__median): Move... * include/ext/algorithm: ... here, being an SGI extension. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156776 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>paolo2010-02-121-8/+14
| | | | | | | | | | | | | | | | | | | Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/42819, DR 1315 * include/std/future (async): Use std::result_of for the template argument of the std::future return type; adjust everywhere. * testsuite/30_threads/async/42819.cc: New. * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust dg-error line number. * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise. * testsuite/30_threads/future/cons/assign_neg.cc: Likewise. * testsuite/30_threads/future/cons/copy_neg.cc: Likewise. * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise. * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156742 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/thread (~_Impl_base): Declare inline.jason2010-02-111-1/+1
| | | | | | * libsupc++/nested_exception.h (~nested_exception): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156707 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-02-11 Paolo Carlini <paolo.carlini@oracle.com>paolo2010-02-113-83/+61
| | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/41975, DR 579 * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove. (erase(const_iterator), erase(const_iterator, const_iterator)): Change return type to void. * include/debug/unordered_map: Adjust. * include/debug/unordered_set: Likewise. * testsuite/util/exception/safety.h: Likewise. * testsuite/23_containers/unordered_map/erase/1.cc: Likewise. * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise. * testsuite/23_containers/unordered_set/erase/1.cc: Likewise. * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise. * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise. * testsuite/23_containers/unordered_multimap/erase/24061-map.cc: Likewise. * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise. * testsuite/23_containers/unordered_multiset/erase/24061-map.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156705 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/42983, core issue 906jason2010-02-101-1/+3
| | | | | | | | * method.c (defaultable_fn_check): Check virtualness. * include/std/thread (~_Impl_base): Move default out of line. * libsupc++/nested_exception.h (~nested_exception): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156672 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud