[2/8] libstdc++: Include <bits/stl_iterator.h> in <bits/alloc_traits.h>
Commit Message
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(+)
@@ -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)