1 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3 * include/bits/random.h (random_device::min, max): Specify constexpr.
5 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
7 * include/std/thread: Use noexcept throughout per the FDIS.
8 * include/std/mutex: Likewise.
10 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
12 * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
14 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
17 * include/std/chrono (operator+, operator-, operator*, operator/,
18 operator&): Implement LWG 2020 [WP]; specify constexpr.
19 * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
21 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
24 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
25 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
26 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
28 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
30 * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
31 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
34 2011-05-23 Benjamin Kosnik <bkoz@redhat.com>
38 Interface changes for ext/pb_ds.
39 PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
40 * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
41 (basic_hash_table, basic_branch, list_update): Derive from
42 container_base_dispatch.
43 * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
44 (move_to_front_lu_policy): To lu_move_to_front_policy.
45 (counter_lu_policy): To lu_counter_policy.
46 * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
47 * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
48 template parameters, declare here.
49 (null_mapped_type) Remove.
50 (null_type): Just use this for template tricks everywhere.
51 * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
53 * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
54 (string_trie_e_access_traits): To trie_string_access_traits.
55 * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
58 * include/Makefile.am (pb_headers): Removed and changed file names.
59 * include/Makefile.in: Regenerated.
60 * include/ext/pb_ds/detail/basic_types.hpp: Remove.
61 * include/ext/pb_ds/detail/bin_search_tree_/
62 cond_dtor_entry_dealtor.hpp: Remove.
63 * include/ext/pb_ds/detail/bin_search_tree_/
64 cond_key_dtor_entry_dealtor.hpp: Remove.
65 * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
66 * include/ext/pb_ds/detail/binary_heap_/
67 point_const_iterator.hpp: ..here.
68 * include/ext/pb_ds/detail/basic_tree_policy: Move to...
69 * include/ext/pb_ds/detail/branch_policy: This.
70 * include/ext/pb_ds/detail/branch_policy/
71 basic_tree_policy_base.hpp: Move...
72 * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
73 * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
74 * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
75 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
76 null_metadata.hpp: Remove.
77 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
78 const_point_iterator.hpp: Move...
79 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
80 point_const_iterator.hpp: ...here.
81 * include/ext/pb_ds/detail/list_update_policy/
82 counter_lu_metadata.hpp: Move..
83 * include/ext/pb_ds/detail/list_update_policy/
84 lu_counter_metadata.hpp: ...here.
85 * include/ext/pb_ds/detail/list_update_policy/
86 counter_lu_policy_imp.hpp: Remove.
87 * include/ext/pb_ds/detail/list_update_policy/
88 mtf_lu_policy_imp.hpp: Remove.
89 * include/ext/pb_ds/detail/trie_policy/
90 string_trie_e_access_traits_imp.hpp: Move...
91 * include/ext/pb_ds/detail/trie_policy/
92 sample_trie_access_traits.hpp: ...here.
93 * include/ext/pb_ds/detail/trie_policy/
94 sample_trie_e_access_traits.hpp: Move...
95 * include/ext/pb_ds/detail/trie_policy/
96 trie_string_access_traits_imp.hpp: ...here.
97 * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
98 * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
99 * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
100 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
101 types found in the following files into pat_trie_base.
102 * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
103 * include/ext/pb_ds/detail/pat_trie_/
104 cond_dtor_entry_dealtor.hpp: Folded.
105 * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
106 * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
107 * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
108 * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
109 * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
110 * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
111 * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
112 * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
113 * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
114 * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
115 * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
116 * include/ext/pb_ds/detail/unordered_iterator/
117 const_point_iterator.hpp: Move...
118 * include/ext/pb_ds/detail/unordered_iterator/
119 point_const_iterator.hpp: ...here.
122 Adjust for above changes.
123 * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
124 * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
125 * include/ext/pb_ds/detail/resize_policy/
126 sample_resize_trigger.hpp: Same.
127 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
128 * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
129 * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
130 * include/ext/pb_ds/detail/binomial_heap_base_/
131 binomial_heap_base_.hpp: Same.
132 * include/ext/pb_ds/detail/binomial_heap_base_/
133 constructors_destructor_fn_imps.hpp: Same.
134 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
135 * include/ext/pb_ds/detail/binomial_heap_base_/
136 split_join_fn_imps.hpp: Same.
137 * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
138 for template parameter ordering change.
139 * include/ext/pb_ds/detail/cc_hash_table_map_/
140 erase_store_hash_fn_imps.hpp: Same.
141 * include/ext/pb_ds/detail/cc_hash_table_map_/
142 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
143 * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
144 * include/ext/pb_ds/detail/cc_hash_table_map_/
145 insert_no_store_hash_fn_imps.hpp: Same.
146 * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
147 * include/ext/pb_ds/detail/cc_hash_table_map_/
148 policy_access_fn_imps.hpp: Same.
149 * include/ext/pb_ds/detail/cc_hash_table_map_/
150 resize_store_hash_fn_imps.hpp: Same.
151 * include/ext/pb_ds/detail/cc_hash_table_map_/
152 constructor_destructor_store_hash_fn_imps.hpp: Same.
153 * include/ext/pb_ds/detail/cc_hash_table_map_/
154 insert_store_hash_fn_imps.hpp: Same.
155 * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
156 * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
157 * include/ext/pb_ds/detail/cc_hash_table_map_/
158 entry_list_fn_imps.hpp: Same.
159 * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
160 * include/ext/pb_ds/detail/cc_hash_table_map_/
161 find_store_hash_fn_imps.hpp: Same.
162 * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
163 * include/ext/pb_ds/detail/cc_hash_table_map_/
164 debug_no_store_hash_fn_imps.hpp: Same.
165 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
166 * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
167 * include/ext/pb_ds/detail/cc_hash_table_map_/
168 constructor_destructor_fn_imps.hpp: Same.
169 * include/ext/pb_ds/detail/cc_hash_table_map_/
170 cond_key_dtor_entry_dealtor.hpp: Same.
171 * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
172 * include/ext/pb_ds/detail/cc_hash_table_map_/
173 debug_store_hash_fn_imps.hpp: Same.
174 * include/ext/pb_ds/detail/cc_hash_table_map_/
175 erase_no_store_hash_fn_imps.hpp: Same.
176 * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
177 * include/ext/pb_ds/detail/cc_hash_table_map_/
178 iterators_fn_imps.hpp: Same.
179 * include/ext/pb_ds/detail/cc_hash_table_map_/
180 resize_no_store_hash_fn_imps.hpp: Same.
181 * include/ext/pb_ds/detail/cc_hash_table_map_/
182 standard_policies.hpp: Same.
183 * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
184 * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
185 * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
186 * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
187 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
188 * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
189 * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
190 * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
191 * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
192 * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
193 * include/ext/pb_ds/detail/pat_trie_/
194 constructors_destructor_fn_imps.hpp: Same.
195 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
196 * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
197 * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
198 * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
199 * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
200 * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
201 * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
202 * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
203 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
204 * include/ext/pb_ds/detail/bin_search_tree_/
205 policy_access_fn_imps.hpp: Same.
206 * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
207 * include/ext/pb_ds/detail/bin_search_tree_/
208 constructors_destructor_fn_imps.hpp: Same.
209 * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
210 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
211 * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
212 * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
213 * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
214 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
215 * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
216 * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
217 * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
218 * include/ext/pb_ds/detail/bin_search_tree_/
219 split_join_fn_imps.hpp: Same.
220 * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
221 * include/ext/pb_ds/detail/list_update_policy/
222 sample_update_policy.hpp: Same.
223 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
224 trace_fn_imps.hpp: Same.
225 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
226 erase_fn_imps.hpp: Same.
227 * include/ext/pb_ds/detail/gp_hash_table_map_/
228 erase_store_hash_fn_imps.hpp: Same.
229 * include/ext/pb_ds/detail/gp_hash_table_map_/
230 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
231 * include/ext/pb_ds/detail/gp_hash_table_map_/
232 insert_no_store_hash_fn_imps.hpp: Same.
233 * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
234 * include/ext/pb_ds/detail/gp_hash_table_map_/
235 policy_access_fn_imps.hpp: Same.
236 * include/ext/pb_ds/detail/gp_hash_table_map_/
237 resize_store_hash_fn_imps.hpp: Same.
238 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
239 * include/ext/pb_ds/detail/gp_hash_table_map_/
240 constructor_destructor_store_hash_fn_imps.hpp: Same.
241 * include/ext/pb_ds/detail/gp_hash_table_map_/
242 insert_store_hash_fn_imps.hpp: Same.
243 * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
244 * include/ext/pb_ds/detail/gp_hash_table_map_/
245 iterator_fn_imps.hpp: Same.
246 * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
247 * include/ext/pb_ds/detail/gp_hash_table_map_/
248 find_no_store_hash_fn_imps.hpp: Same.
249 * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
250 * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
251 * include/ext/pb_ds/detail/gp_hash_table_map_/
252 find_store_hash_fn_imps.hpp: Same.
253 * include/ext/pb_ds/detail/gp_hash_table_map_/
254 debug_no_store_hash_fn_imps.hpp: Same.
255 * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
256 * include/ext/pb_ds/detail/gp_hash_table_map_/
257 constructor_destructor_fn_imps.hpp: Same.
258 * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
259 * include/ext/pb_ds/detail/gp_hash_table_map_/
260 debug_store_hash_fn_imps.hpp: Same.
261 * include/ext/pb_ds/detail/gp_hash_table_map_/
262 erase_no_store_hash_fn_imps.hpp: Same.
263 * include/ext/pb_ds/detail/gp_hash_table_map_/
264 resize_no_store_hash_fn_imps.hpp: Same.
265 * include/ext/pb_ds/detail/gp_hash_table_map_/
266 standard_policies.hpp: Same.
267 * include/ext/pb_ds/detail/standard_policies.hpp: Same.
268 * include/ext/pb_ds/detail/types_traits.hpp: Same.
269 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
270 * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
271 * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
272 * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
273 * include/ext/pb_ds/detail/binary_heap_/
274 constructors_destructor_fn_imps.hpp: Same.
275 * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
276 * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
277 * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
278 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
279 * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
280 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
281 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
282 * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
283 * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
284 * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
285 * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
286 * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
287 * include/ext/pb_ds/detail/tree_policy/
288 sample_tree_node_update.hpp: Same.
289 * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
290 * include/ext/pb_ds/detail/trie_policy/
291 sample_trie_node_update.hpp: Same.
292 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
293 * include/ext/pb_ds/detail/trie_policy/
294 prefix_search_node_update_imp.hpp: Same.
295 * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
296 * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
297 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
298 Adjust for template parameter change, fold into
299 container_base_dispatch.
300 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
301 * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
302 * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
303 * include/ext/pb_ds/detail/pairing_heap_/
304 constructors_destructor_fn_imps.hpp: Same.
305 * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
306 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
307 * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
308 * include/ext/pb_ds/detail/binomial_heap_/
309 constructors_destructor_fn_imps.hpp: Same.
310 * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
311 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
312 * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
313 * include/ext/pb_ds/detail/type_utils.hpp: Same.
314 * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
315 * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
316 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
317 policy_access_fn_imps.hpp: Same.
318 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
319 left_child_next_sibling_heap_.hpp: Same.
320 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
321 const_iterator.hpp: Same.
322 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
323 insert_fn_imps.hpp: Same.
324 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
325 constructors_destructor_fn_imps.hpp: Same.
326 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
327 debug_fn_imps.hpp: Same.
328 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
330 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
331 info_fn_imps.hpp: Same.
332 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
333 iterators_fn_imps.hpp: Same.
334 * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
335 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
336 * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
337 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
338 * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
339 * include/ext/pb_ds/detail/thin_heap_/
340 constructors_destructor_fn_imps.hpp: Same.
341 * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
342 * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
343 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
344 * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
345 * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
346 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
347 * include/ext/pb_ds/detail/ov_tree_map_/
348 constructors_destructor_fn_imps.hpp: Same.
349 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
350 * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
351 * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
352 * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
353 * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
354 * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
355 * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
356 * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
357 * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
358 * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
359 * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
360 * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
361 * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
362 * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
363 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
364 * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
365 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
366 * include/ext/pb_ds/detail/splay_tree_/
367 constructors_destructor_fn_imps.hpp: Same.
368 * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
369 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
370 * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
371 * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
372 * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
373 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
374 * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
375 * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
376 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
377 * include/ext/pb_ds/detail/list_update_map_/
378 entry_metadata_base.hpp: Same.
379 * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
380 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
381 * include/ext/pb_ds/detail/list_update_map_/
382 constructor_destructor_fn_imps.hpp: Same.
383 * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
384 * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
385 * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
386 * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
387 * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
388 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
389 * include/ext/pb_ds/detail/rc_binomial_heap_/
390 rc_binomial_heap_.hpp: Same.
391 * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
392 * include/ext/pb_ds/detail/rc_binomial_heap_/
393 constructors_destructor_fn_imps.hpp: Same.
394 * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
395 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
396 * include/ext/pb_ds/detail/rc_binomial_heap_/
397 split_join_fn_imps.hpp: Same.
398 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
399 * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
400 * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
401 * include/ext/pb_ds/detail/rb_tree_map_/
402 constructors_destructor_fn_imps.hpp: Same.
403 * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
404 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
405 * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
406 * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
407 * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
408 * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
411 Documentation changes.
412 * include/ext/pb_ds/*: Add doxygen markup.
413 * doc/doxygen/user.cfg.in: Add details for extracting comments
415 * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
416 * scripts/make_graph.py: Move to svg output. Re-format generated tables.
418 * doc/Makefile.am (stamp-html-copy): New rule.
419 (stamp-html): Use it to copy non-generated files into html docs.
420 * doc/Makefile.in: Regenerated.
422 * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
423 * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
424 * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
425 * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
427 * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
428 hash_random_int_erase_mem_usage_test_local.png,
429 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
430 tree_text_insert_timing_test_pat_trie_local.png ,
431 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
432 priority_queue_text_modify_down_timing_test_local.png,
433 gp_hash_random_int_subscript_timing_test_find_local.png,
434 text_find_timing_test_hash_local.png,
435 multimap_text_insert_timing_test_small_s2p_hash_local.png,
436 multimap_text_insert_timing_test_small_s2p_tree_local.png,
437 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
438 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
439 multimap_text_insert_timing_test_large_s2p_hash_local.png,
440 hash_zlob_random_int_find_timing_test_local.png,
441 multimap_text_insert_timing_test_large_s2p_tree_local.png,
442 binary_priority_queue_random_int_push_timing_test_local.png,
443 priority_queue_text_pop_mem_usage_test_local.png,
444 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
445 tree_split_join_timing_test_local.png,
446 multimap_text_find_timing_test_small_s2p_hash_local.png,
447 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
448 priority_queue_random_int_push_pop_timing_test_local.png,
449 multimap_text_find_timing_test_small_s2p_tree_local.png,
450 gp_hash_random_int_subscript_timing_test_insert_local.png,
451 priority_queue_text_push_timing_test_local.png,
452 cc_hash_random_int_subscript_timing_test_find_local.png,
453 tree_text_insert_timing_test_vector_tree_local.png,
454 multimap_text_find_timing_test_large_s2p_hash_local.png,
455 pairing_priority_queue_text_push_timing_test_local.png,
456 tree_order_statistics_timing_test_local.png,
457 priority_queue_text_push_pop_timing_test_local.png,
458 text_find_timing_test_tree_like_local.png,
459 multimap_text_find_timing_test_large_s2p_tree_local.png,
460 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
461 cc_hash_random_int_subscript_timing_test_insert_local.png,
462 priority_queue_text_modify_up_timing_test_local.png,
463 random_int_find_find_timing_test_tree_local.png,
464 priority_queue_random_int_push_timing_test_local.png,
465 tree_text_insert_timing_test_node_tree_local.png,
466 pairing_priority_queue_text_push_pop_timing_test_local.png,
467 gp_hash_random_int_find_timing_test_local.png,
468 cc_hash_random_int_find_timing_test_local.png,
469 priority_queue_text_join_timing_test_local.png: Update local pngs.
473 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
474 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
475 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
476 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
477 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
478 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
480 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
482 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
483 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
485 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
487 * testsuite/ext/pb_ds/example/basic_set.cc: Update.
488 * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
489 * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
490 * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
491 * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
492 * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
493 * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
494 * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
496 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
497 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
498 * testsuite/data/make_graph_test_infos.xml: Same.
499 * testsuite/util/regression/common_type.hpp: Same.
500 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
501 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
502 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
503 * testsuite/util/regression/rand/priority_queue/
504 rand_regression_test.hpp: Same.
505 * testsuite/util/regression/rand/priority_queue/
506 container_rand_regression_test.tcc: Same.
507 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
508 * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
509 * testsuite/util/regression/rand/assoc/
510 container_rand_regression_test.tcc: Same.
511 * testsuite/util/native_type/native_priority_queue.hpp: Same.
512 * testsuite/util/native_type/native_multimap.hpp: Same.
513 * testsuite/util/native_type/native_hash_multimap.hpp: Same.
514 * testsuite/util/native_type/native_set.hpp: Same.
515 * testsuite/util/native_type/native_map.hpp: Same.
516 * testsuite/util/native_type/native_hash_set.hpp: Same.
517 * testsuite/util/native_type/native_hash_map.hpp: Same.
518 * testsuite/util/testsuite_containers.h
519 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
520 * testsuite/util/common_type/assoc/common_type.hpp: Same.
521 * testsuite/util/common_type/assoc/string_form.hpp: Same.
522 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
523 * testsuite/util/common_type/assoc/detail/
524 trigger_policy_string_form.hpp: Same.
525 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
526 * testsuite/util/common_type/assoc/detail/
527 size_policy_string_form.hpp: Same.
528 * testsuite/util/common_type/assoc/detail/
529 probe_fn_string_form.hpp: Same.
530 * testsuite/util/common_type/assoc/detail/
531 tree_supports_order_statistics.hpp: Same.
532 * testsuite/util/common_type/assoc/detail/
533 trie_supports_prefix_search.hpp: Same.
534 * testsuite/util/common_type/assoc/detail/
535 list_update_policy_string_form.hpp: Same.
536 * testsuite/util/common_type/assoc/detail/
537 trie_supports_order_statistics.hpp: Same.
538 * testsuite/util/common_type/assoc/native_set.hpp: Same.
539 * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
540 * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
541 * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
543 2011-05-23 Paolo Carlini <paolo.carlini@oracle.com>
545 * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
546 (istreambuf_iterator<>::istreambuf_iterator(const
547 istreambuf_iterator&), ~istreambuf_iterator()): Add defaulted
550 2011-05-23 Jason Merrill <jason@redhat.com>
552 * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
554 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
556 * testsuite/20_util/bind/cv_quals_2.cc: New.
558 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
561 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
562 operator()(_Args&&...)): Don't cv qualify _Functor directly
563 in the default template argument, SFINAE doesn't apply when
564 the functor has no arguments.
565 * testsuite/20_util/bind/49058_1.cc: New.
566 * testsuite/20_util/bind/49058_2.cc: Likewise.
568 2011-05-21 Paolo Carlini <paolo.carlini@oracle.com>
570 * include/bits/unique_ptr.h: Use noexcept per the FDIS.
572 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
574 * testsuite/21_strings/basic_string/requirements/exception/
575 propagation_consistent.cc: Fix vs POD-ness of value_type.
576 * testsuite/21_strings/basic_string/requirements/exception/
578 * testsuite/ext/vstring/requirements/exception/
579 propagation_consistent.cc: Likewise.
580 * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
582 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
584 * include/bits/char_traits.h: Use noexcept throughout.
585 * include/std/typeindex: Likewise.
587 * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
588 noexcept; adjust callers.
589 * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
590 * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
591 * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
592 * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
593 * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
594 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
597 2011-05-20 Jason Merrill <jason@redhat.com>
599 * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
600 functions from dependent bases.
601 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
602 * include/ext/pb_ds/detail/rb_tree_map_/
603 split_join_fn_imps.hpp: Likewise.
604 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
605 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
606 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
607 * include/ext/pb_ds/detail/splay_tree_/
608 split_join_fn_imps.hpp: Likewise.
609 * include/ext/pb_ds/detail/tree_policy/
610 order_statistics_imp.hpp: Likewise.
611 * include/ext/pb_ds/detail/trie_policy/
612 prefix_search_node_update_imp.hpp: Likewise.
613 * include/ext/rc_string_base.h: Likewise.
614 * include/ext/rope: Likewise.
615 * include/ext/ropeimpl.h: Likewise.
616 * testsuite/util/exception/safety.h: Likewise.
617 * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
618 * testsuite/util/testsuite_io.h: Likewise.
619 * include/std/functional: Declare mem_fn earlier.
620 * include/tr1/functional: Likewise.
621 * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
623 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
625 * include/std/tuple (tuple_element<__i, const _Tp>,
626 tuple_element<__i, volatile _Tp>, tuple_element<__i,
627 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
628 tuple_size<const volatile _Tp>): Add.
629 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
630 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
631 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
632 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
633 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
636 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
638 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
640 (__get_helper): Likewise.
641 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
642 * include/bits/move.h (swap): Likewise.
643 * include/bits/algorithmfwd.h (swap): Adjust.
644 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
645 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
646 mode, prefer delete to access control to make the type not copy
648 * testsuite/util/testsuite_tr1.h: Add test classes.
649 * testsuite/20_util/tuple/noexcept_swap.cc: New.
650 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
651 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
652 delete to access control.
653 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
654 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
657 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
659 * testsuite/util/testsuite_tr1.h: Add test classes.
660 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
662 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
664 * include/std/type_traits (is_assignable, is_copy_assignable,
665 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
666 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
667 (has_nothrow_copy_assign): Remove.
668 * testsuite/util/testsuite_tr1.h: Add test classes.
669 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
670 * testsuite/20_util/is_assignable/requirements/
671 explicit_instantiation.cc: Likewise.
672 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
673 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
675 * testsuite/20_util/is_nothrow_assignable/requirements/
676 explicit_instantiation.cc: Likewise.
677 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
678 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
680 * testsuite/20_util/is_move_assignable/requirements/
681 explicit_instantiation.cc: Likewise.
682 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
683 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
685 * testsuite/20_util/is_copy_assignable/requirements/
686 explicit_instantiation.cc: Likewise.
687 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
688 * testsuite/20_util/is_nothrow_move_assignable/requirements/
689 typedefs.cc: Likewise.
690 * testsuite/20_util/is_nothrow_move_assignable/requirements/
691 explicit_instantiation.cc: Likewise.
692 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
693 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
694 typedefs.cc: Likewise.
695 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
696 explicit_instantiation.cc: Likewise.
697 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
698 dg-error line numbers.
699 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
701 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
703 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
705 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
706 functions as defaulted/deleted.
707 * include/bits/shared_ptr.h: Use noexcept.
708 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
709 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
711 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
713 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
715 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
717 * libsupc++/initializer_list: Use noexcept specifier.
718 (initializer_list<>::size, begin, end): Qualify as const.
719 * include/bits/move.h (__addressof, forward, move, addressof): Specify
721 * include/std/bitset: Use noexcept specifier throughout.
722 * include/debug/bitset: Update.
723 * include/profile/bitset: Likewise.
725 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
727 * include/std/tuple: Use noexcept where appropriate.
728 (tuple<>::swap): Rework implementation.
729 (_Head_base<>::_M_swap_impl): Remove.
730 (get(std::tuple<>&&)): Add.
731 * testsuite/20_util/tuple/element_access/get2.cc: New.
732 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
735 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
737 * include/std/utility: Simplify the last commit, the whole
738 std::get code is C++0x only.
740 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
742 * include/std/utility (get(std::pair<>&&)): Add.
743 * include/bits/stl_pair.h (pair::swap(pair&),
744 swap(pair<>&, pair<>&)): Use noexcept.
745 * include/bits/random.h (discard_block_engine<>::base,
746 independent_bits_engine<>::base, shuffle_order_engine<>::base,
747 random_device::entropy): Use noexcept.
748 * include/std/array: Use noexcept where appropriate.
749 (get(array<>&&)): Add.
750 * testsuite/23_containers/array/requirements/get.cc: New.
751 * testsuite/20_util/pair/get.cc: Likewise.
752 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
755 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
757 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
759 * include/std/limits: Use the latter everywhere.
760 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
761 macro usages, the specializations exist only in C++0x mode.
762 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
765 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
767 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
769 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
771 2011-05-11 François Dumont <francois.cppdevs@free.fr>
773 * include/ext/pb_ds/detail/resize_policy/
774 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
775 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
776 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
777 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
778 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
779 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
780 * include/ext/pb_ds/detail/debug_map_base.hpp,
781 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
782 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
783 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
784 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
785 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
786 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
787 macro definitions move...
788 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
789 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
790 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
791 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
792 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
793 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
794 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
795 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
796 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
799 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
802 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
803 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
804 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
805 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
806 scalbn, tgamma, trunc): Use __enable_if on the return type.
807 * include/tr1/cmath: Likewise.
808 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
809 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
811 2011-05-07 François Dumont <francois.cppdevs@free.fr>
813 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
814 (_GLICXX_DEBUG_VERIFY): Use latter.
815 * include/ext/pb_ds/detail/resize_policy/
816 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
817 containing the original assert call.
818 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
819 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
820 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
821 split_join_fn_imps.hpp: Likewise.
822 * include/ext/pb_ds/detail/cc_hash_table_map_/
823 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
824 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
825 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
826 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
827 erase_no_store_hash_fn_imps.hpp: Likewise.
828 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
829 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
830 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
831 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
833 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
834 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
835 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
836 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
838 * include/ext/pb_ds/detail/gp_hash_table_map_/
839 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
840 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
841 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
842 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
843 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
845 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
846 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
847 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
848 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
849 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
850 find_fn_imps.hpp, insert_fn_imps.hpp,
851 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
852 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
853 * include/ext/pb_ds/detail/binomial_heap_/
854 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
855 binomial_heap_.hpp: Likewise.
856 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
857 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
858 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
859 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
860 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
861 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
862 split_join_fn_imps.hpp: Likewise.
863 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
864 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
865 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
866 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
867 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
868 find_fn_imps.hpp, insert_fn_imps.hpp,
869 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
870 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
871 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
872 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
873 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
874 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
875 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
876 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
877 split_join_fn_imps.hpp: Likewise.
878 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
879 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
880 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
881 * include/ext/pb_ds/hash_policy.hpp: Likewise.
883 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
885 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
887 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
889 PR libstdc++/47913 (again)
890 * include/std/ratio (ratio_add, ratio_less): Rewrite.
891 * testsuite/20_util/ratio/operations/47913.cc: Extend.
892 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
894 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
896 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
899 * include/std/valarray (valarray<>::valarray(valarray&&),
900 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
901 * doc/xml/manual/status_cxx200x.xml: Update.
902 * testsuite/26_numerics/valarray/moveable.cc: New.
903 * testsuite/26_numerics/valarray/swap.cc: Likewise.
905 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
908 * include/parallel/multiway_merge.h: Run _ValueType destructors.
909 * include/parallel/multiway_mergesort.h: Likewise.
910 * include/parallel/quicksort.h: Likewise.
911 * include/parallel/random_shuffle.h: Likewise.
912 * include/parallel/partial_sum.h: Likewise.
913 * include/parallel/losertree.h: Run destructors; minor tweaks.
914 * include/parallel/par_loop.h: Run destructors, fix memory
915 allocations and deallocations.
916 * testsuite/26_numerics/accumulate/48750.cc: New.
918 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
919 parallel-mode to avoid spurious multiple errors.
921 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
923 * include/std/functional (bind): Remove from overload set when first
924 argument type might be a socket file descriptor.
925 * testsuite/20_util/bind/socket.cc: New.
927 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
930 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
931 * doc/html/*: Regenerate.
933 2011-05-02 Ollie Wild <aaw@google.com>
935 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
936 Fix unqualified lookup.
937 (__sso_string_base<>::_M_assign): Likewise.
938 (__sso_string_base<>::_M_reserve): Likewise.
939 (__sso_string_base<>::_M_mutate): Likewise.
940 (__sso_string_base<>::_M_erase): Likewise.
941 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
942 (__versa_string<>::compare): Likewise.
943 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
945 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
947 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
949 * doc/xml/manual/documentation_hacking.xml: Fix typo.
950 * doc/html/*: Regenerate.
952 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
954 * include/std/type_traits (__is_default_constructible_atom,
955 __is_default_constructible_safe<, true>,
956 __is_direct_constructible_new_safe,
957 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
958 __is_direct_constructible_ref_cast, __is_direct_constructible,
959 __is_nary_constructible): Simplify; add comments throughout.
961 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
963 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
964 Adjust dg-error line numbers.
965 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
967 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
969 2011-04-30 Doug Kwan <dougkwan@google.com>
971 * include/Makefile.am (install-freestanding-headers): Also install
973 * include/Makefile.in: Regenerate.
975 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
978 * include/std/complex (complex<float>::complex(float, float),
979 complex<double>::complex(double, double),
980 complex<long double>::complex(long double, long double)): Use
981 list-initialization in C++0x mode, initialize in the body in
983 * testsuite/26_numerics/complex/cons/48760.cc: New.
984 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
986 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
988 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
989 tweak, remove redundant round braces.
991 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
993 * include/bits/move.h (move_if_noexcept): Add.
994 * testsuite/20_util/move_if_noexcept/requirements/
995 explicit_instantiation.cc: New.
996 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
998 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
1000 * include/std/type_traits (struct underlying_type): Add.
1001 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
1002 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
1004 * testsuite/20_util/underlying_type/requirements/
1005 explicit_instantiation.cc: Likewise.
1006 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1009 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
1011 * include/parallel/multiway_merge.h: Uglify equally_split
1012 and equally_split_point throughout.
1013 * include/parallel/par_loop.h: Likewise.
1014 * include/parallel/equally_split.h: Likewise.
1015 * include/parallel/set_operations.h: Likewise.
1016 * include/parallel/unique_copy.h: Likewise.
1017 * include/parallel/multiway_mergesort.h: Likewise.
1018 * include/parallel/search.h: Likewise.
1019 * include/parallel/partial_sum.h: Likewise.
1020 * include/parallel/find.h: Likewise.
1022 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1024 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
1025 documentation. Expand link text.
1027 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1029 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
1031 2011-04-22 François Dumont <francois.cppdevs@free.fr>
1033 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
1034 unused compilation result thanks to /dev/null.
1035 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
1036 check_v3_target_profile_mode, check_v3_target_normal_mode,
1037 check_v3_target_cstdint, check_v3_target_cmath,
1038 check_v3_target_atomic_builtins, check_v3_target_gthreads,
1039 check_v3_target_nanosleep, check_v3_target_sched_yield,
1040 check_v3_target_string_conversions, check_v3_target_swprintf,
1041 check_v3_target_binary_io): Use simple preprocessing rather than
1042 compilation. Discard unused preprocessing result thanks to /dev/null.
1044 2011-04-20 Jim Meyering <meyering@redhat.com>
1046 * libsupc++/del_opnt.cc (operator delete): Remove useless
1049 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
1052 * include/std/type_traits (result_of): Handle pointer to member.
1053 * include/std/functional (__invoke): Likewise.
1054 (_Function_to_function_pointer): Remove.
1055 (_Reference_wrapper_base): Provide nested types independent of
1056 unary_function and binary_function.
1057 (reference_wrapper::operator()): DR 2017.
1058 (ref(const A&&), cref(const A&&): Define as deleted.
1059 * include/std/future (async): Simplify SFINAE and use result_of to
1060 support pointer to member.
1061 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
1063 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1064 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
1065 instead of derivation from unary_function and binary_function.
1066 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1067 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
1068 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
1069 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
1071 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
1074 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
1075 this part if SAMPLES < 100000.
1077 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
1079 * include/std/type_traits (is_nothrow_default_constructible,
1080 is_nothrow_copy_constructible, is_nothrow_move_constructible,
1081 is_copy_constructible, is_move_constructible): Add.
1082 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
1084 (is_nothrow_constructible): Adjust.
1086 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
1087 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
1088 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
1089 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
1091 * testsuite/20_util/has_nothrow_default_constructor: Remove.
1092 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
1094 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1095 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1096 typedefs.cc: Likewise.
1097 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1098 explicit_instantiation.cc: Likewise.
1099 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1100 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1101 typedefs.cc: Likewise.
1102 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1103 explicit_instantiation.cc: Likewise.
1104 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
1106 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1107 typedefs.cc: Likewise.
1108 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1109 explicit_instantiation.cc: Likewise.
1110 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1111 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
1113 * testsuite/20_util/is_move_constructible/requirements/
1114 explicit_instantiation.cc: Likewise.
1115 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1116 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
1118 * testsuite/20_util/is_copy_constructible/requirements/
1119 explicit_instantiation.cc: Likewise.
1121 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
1122 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
1124 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1125 Adjust dg-error line numbers.
1126 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1128 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1130 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
1132 * testsuite/25_algorithms/partition/moveable.cc: Actually run
1133 it in parallel-mode for check-parallel.
1135 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
1136 Paolo Carlini <paolo.carlini@oracle.com>
1138 PR libstdc++/48635 (again)
1139 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
1140 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
1141 unique_ptr<>::operator=(unique_ptr<>&&),
1142 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
1143 forward<_Dp>, to forward the deleter.
1144 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
1146 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1147 Paolo Carlini <paolo.carlini@oracle.com>
1150 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
1151 function call operator.
1152 * testsuite/20_util/default_delete/48631_neg.cc: New.
1153 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1156 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1157 Paolo Carlini <paolo.carlini@oracle.com>
1160 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
1161 unique_ptr<>::operator=(unique_ptr<>&&),
1162 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
1163 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
1164 instead of moving it.
1165 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
1167 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1169 * scripts/extract_symvers.pl: Handle NOTY.
1171 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
1173 * include/std/istream: Fix comments in the light of DR60 + N3168.
1175 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
1176 Paolo Carlini <paolo.carlini@oracle.com>
1179 * include/std/type_traits (struct is_constructible): Re-implement,
1181 (struct is_default_constructible): Add.
1182 (struct is_destructible): Likewise.
1183 (struct __and_, __or_, __not_): Add and use throughout; reorder some
1184 facilities, other minor tweaks.
1185 * testsuite/util/testsuite_tr1.h: Add test types.
1186 * testsuite/20_util/is_constructible/value-2.cc: New.
1187 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
1188 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
1190 * testsuite/20_util/is_default_constructible/requirements/
1191 explicit_instantiation.cc: Likewise.
1192 * testsuite/20_util/is_destructible/value.cc: Likewise.
1193 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
1195 * testsuite/20_util/is_destructible/requirements/
1196 explicit_instantiation.cc: Likewise.
1197 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1198 dg-error line numbers.
1199 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1201 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1202 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1204 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
1206 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
1208 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
1209 * testsuite/20_util/is_function/requirements/
1210 explicit_instantiation.cc: Likewise.
1211 * testsuite/20_util/is_function/24808.cc: Likewise.
1212 * testsuite/20_util/is_function/35637.cc: Likewise.
1213 * testsuite/20_util/is_object/value.cc: Likewise.
1214 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
1215 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
1217 * testsuite/20_util/is_object/24808.cc: Likewise.
1218 * testsuite/20_util/is_compound/value.cc: Likewise.
1219 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
1220 * testsuite/20_util/is_compound/requirements/
1221 explicit_instantiation.cc: Likewise.
1222 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
1223 * testsuite/20_util/is_member_object_pointer/requirements/
1224 typedefs.cc: Likewise.
1225 * testsuite/20_util/is_member_object_pointer/requirements/
1226 explicit_instantiation.cc: Likewise.
1227 * testsuite/20_util/is_fundamental/value.cc: Likewise.
1228 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
1229 * testsuite/20_util/is_fundamental/requirements/
1230 explicit_instantiation.cc: Likewise.
1231 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
1232 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
1234 * testsuite/20_util/is_member_pointer/requirements/
1235 explicit_instantiation.cc: Likewise.
1236 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
1237 * testsuite/20_util/is_member_function_pointer/
1238 requirements/typedefs.cc: Likewise.
1239 * testsuite/20_util/is_member_function_pointer/requirements/
1240 explicit_instantiation.cc: Likewise.
1242 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
1245 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
1248 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
1249 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
1250 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
1251 * testsuite/20_util/tuple/cons/48476.cc: New.
1252 * testsuite/20_util/tuple/48476.cc: Likewise.
1253 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
1255 2011-04-12 Allan McRae <allan@archlinux.org>
1258 * testsuite/tr1/6_containers/unordered_map/requirements/
1259 iterator_null_neg.cc: Include <cstddef>.
1260 * testsuite/tr1/6_containers/unordered_set/requirements/
1261 iterator_null_neg.cc: Likewise.
1262 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
1264 * testsuite/util/testsuite_common_types.h: Include <limits>.
1265 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
1266 Adjust dg-error line numbers.
1267 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
1268 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1270 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
1272 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
1274 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
1275 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1277 2011-04-11 Jason Merrill <jason@redhat.com>
1279 * testsuite/20_util/is_convertible/value.cc: Adjust.
1281 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
1283 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
1284 it in parallel-mode for check-parallel.
1285 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
1286 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
1287 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
1288 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1290 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
1291 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
1292 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
1294 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
1295 the tests based on std::lexicographical_compare for check-parallel.
1296 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
1298 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1301 * include/std/functional (_Base_manager::_M_get_pointer): Use
1303 * testsuite/20_util/function/48541.cc: New.
1305 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1308 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
1309 * configure: Regenerate.
1310 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
1311 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
1313 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
1315 * include/ext/algorithm (is_sorted): In C++0x mode import from
1317 * include/ext/numeric (iota): In C++0x mode import from
1319 * testsuite/ext/is_sorted/cxx0x.cc: New.
1320 * testsuite/ext/iota/cxx0x.cc: New.
1322 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
1325 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
1326 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
1327 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
1328 unused parameter name.
1330 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
1332 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
1333 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
1334 redundant default argument from std::__throw_with_nested.
1336 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
1339 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
1340 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
1341 * src/Makefile.in: Regenerate.
1342 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
1343 * include/Makefile.in: Regenerate.
1344 * doc/xml/manual/internals.xml: Update.
1345 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
1346 * config/os/newlib/ctype_configure_char.cc: ... this.
1347 * config/os/aix/ctype_noninline.h: Likewise.
1348 * config/os/aix/ctype_configure_char.cc: Likewise.
1349 * config/os/vxworks/ctype_noninline.h: Likewise.
1350 * config/os/vxworks/ctype_configure_char.cc
1351 * config/os/hpux/ctype_noninline.h: Likewise.
1352 * config/os/hpux/ctype_configure_char.cc: Likewise.
1353 * config/os/gnu-linux/ctype_noninline.h: Likewise.
1354 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
1355 * config/os/mingw32/ctype_noninline.h: Likewise.
1356 * config/os/mingw32/ctype_configure_char.cc: Likewise.
1357 * config/os/tpf/ctype_noninline.h: Likewise.
1358 * config/os/tpf/ctype_configure_char.cc: Likewise.
1359 * config/os/uclibc/ctype_noninline.h: Likewise.
1360 * config/os/uclibc/ctype_configure_char.cc: Likewise.
1361 * config/os/bionic/ctype_noninline.h: Likewise.
1362 * config/os/bionic/ctype_configure_char.cc: Likewise.
1363 * config/os/djgpp/ctype_noninline.h: Likewise.
1364 * config/os/djgpp/ctype_configure_char.cc: Likewise.
1365 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
1366 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
1367 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
1368 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
1369 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
1370 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
1371 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
1372 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
1373 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
1374 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
1375 * config/os/generic/ctype_noninline.h: Likewise.
1376 * config/os/generic/ctype_configure_char.cc: Likewise.
1377 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
1378 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
1380 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
1382 * include/std/future (future::share): Add.
1383 (packaged_task::result_type): Remove as per LWG 2030.
1384 (packaged_task::packaged_task): Remove redundant constructors, as per
1386 * testsuite/30_threads/future/members/share.cc: New.
1387 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
1389 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
1391 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
1392 members which require a fully established result state.
1393 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
1395 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
1397 * include/bits/random.h (negative_binomial_distribution<>::
1398 negative_binomial_distribution(_IntType, double),
1399 negative_binomial_distribution<>::
1400 negative_binomial_distribution(const param_type&)): Tweak
1401 construction of _M_gd.
1402 * include/bits/random.tcc (negative_binomial_distribution<>::
1403 operator()): Adjust.
1405 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
1407 * include/bits/random.h (negative_binomial_distribution<>::
1408 negative_binomial_distribution(_IntType, double),
1409 negative_binomial_distribution<>::
1410 negative_binomial_distribution(const param_type&)): Fix
1411 construction of _M_gd.
1412 * include/bits/random.tcc (negative_binomial_distribution<>::
1413 operator()): Fix computation, per Leger's algorithm.
1414 * testsuite/util/testsuite_random.h (discrete_pdf,
1415 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
1416 (binomial_pdf): Swap last two parameters.
1417 * testsuite/26_numerics/random/discrete_distribution/
1418 operators/values.cc: New.
1419 * testsuite/26_numerics/random/negative_binomial_distribution/
1420 operators/values.cc: Likewise.
1421 * testsuite/26_numerics/random/poisson_distribution/
1422 operators/values.cc: Likewise.
1423 * testsuite/26_numerics/random/uniform_int_distribution/
1424 operators/values.cc: Likewise.
1425 * testsuite/26_numerics/random/binomial_distribution/
1426 operators/values.cc: Adjust.
1428 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1430 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
1431 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1432 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1433 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1434 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1436 2011-03-23 Matthias Klose <doko@ubuntu.com>
1438 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
1440 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
1442 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
1444 2011-03-22 Joseph Myers <joseph@codesourcery.com>
1446 * configure.ac: Don't handle powerpc*-*-gnu*.
1447 * configure: Regenerate.
1449 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
1451 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
1453 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
1456 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
1458 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
1460 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
1461 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
1462 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
1463 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
1464 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
1465 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
1466 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
1468 2011-03-22 Jakub Jelinek <jakub@redhat.com>
1470 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
1471 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
1472 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
1473 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1474 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1475 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1476 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1477 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1478 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1479 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1481 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1482 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1483 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1484 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1485 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
1486 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1487 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
1488 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
1491 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
1493 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
1494 create compact unwind for" warnings.
1496 2011-03-21 Jakub Jelinek <jakub@redhat.com>
1498 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1499 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1500 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1502 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1503 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1504 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1505 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1506 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1507 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1508 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1509 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1510 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1512 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
1513 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
1514 CXXABI_LDBL_1.3 versions.
1516 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
1518 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
1520 2011-03-21 Jakub Jelinek <jakub@redhat.com>
1522 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
1523 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
1525 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1527 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
1528 sparc*-sun-solaris2.10 && lp64.
1530 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
1532 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
1533 to check_v3_target_cmath.
1534 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
1535 to dg-require-cmath.
1536 * testsuite/26_numerics/random/binomial_distribution/
1537 operators/values.cc: Adjust.
1539 2011-03-18 Diego Novillo <dnovillo@google.com>
1541 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
1543 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
1544 mixed-mode-arith_neg.cc
1546 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
1548 * testsuite/util/testsuite_random.h: New.
1549 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
1550 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
1551 * testsuite/26_numerics/random/bernoulli_distribution/
1552 operators/values.cc: New.
1553 * testsuite/26_numerics/random/binomial_distribution/
1554 operators/values.cc: Likewise.
1555 * testsuite/26_numerics/random/geometric_distribution/
1556 operators/values.cc: Likewise.
1558 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
1560 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
1561 * testsuite/19_diagnostics/stdexcept.cc: New.
1563 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
1565 * include/std/thread: Revert.
1566 * src/thread.cc: Same.
1567 * config/abi/pre/gnu.ver: Same.
1569 2011-03-15 Doug Kwan <dougkwan@google.com>
1572 * include/Makefile.am (install-freestanding-headers): Install
1574 * include/Makefile.in: Regenerate.
1576 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
1578 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
1579 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
1581 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
1584 * src/future.cc: Guard definitions.
1585 * libsupc++/nested_exception.cc: Same.
1587 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
1589 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
1590 * src/Makefile.in: Regenerate.
1591 * libsupc++/Makefile.am: Add nested_exception.cc.
1592 * libsupc++/Makefile.in: Regenerate.
1593 * src/system_error.cc: Add ctor and dtor definitions for error_category.
1594 * src/functional.cc: New. Add dtor definition for bad_function_call.
1595 * src/stdexcept.cc: Add dtor definitions for domain_error,
1596 invalid_argument, length_error, out_of_range, range_error,
1597 overflow_error, underflow_error.
1598 * src/future.cc: Add dtor definition for __future_base::_Result_base.
1599 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
1600 * src/thread.cc: Add dtor for thread::_Impl_base.
1601 * include/std/system_error: Adjust.
1602 * include/std/stdexcept: Same.
1603 * include/std/future: Same.
1604 * include/std/functional: Same.
1605 * include/std/thread: Same.
1606 * include/bits/shared_ptr_base.h: Same.
1607 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
1608 * libsupc++/nested_exception.h: Adjust.
1609 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
1610 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1611 * config/abi/pre/gnu.ver: Add new exports.
1613 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
1615 * include/bits/regex_compiler.h: Nest namespace versioning.
1616 * include/bits/regex_grep_matcher.tcc: Same.
1617 * include/bits/regex_grep_matcher.h: Same.
1618 * include/bits/regex_cursor.h: Same.
1619 * include/bits/regex_nfa.h: Same.
1620 * include/bits/regex_nfa.tcc: Same.
1622 * include/bits/regex_grep_matcher.h: Version forward declarations.
1623 * include/bits/c++config: Add namespace association for __regex.
1624 * include/bits/regex.h: Make sub_match consistent.
1626 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1628 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
1630 * doc/html/manual/abi.html: Regenerate.
1632 2011-03-14 Tom Tromey <tromey@redhat.com>
1634 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
1635 Try to import `gdb.printing' module.
1636 (UniquePointerPrinter.__init__): Add 'typename' argument.
1637 (StdSlistPrinter.__init__): Likewise.
1638 (StdSlistIteratorPrinter.__init__): Likewise.
1639 (StdVectorIteratorPrinter.__init__): Likewise.
1640 (StdRbtreeIteratorPrinter.__init__): Likewise.
1641 (StdDebugIteratorPrinter.__init__): Likewise.
1642 (StdDequeIteratorPrinter.__init__): Likewise.
1643 (StdStringPrinter.__init__): Likewise.
1644 (RxPrinter, Printer): New class.
1645 (libstdcxx_printer): New global.
1646 (register_libstdcxx_printers): Rewrite.
1647 (build_libstdcxx_dictionary): Rewrite.
1648 (pretty_printers_dict): Remove.
1650 2011-03-14 Andrey Zholos <aaz@althenia.net>
1653 * include/bits/random.h (geometric_distribution): Correct formula
1654 in comment, per C++0x.
1655 (geometric_distribution<>::param_type::param_type(double)): Fix check.
1656 (geometric_distribution<>::param_type::_M_initialize):
1658 * include/bits/random.tcc (geometric_distribution<>::operator()):
1660 (binomial_distribution<>::operator()): Likewise.
1662 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
1664 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
1666 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
1667 Chris Jefferson <chris@bubblescope.net>
1668 Paolo Carlini <paolo.carlini@oracle.com>
1670 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
1672 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1674 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
1676 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
1678 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
1680 2011-03-09 Chris Jefferson <chris@bubblescope.net>
1683 * include/bits/stl_algo.h (__merge_backward): Rename to
1684 __move_merge_backward and change to always move rather than copy.
1685 (__move_merge): New function similar to std::merge except values
1686 are moved instead of copied.
1687 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
1688 and __merge_backward to __move_merge and __move_merge_backward.
1690 2011-03-07 Jason Merrill <jason@redhat.com>
1692 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
1695 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
1696 Matthias Klose <doko@ubuntu.com>
1697 Jonathan Wakely <redi@gcc.gnu.org>
1700 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
1701 * configure.ac: Use it.
1702 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
1703 * configure: Regenerate.
1704 * doc/Makefile.in: Regenerate.
1706 2011-03-04 Benjamin Kosnik <bkoz@chula>
1708 * src/Makefile.am (inst_sources): Make source instantion files
1710 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
1711 * src/Makefile.in: Regenerate.
1712 * src/valarray-inst.cc: Move to..
1713 * src/valarray.cc: ...this.
1714 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
1715 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
1716 * configure: Regenerate.
1717 * include/Makefile.am (stamp-extern-template): Add.
1718 * include/Makefile.in: Regenerate.
1720 * doc/xml/manual/configure.xml: Document --enable-extern-template.
1722 * include/bits/locale_classes.tcc: Adjust comment.
1723 * include/bits/locale_facets.tcc: Same.
1724 * include/bits/basic_ios.tcc: Same.
1725 * include/bits/istream.tcc: Same.
1726 * include/bits/codecvt.h: Same.
1727 * include/bits/ostream.tcc: Same.
1728 * include/bits/sstream.tcc: Same.
1729 * include/bits/c++config: Same.
1730 * include/bits/basic_string.tcc: Same.
1731 * include/bits/ostream_insert.h: Same.
1732 * include/bits/locale_facets_nonio.tcc: Same.
1733 * include/bits/streambuf.tcc: Same.
1734 * include/bits/allocator.h: Same.
1735 * include/bits/fstream.tcc: Same.
1737 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1739 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
1741 * testsuite/Makefile.am: Make clean fixups.
1742 * testsuite/Makefile.in: Regenerate.
1744 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1746 * include/std/ratio (ratio_less): Add comments.
1748 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1751 * include/std/ratio (ratio_add): Avoid denominator overflow.
1752 * testsuite/20_util/ratio/operations/47913.cc: New.
1754 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
1756 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1757 * testsuite/20_util/hash/quality.cc: Same.
1759 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1762 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1764 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1765 xputn): Use the latter.
1766 * include/bits/streambuf_iterator.h: Likewise.
1767 * src/strstream.cc: Likewise.
1768 * src/streambuf.cc: Likewise.
1769 * src/compatibility.cc: Likewise.
1770 * src/istream.cc: Likewise.
1771 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1773 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1774 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1775 seekpos, _M_sync): Use setg, setp, and _M_pbump.
1776 * config/abi/pre/gnu.ver: Tweak.
1778 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1780 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1782 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
1785 * include/std/ratio (ratio_less): Reimplement to never overflow.
1786 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1788 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
1790 * testsuite/18_support/type_info/fundamental.cc: New.
1792 * testsuite/Makefile.am: Make clean fixups.
1793 * testsuite/Makefile.in: Regenerate.
1795 2011-02-19 François Dumont <francois.cppdevs@free.fr>
1797 * include/debug/string (basic_string::insert): Add iterator check and
1798 pass normal iterator to normal insert.
1799 * include/debug/macros.h (__glibcxx_check_heap,
1800 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1803 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
1806 * testsuite/ext/vstring/hash/char/1.cc: Fix.
1807 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1809 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1811 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1812 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1813 (basic_regex::operator=(basic_regex&&)): Likewise.
1814 (basic_regex::assign(basic_regex&&)): Likewise.
1815 (operator==(sub_match,...)): Implement DR 1181.
1816 (match_results::match_results(match_results&&)): Define.
1817 (match_results::operator=(const match_results&)): Fix parameter type.
1818 (match_results::operator=(match_results&&)): Define.
1820 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1823 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1824 line anchors as metacharacters.
1825 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1827 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
1830 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1831 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1832 hash<__gnu_cxx::__u32vstring>): Add.
1833 * testsuite/ext/vstring/hash/char/1.cc: New.
1834 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1836 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1838 * include/bits/regex.h (match_results::format): Use char_traits.
1840 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
1842 * include/std/atomic: Remove atomic_address, uplift to N3225.
1843 * include/bits/atomic_0.h: Same.
1844 * include/bits/atomic_2.h: Same.
1845 * include/bits/atomic_base.h: Same.
1846 * testsuite/29_atomics/atomic_address/*: Delete.
1848 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1850 * include/bits/regex.h (sub_match::sub_match): Add.
1851 (match_results::ready): Add.
1852 (match_results::empty): Adjust.
1853 (match_results::length): Add missing dereference.
1854 (match_results::operator[],prefix,suffix): Add debug mode checks.
1855 (match_results::cend): Re-use end().
1856 (match_results::format): Adjust signatures.
1857 (operator==(match_results,match_results)): Implement.
1858 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1859 * include/bits/regex_constants.h (syntax_option_type): Likewise.
1860 * include/bits/regex_grep_matcher.h: Fix comment typo.
1861 (_SpecializedResults::_SpecializedResults): Simplify.
1862 * include/bits/regex_cursor.h: Fix comment typo.
1863 * include/bits/regex_nfa.h: Likewise.
1864 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1865 Fix error code, remove xfail.
1866 * testsuite/28_regex/basic_regex/ctors/extended/
1867 string_range_01_02_03.cc: Likewise.
1869 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1871 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1872 * include/bits/regex_nfa.h: Remove unnecessary base classes.
1874 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1876 * configure: Regenerate.
1878 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1881 * include/ext/algorithm (is_heap): In C++0x mode import from
1883 * testsuite/ext/is_heap/47709.cc: New.
1885 2011-02-12 Jakub Jelinek <jakub@redhat.com>
1886 Jonathan Wakely <jwakely.gcc@gmail.com>
1889 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1890 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1892 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1894 * include/tr1/cmath (fabs): Define.
1895 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1898 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
1900 * testsuite/tr1/headers/c++200x/complex.cc: New.
1902 2011-02-11 Johannes Singler <singler@kit.edu>
1905 * include/parallel/losertree.h
1906 (_LoserTreeUnguarded<>::__delete_min_insert):
1907 Add missing "using std::swap;", as for other variants.
1909 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
1911 * src/Makefile.am (sources): Add regex.cc.
1912 * src/Makefile.in: Regenerate.
1913 * src/regex.cc: New.
1914 * include/bits/regex_error.h (error_type): Use constexpr.
1915 (regex_error): Move ctor and dtor out of line.
1917 * testsuite/28_regex/03_requirements: To...
1918 * testsuite/28_regex/requirements: ... this.
1919 * testsuite/28_regex/04_header: To...
1920 * testsuite/28_regex/headers: ... this.
1921 * testsuite/28_regex/05_constants: To...
1922 * testsuite/28_regex/constants: ... this.
1923 * testsuite/28_regex/06_exception_type: To...
1924 * testsuite/28_regex/regex_error: ... this.
1925 * testsuite/28_regex/07_traits: To...
1926 * testsuite/28_regex/traits: ... this.
1927 * testsuite/28_regex/08_basic_regex: To...
1928 * testsuite/28_regex/basic_regex: ... this.
1929 * testsuite/28_regex/09_sub_match: To...
1930 * testsuite/28_regex/sub_match: ... this.
1931 * testsuite/28_regex/10_match_results: To...
1932 * testsuite/28_regex/match_results: ... this.
1933 * testsuite/28_regex/11_algorithms: To...
1934 * testsuite/28_regex/algorithms: ... this.
1935 * testsuite/28_regex/12_iterators: To...
1936 * testsuite/28_regex/iterators: ... this.
1938 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1941 * include/bits/c++config: Do not use alternative token.
1942 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1944 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1946 * src/future.cc (future_error_category::message): Handle no_state.
1948 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
1950 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1951 not test in C++0x mode.
1952 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1953 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1956 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1958 * doc/xml/manual/status_cxx200x.xml: Update.
1959 * doc/html/*: Regenerate.
1961 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1963 * doc/xml/manual/debug.xml: Improve data race docs.
1965 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1968 * include/debug/map.h (map): Remove unnecessary using-declaration.
1969 * include/debug/multimap.h (multimap): Likewise.
1970 * include/profile/map.h (map): Likewise.
1971 * include/profile/multimap.h (multimap): Likewise.
1973 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1976 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1978 * libsupc++/guard_error.cc: ... new file.
1979 * libsupc++/Makefile.am: Update.
1980 * libsupc++/Makefile.in: Regenerate.
1982 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1984 * include/std/future (packaged_task::operator bool): Rename to...
1985 (packaged_task::valid): ...this.
1986 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1987 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
1988 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
1989 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
1990 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
1991 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1992 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1993 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1994 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
1995 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
1996 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
1998 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2000 * doc/xml/manual/io.xml: Fix typo.
2001 * doc/html/manual/streambufs.html: Likewise.
2003 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2005 * config/abi/pre/gnu.ver: Fix.
2007 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
2009 * doc/xml/manual/appendix_porting.xml: Add doc section.
2010 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
2011 * doc/xml/manual/documentation_hacking.xml: ...here.
2013 * doc/xml/manual/debug_mode.xml: Adjust.
2014 * doc/xml/manual/prerequisites.xml: Adjust.
2015 * doc/Makefile.am (xml_sources): Add dot files,
2016 documentation_hacking.xml.
2017 * doc/Makefile.in: Regenerate.
2019 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
2020 * doc/xml/images/confdeps.pdf: Add.
2022 * doc/html/*: Regenerate.
2024 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2026 * doc/xml/gnu/fdl-1.2.xml: Remove.
2027 * doc/xml/gnu/gpl-2.0.xml: Remove.
2028 * doc/Makefile.am: Update.
2029 * doc/Makefile.in: Regenerate.
2031 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
2034 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
2035 iterator)): Add back in C++03 mode.
2036 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
2037 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
2039 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
2041 PR libstdc++/47560 try two
2042 * config/os/hpux/os_defines.h: Guard for C++.
2044 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
2046 * doc/xml/faq.xml: Adjust link to bug database.
2047 Remove old item on broken header files.
2049 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
2051 * include/bits/regex_error.h (__throw_regex_error): Not inline.
2052 * src/functexcept.cc: Add definition.
2053 * config/abi/pre/gnu.ver: Export.
2055 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
2057 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
2058 * configure: Regenerate.
2060 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
2063 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
2064 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
2065 avoid name conflicts.
2067 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2070 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
2072 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2074 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
2075 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
2076 (COMPACT_LATEX): Enable.
2078 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
2079 * include/profile/impl/profiler_hash_func.h: Same.
2080 * include/bits/hashtable.h: Same.
2081 * include/backward/auto_ptr.h: Same.
2082 * include/backward/strstream: Same.
2083 * include/backward/backward_warning.h: Same.
2084 * include/backward/binders.h: Same.
2086 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
2088 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
2089 Adjust link to GDB manual.
2091 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
2093 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
2094 _GLIBCXX_USE_DEPRECATED.
2095 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
2096 * doc/xml/manual/using.xml: Same.
2097 * include/std/memory: Same.
2098 * include/std/streambuf: Same.
2099 * include/bits/shared_ptr.h: Same.
2100 * include/bits/unique_ptr.h: Same.
2101 * include/bits/shared_ptr_base.h: Same.
2102 * include/bits/stl_function.h: Same.
2103 * include/tr1/shared_ptr.h: Same.
2104 * include/backward/auto_ptr.h: Same.
2105 * include/backward/binders.h: Same.
2107 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
2109 * doc/html/ext/lwg-active.html: Update to Revision D73.
2110 * doc/html/ext/lwg-closed.html: Likewise.
2111 * doc/html/ext/lwg-defects.html: Likewise.
2112 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
2114 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
2116 PR libstdc++/36104 part four
2117 * include/bits/c++config (_GLIBCXX_STD): Remove.
2118 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
2119 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
2120 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
2121 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
2122 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
2123 _GLIBCXX_INLINE_PROFILE): Remove.
2124 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
2125 (_GLIBCXX_END_NAMESPACE): Remove.
2126 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
2127 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
2128 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
2129 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
2130 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
2131 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
2132 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
2133 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
2134 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
2135 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
2136 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
2137 * include/*: Use new macros for namespace scope.
2141 * src/Makefile.am (sources): Remove debug_list.cc, add
2142 compatibility-debug_list-2.cc.
2143 (parallel_sources): Remove parallel_list.cc, add
2144 compatibility-parallel_list-2.cc.
2145 (compatibility-parallel_list-2.[o,lo]): New rule.
2146 * src/Makefile.in: Regenerate.
2147 * src/debug_list.cc: Remove.
2148 * src/parallel_list.cc: Remove.
2149 * src/compatibility-list-2.cc: New.
2150 * src/compatibility-debug_list-2.cc: New.
2151 * src/compatibility-parallel_list-2.cc: New.
2153 * doc/doxygen/user.cfg.in: Adjust macros.
2155 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
2156 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
2157 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
2158 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
2159 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
2160 * testsuite/20_util/forward/c_neg.cc: Same.
2161 * testsuite/20_util/forward/f_neg.cc: Same.
2162 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
2163 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
2164 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
2165 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
2166 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
2167 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2168 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
2169 * testsuite/23_containers/deque/requirements/dr438/
2170 constructor_1_neg.cc: Same.
2171 * testsuite/23_containers/deque/requirements/dr438/
2172 constructor_2_neg.cc: Same.
2173 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
2174 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
2175 * testsuite/23_containers/forward_list/requirements/dr438/
2176 assign_neg.cc: Same.
2177 * testsuite/23_containers/forward_list/requirements/dr438/
2178 constructor_1_neg.cc: Same.
2179 * testsuite/23_containers/forward_list/requirements/dr438/
2180 constructor_2_neg.cc: Same.
2181 * testsuite/23_containers/forward_list/requirements/dr438/
2182 insert_neg.cc: Same.
2183 * testsuite/23_containers/list/capacity/29134.cc: Same.
2184 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
2185 * testsuite/23_containers/list/requirements/dr438/
2186 constructor_1_neg.cc: Same.
2187 * testsuite/23_containers/list/requirements/dr438/
2188 constructor_2_neg.cc: Same.
2189 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
2190 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
2191 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
2192 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
2193 * testsuite/23_containers/vector/requirements/dr438/
2194 constructor_1_neg.cc: Same.
2195 * testsuite/23_containers/vector/requirements/dr438/
2196 constructor_2_neg.cc: Same.
2197 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
2198 * testsuite/25_algorithms/sort/35588.cc: Same.
2199 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2200 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2201 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
2202 * testsuite/ext/profile/profiler_algos.cc: Same.
2203 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
2204 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
2205 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
2206 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
2207 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
2209 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
2211 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
2212 Improve description of one such reference.
2214 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
2216 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
2217 Standards Revision Group.
2218 * doc/xml/manual/locale.xml: Ditto.
2219 * doc/xml/manual/messages.xml: Ditto.
2220 * doc/xml/manual/using_exceptions.xml: Ditto.
2222 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
2224 * include/bits/atomic_base.h: Do not include <stddef.h>.
2225 (kill_dependency): Uglify ret.
2227 2011-01-26 Johannes Singler <singler@kit.edu>
2229 * include/parallel/numeric (inner_product, partial_sum):
2230 Qualify subsequent call with __gnu_parallel instead of
2231 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
2232 * include/parallel/algobase.h (equal): Likewise.
2233 * include/parallel/algo.h (find_first_of, search_n, merge,
2234 nth_element, partial_sort, max_element, min_element): Likewise.
2235 * testsuite/25_algorithms/headers/algorithm/
2236 parallel_algorithm_mixed1.cc (main): Add respective test cases.
2237 * testsuite/25_algorithms/headers/algorithm/
2238 parallel_algorithm_mixed2.cc (main): Likewise.
2239 * testsuite/26_numerics/headers/numeric/
2240 parallel_numeric_mixed1.cc (main): Likewise.
2241 * testsuite/26_numerics/headers/numeric/
2242 parallel_numeric_mixed2.cc (main): Likewise.
2244 2011-01-24 Graham Reed <greed@pobox.com>
2247 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
2250 2011-01-24 Johannes Singler <singler@kit.edu>
2253 * include/parallel/losertree.h
2254 (_LoserTree<>::__delete_min_insert):
2255 Do not qualify swap with std:: for value type,
2256 but include a using directive instead.
2257 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
2258 * include/parallel/balanced_quicksort.h (__qsb_divide):
2259 Use std::iter_swap instead of std::swap.
2260 (__qsb_local_sort_with_helping): Likewise.
2261 * include/parallel/partition.h (__parallel_partition):
2262 Likewise. (__parallel_nth_element): Likewise.
2264 2011-01-24 Johannes Singler <singler@kit.edu>
2267 * include/parallel/multiway_merge.h (_UnguardedIterator):
2268 Remove useless "mutable" from reference declaration.
2270 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
2272 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
2273 * include/debug/safe_sequence.h: Same.
2274 * include/debug/safe_iterator.h: Same.
2275 * include/std/forward_list: Same.
2276 * include/std/deque: Same.
2277 * include/std/list: Same.
2278 * include/std/random: Same.
2279 * include/std/streambuf: Same.
2280 * include/std/fstream: Same.
2281 * include/std/istream: Same.
2282 * include/std/string: Same.
2283 * include/std/ostream: Same.
2284 * include/std/sstream: Same.
2285 * include/ext/vstring.h: Same.
2286 * include/bits/basic_ios.h: Same.
2287 * include/bits/locale_classes.h: Same.
2288 * include/bits/locale_facets.h: Same.
2289 * include/bits/valarray_array.h: Same.
2290 * include/bits/locale_facets_nonio.h: Same.
2291 * include/tr1/random: Same.
2293 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2295 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
2297 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
2299 PR libstdc++/36104 part three
2300 * src/hashtable_c++0x.cc: Adjust namespace macros.
2301 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
2302 * config/abi/pre/gnu-versioned-namespace.ver: Update.
2304 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
2306 * include/ext/pb_ds/detail/resize_policy/
2307 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
2308 * include/ext/pb_ds/detail/pat_trie_/
2309 constructors_destructor_fn_imps.hpp: Same.
2310 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
2311 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2312 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
2314 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
2315 iterations downward when testing in debug mode.
2316 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2317 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2318 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2319 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2320 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2321 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
2322 reduce in debug mode.
2324 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
2326 PR libstdc++/36104 part two
2327 * include/bits/hashtable.h: Revert to non-nested macro usage.
2328 * include/bits/hashtable_policy.h: Same.
2330 2011-01-19 Graham Reed <greed@pobox.com>
2333 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
2335 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
2337 * doc/xml/images/confdeps.png: Regenerate.
2339 * include/std/chrono (duration): Mark copy constructor constexpr.
2340 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
2342 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
2344 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
2345 Declare defaulted per DR 1517.
2346 * testsuite/util/testsuite_common_types.h
2347 (constexpr_defaulted_default_constructible): Add.
2348 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
2350 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
2352 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
2354 * include/bits/stl_stack.h (stack<>::swap): Likewise.
2356 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2359 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
2360 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
2362 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2365 * testsuite/18_support/numeric_limits/lowest.cc:
2366 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
2368 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2371 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
2372 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
2374 2011-01-16 François Dumont <francois.cppdevs@free.fr>
2376 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
2377 to this. Use _neg suffix.
2378 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
2380 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
2382 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
2383 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
2385 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
2386 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
2388 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
2389 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
2391 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
2392 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
2394 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
2395 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
2397 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
2398 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
2400 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
2401 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
2403 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
2404 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
2406 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
2407 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
2409 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
2410 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
2412 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
2413 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
2415 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
2416 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
2418 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
2419 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
2421 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
2422 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
2424 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
2426 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
2429 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
2430 * include/Makefile.in: Regenerate.
2431 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
2432 (install-stdHEADERS, install-bitsHEADERS): New.
2433 * libsupc++/Makefile.in: Regenerate.
2435 * include/bits/c++config: Update for inline namespaces.
2436 * libsupc++/cxxabi-forced.h: To...
2437 * libsupc++/cxxabi_forced.h: ...this.
2438 * libsupc++/hash_bytes.h: Separate file.
2439 * libsupc++/typeinfo: Use it.
2440 * libsupc++/exception: Adjust for bits subdirectory.
2441 * libsupc++/eh_aux_runtime.cc: Same.
2442 * libsupc++/eh_ptr.cc: Same.
2443 * libsupc++/new_op.cc: Same.
2444 * libsupc++/exception_defines.h: Same.
2445 * libsupc++/nested_exception.h: Same.
2446 * libsupc++/eh_terminate.cc: Same.
2447 * libsupc++/vec.cc: Same.
2448 * libsupc++/vterminate.cc: Same.
2449 * libsupc++/exception_ptr.h: Same.
2450 * libsupc++/eh_personality.cc: Same.
2451 * libsupc++/eh_call.cc: Same.
2452 * libsupc++/new_opnt.cc: Same.
2453 * libsupc++/hash_bytes.cc: Same.
2454 * config/cpu/arm/cxxabi_tweaks.h: Same.
2455 * config/cpu/generic/cxxabi_tweaks.h: Same.
2456 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
2457 * include/std/bitset: Same.
2458 * include/ext/vstring.tcc: Same.
2459 * include/bits/hashtable.h: Same.
2460 * include/bits/functional_hash.h: Same.
2461 * include/bits/hashtable_policy.h: Same.
2462 * include/bits/basic_string.h: Same.
2463 * include/bits/istream.tcc: Same.
2464 * include/bits/ostream.tcc: Same.
2465 * include/bits/algorithmfwd.h: Same.
2466 * include/bits/basic_string.tcc: Same.
2467 * include/bits/ostream_insert.h: Same.
2468 * include/bits/fstream.tcc: Same.
2469 * include/bits/functexcept.h: Same.
2471 * doc/doxygen/user.cfg.in: Adjust names.
2473 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2475 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
2477 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
2479 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
2481 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
2483 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
2484 * testsuite/25_algorithms/is_permutation/requirements/
2485 explicit_instantiation/2.cc: Likewise.
2486 * testsuite/25_algorithms/is_permutation/requirements/
2487 explicit_instantiation/pod.cc: Likewise.
2488 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
2490 2011-01-13 John Lakos <jlakos@bloomberg.net>
2491 Pablo Halpern <phalpern@halpernwightsoftware.com>
2492 Paolo Carlini <paolo.carlini@oracle.com>
2494 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
2495 * include/bits/algorithmfwd.h: Add.
2497 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
2500 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
2502 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
2504 * aclocal.m4: Regenerate.
2506 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
2509 * src/placeholders.cc: New.
2510 * src/Makefile.am: Adjust.
2511 * src/Makefile.in: Regenerate.
2512 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
2514 * config/abi/pre/gnu.ver: Export.
2516 2011-01-05 François Dumont <francois.cppdevs@free.fr>
2518 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
2519 * include/src/debug.cc: Use latter
2520 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
2521 correctly handle before_begin iterators.
2522 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
2523 useless _GLIBCXX_DEBUG checks.
2525 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
2528 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
2529 * configure: Regenerated.
2531 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
2534 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
2537 Copyright (C) 2011 Free Software Foundation, Inc.
2539 Copying and distribution of this file, with or without modification,
2540 are permitted in any medium without royalty provided the copyright
2541 notice and this notice are preserved.