Remove unnecessary typedef from std::function
[gcc.git] / libstdc++-v3 / ChangeLog
1 2017-01-05 Jonathan Wakely <jwakely@redhat.com>
2
3 * include/bits/std_function.h (function::_Signature_type): Remove.
4 (function::function(_Functor)): Adjust.
5
6 2017-01-05 Tim Shen <timshen@google.com>
7
8 PR libstdc++/78996
9 * include/std/variant (__gen_vtable_impl): rename __unused to
10 __dimensions to avoid naming conflict.
11
12 2017-01-04 Jonathan Wakely <jwakely@redhat.com>
13
14 PR libstdc++/78968
15 * config.h.in: Regenerate.
16 * configure: Likewise.
17 * configure.ac: Check for __cxa_thread_atexit.
18 * libsupc++/atexit_thread.cc [_GLIBCXX_HAVE___CXA_THREAD_ATEXIT]:
19 Don't define __cxa_thread_atexit if libc provides it.
20
21 2017-01-04 Ville Voutilainen <ville.voutilainen@gmail.com>
22
23 Implement 2801, Default-constructibility of unique_ptr.
24 * include/bits/unique_ptr.h (__uniq_ptr_impl::_DeleterConstraint): New.
25 (unique_ptr::_DeleterConstraint): Likewise.
26 (unique_ptr()): Constrain.
27 (unique_ptr(pointer)): Likewise.
28 (unique_ptr(nullptr_t)): Likewise.
29 (unique_ptr<_Tp[], _Dp>::_DeleterConstraint): New.
30 (unique_ptr<_Tp[], _Dp>::unique_ptr()): Constrain.
31 (unique_ptr<_Tp[], _Dp>::unique_ptr(_Up)): Likewise.
32 (unique_ptr<_Tp[], _Dp>::unique_ptr(nullptr_t)): Likewise.
33 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust.
34 * testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: Likewise.
35 * testsuite/20_util/unique_ptr/cons/default.cc: New.
36 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Adjust.
37
38 2017-01-04 Pauli Nieminen <suokkos@gmail.com>
39 Jonathan Wakely <jwakely@redhat.com>
40
41 PR libstdc++/64735
42 * acinclude.m4 (GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER): Define.
43 * config.h.in: Regenerate.
44 * config/abi/pre/gnu.ver [HAVE_EXCEPTION_PTR_SINCE_GCC46]
45 (GLIBCXX_3.4.15, GLIBCXX_3.4.21, CXXABI_1.3.3, CXXABI_1.3.5): Make
46 exports for exception_ptr, nested_exception, and future conditional.
47 [HAVE_EXCEPTION_PTR_SINCE_GCC46] (GLIBCXX_3.4.23, CXXABI_1.3.11): Add
48 exports for exception_ptr, nested_exception, and future conditional.
49 * configure: Regenerate.
50 * configure.ac: Use GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER.
51 * include/std/future: Remove check for ATOMIC_INT_LOCK_FREE
52 * libsupc++/eh_atomics.h: New file for internal use only.
53 (__eh_atomic_inc, __eh_atomic_dec): New.
54 * libsupc++/eh_ptr.cc (exception_ptr::_M_addref)
55 (exception_ptr::_M_release) (__gxx_dependent_exception_cleanup)
56 (rethrow_exception): Use eh_atomics.h reference counting helpers.
57 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Likewise.
58 * libsupc++/eh_tm.cc (free_any_cxa_exception): Likewise.
59 * libsupc++/exception: Remove check for ATOMIC_INT_LOCK_FREE.
60 * libsupc++/exception_ptr.h: Likewise.
61 * libsupc++/guard.cc: Include header for ATOMIC_INT_LOCK_FREE macro.
62 * libsupc++/nested_exception.cc: Remove check for
63 ATOMIC_INT_LOCK_FREE.
64 * libsupc++/nested_exception.h: Likewise.
65 * src/c++11/future.cc: Likewise.
66 * testsuite/18_support/exception_ptr/*: Remove atomic builtins checks.
67 * testsuite/18_support/nested_exception/*: Likewise.
68 * testsuite/30_threads/async/*: Likewise.
69 * testsuite/30_threads/future/*: Likewise.
70 * testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise.
71 * testsuite/30_threads/packaged_task/*: Likewise.
72 * testsuite/30_threads/promise/*: Likewise.
73 * testsuite/30_threads/shared_future/*: Likewise.
74
75 2017-01-03 Gerald Pfeifer <gerald@pfeifer.com>
76
77 * doc/xml/manual/documentation_hacking.xml: sourceforge.net now
78 defaults to https; adjust reference.
79
80 2017-01-03 Jonathan Wakely <jwakely@redhat.com>
81
82 PR libstdc++/78956
83 * include/std/thread (thread(const thread&&)): Add deleted
84 constructor.
85 * testsuite/30_threads/thread/cons/lwg2097.cc: New test.
86
87 * doc/xml/manual/spine.xml: Update copyright years.
88 * doc/xml/manual/build_hacking.xml: Fix spelling of libbuilddir.
89 * doc/xml/manual/test.xml: Likewise.
90 * doc/html/*: Regenerate.
91
92 2017-01-01 Gerald Pfeifer <gerald@pfeifer.com>
93
94 * doc/xml/faq.xml: Update address of C++ ABI link.
95 * doc/xml/manual/abi.xml: Ditto.
96
97 2017-01-01 Jakub Jelinek <jakub@redhat.com>
98
99 Update copyright years.
100 \f
101 Copyright (C) 2017 Free Software Foundation, Inc.
102
103 Copying and distribution of this file, with or without modification,
104 are permitted in any medium without royalty provided the copyright
105 notice and this notice are preserved.