diff --git a/include/future b/include/future index 957a23cd8..3bbb92586 100644 --- a/include/future +++ b/include/future @@ -1514,6 +1514,7 @@ template void promise<_Rp>::set_exception_at_thread_exit(exception_ptr __p) { + _LIBCPP_ASSERT( __p != nullptr, "promise::set_exception_at_thread_exit: received nullptr" ); if (__state_ == nullptr) __throw_future_error(future_errc::no_state); __state_->set_exception_at_thread_exit(__p); @@ -1649,6 +1650,7 @@ template void promise<_Rp&>::set_exception_at_thread_exit(exception_ptr __p) { + _LIBCPP_ASSERT( __p != nullptr, "promise::set_exception_at_thread_exit: received nullptr" ); if (__state_ == nullptr) __throw_future_error(future_errc::no_state); __state_->set_exception_at_thread_exit(__p); diff --git a/www/cxx1z_status.html b/www/cxx1z_status.html index 37b9833f5..d29b5c780 100644 --- a/www/cxx1z_status.html +++ b/www/cxx1z_status.html @@ -203,7 +203,7 @@ 2495There is no such thing as an Exception Safety elementKonaComplete 2192Validity and return type of std::abs(0u) is unclearJacksonville - 2276Missing requirement on std::promise::set_exceptionJacksonville + 2276Missing requirement on std::promise::set_exceptionJacksonvilleComplete 2296std::addressof should be constexprJacksonvilleComplete (Clang Only) 2450(greater|less|greater_equal|less_equal)<void> do not yield a total order for pointersJacksonville 2520N4089 broke initializing unique_ptr<T[]> from a nullptrJacksonville