* [PATCH 2/8] libstdc++: Include <bits/stl_iterator.h> in <bits/alloc_traits.h>
@ 2024-02-27 11:41 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2024-02-27 11:41 UTC (permalink / raw)
To: libstdc++, gcc-patches
Tested x86_64-linux. Reviews invited.
-- >8 --
libstdc++-v3/ChangeLog:
* include/bits/alloc_traits.h: Include <bits/stl_iterator.h> for
__make_move_if_noexcept_iterator.
---
libstdc++-v3/include/bits/alloc_traits.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libstdc++-v3/include/bits/alloc_traits.h b/libstdc++-v3/include/bits/alloc_traits.h
index 5e661e04741..82fc79c7b9f 100644
--- a/libstdc++-v3/include/bits/alloc_traits.h
+++ b/libstdc++-v3/include/bits/alloc_traits.h
@@ -38,6 +38,9 @@
# if _GLIBCXX_HOSTED
# include <bits/allocator.h>
# endif
+# if __cpp_exceptions
+# include <bits/stl_iterator.h> // __make_move_if_noexcept_iterator
+# endif
#endif
namespace std _GLIBCXX_VISIBILITY(default)
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-27 11:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-27 11:41 [PATCH 2/8] libstdc++: Include <bits/stl_iterator.h> in <bits/alloc_traits.h> Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).