Extend std::function test for PR 68995
[gcc.git] / libstdc++-v3 / ChangeLog
1 2016-01-12 Jonathan Wakely <jwakely@redhat.com>
2
3 * testsuite/20_util/function/68995.cc: Test reference_wrapper cases.
4
5 PR libstdc++/69005
6 PR libstdc++/69222
7 * include/std/functional (function::_Invoke): Remove, use result_of.
8 (function::_Callable): Replace alias template with class template
9 and use partial specialization instead of _NotSelf alias template.
10 (function(_Functor)): Add "not self" constraint so that _Callable is
11 not used while type is incomplete.
12 * testsuite/20_util/function/69222.cc: New.
13
14 2016-01-11 Jonathan Wakely <jwakely@redhat.com>
15
16 PR libstdc++/60976
17 * include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>):
18 Define partial specialization.
19 * testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and
20 destroy members to std::allocator explicit specialization.
21
22 2016-01-08 Jonathan Wakely <jwakely@redhat.com>
23
24 * testsuite/26_numerics/headers/cmath/
25 c99_classification_macros_c++.cc: Rename to ...
26 * testsuite/26_numerics/headers/cmath/
27 c99_classification_macros_c++98.cc: Here and add -std=gnu++98.
28 * testsuite/26_numerics/headers/cmath/
29 c99_classification_macros_c++0x.cc: Rename to ...
30 * testsuite/26_numerics/headers/cmath/
31 c99_classification_macros_c++11.cc: Here.
32
33 PR libstdc++/69190
34 * include/bits/uses_allocator.h: Add missing include.
35
36 2016-01-07 Jonathan Wakely <jwakely@redhat.com>
37
38 PR libstdc++/69105
39 PR libstdc++/69106
40 PR libstdc++/69114
41 * include/bits/stl_iterator.h (back_insert_iterator,
42 front_insert_iterator, insert_iterator): Use __addressof (LWG 2324).
43 * include/bits/uses_allocator.h (__use_alloc): Use __addressof.
44 * include/std/future (__future::base::_State_baseV2::__setter):
45 Likewise.
46 * include/std/scoped_allocator (__outermost): Likewise.
47 * testsuite/20_util/scoped_allocator/69114.cc: New.
48 * testsuite/20_util/uses_allocator/69114.cc: New.
49 * testsuite/30_threads/promise/69106.cc: New.
50
51 2016-01-06 Jonathan Wakely <jwakely@redhat.com>
52
53 PR libstdc++/69092
54 * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
55 Remove _GLIBCXX_NOEXCEPT.
56 testsuite/21_strings/basic_string/cons/char/69092.cc: New.
57
58 * include/Makefile.am: Adjust.
59 * include/Makefile.in: Regenerate.
60 * include/bits/mutex.h: Rename to bits/std_mutex.h.
61 * include/std/condition_variable: Adjust include.
62 * include/std/mutex: Likewise.
63
64 2016-01-04 Jakub Jelinek <jakub@redhat.com>
65
66 Update copyright years.
67 \f
68 Copyright (C) 2016 Free Software Foundation, Inc.
69
70 Copying and distribution of this file, with or without modification,
71 are permitted in any medium without royalty provided the copyright
72 notice and this notice are preserved.