public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9210] libstdc++: Include <bits/stl_iterator.h> in <bits/alloc_traits.h>
@ 2024-02-28 11:29 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2024-02-28 11:29 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:3c1e624a926dadee24f45beb1da84b12d135511a
commit r14-9210-g3c1e624a926dadee24f45beb1da84b12d135511a
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Feb 21 15:12:49 2024 +0000
libstdc++: Include <bits/stl_iterator.h> in <bits/alloc_traits.h>
libstdc++-v3/ChangeLog:
* include/bits/alloc_traits.h: Include <bits/stl_iterator.h> for
__make_move_if_noexcept_iterator.
Diff:
---
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-28 11:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 11:29 [gcc r14-9210] 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).