]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/ChangeLog
PR77998 Remove std::thread::_Invoker::result_type
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
index ed572815d6447bc82932431a121f0ff1261ba276..31280a36acffcff0b33744cd4fe9d2b8e4a5b801 100644 (file)
@@ -1,5 +1,12 @@
 2016-10-17  Jonathan Wakely  <jwakely@redhat.com>
 
+       PR libstdc++/77998
+       * include/std/future (__future_base::_Deferred_state)
+       (__future_base::_Async_state_impl): Use decltype to deduce return
+       type, instead of _Invoker::result_type.
+       * include/std/thread (thread::_Invoker::operator()): Likewise.
+       (thread::_Invoker::result_type): Remove.
+
        PR libstdc++/77987
        * include/bits/unique_ptr.h (unique_ptr<T[], D>::reset<U>(U)): Copy
        value to pointer of the correct type to swap, to support conversions