diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3d0561ba36e..01156a0cea6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2017-04-19 Jonathan Wakely + PR libstdc++/80448 + * include/experimental/bits/fs_dir.h (directory_iterator) + (recursive_directory_iterator): Remove noexcept from defaulted + constructors. + PR libstdc++/80446 * include/std/type_traits (is_aggregate): Change __has_builtin checks. * libsupc++/new (launder): Likewise. diff --git a/libstdc++-v3/include/experimental/bits/fs_dir.h b/libstdc++-v3/include/experimental/bits/fs_dir.h index 3bdf9115448..0efaf944f60 100644 --- a/libstdc++-v3/include/experimental/bits/fs_dir.h +++ b/libstdc++-v3/include/experimental/bits/fs_dir.h @@ -181,7 +181,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 typedef const directory_entry& reference; typedef input_iterator_tag iterator_category; - directory_iterator() noexcept = default; + directory_iterator() = default; explicit directory_iterator(const path& __p) @@ -262,7 +262,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 typedef const directory_entry& reference; typedef input_iterator_tag iterator_category; - recursive_directory_iterator() noexcept = default; + recursive_directory_iterator() = default; explicit recursive_directory_iterator(const path& __p) @@ -282,8 +282,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 recursive_directory_iterator( const recursive_directory_iterator&) = default; - recursive_directory_iterator( - recursive_directory_iterator&&) noexcept = default; + recursive_directory_iterator(recursive_directory_iterator&&) = default; ~recursive_directory_iterator();