[gcc r14-8285] libstdc++: Add <print> and <text_encoding> to stdc++.h
Patrick Palka
ppalka@gcc.gnu.org
Fri Jan 19 15:21:57 GMT 2024
https://gcc.gnu.org/g:d44b603916ba7c8c0364d73ed36c19e270c5b3b0
commit r14-8285-gd44b603916ba7c8c0364d73ed36c19e270c5b3b0
Author: Patrick Palka <ppalka@redhat.com>
Date: Fri Jan 19 10:21:47 2024 -0500
libstdc++: Add <print> and <text_encoding> to stdc++.h
libstdc++-v3/ChangeLog:
* include/precompiled/stdc++.h [_GLIBCXX_HOSTED]: Include
<print> and <text_encoding> for C++23 and C++26 respectively.
Diff:
---
libstdc++-v3/include/precompiled/stdc++.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libstdc++-v3/include/precompiled/stdc++.h b/libstdc++-v3/include/precompiled/stdc++.h
index a1db96cbb64..3eef20d1645 100644
--- a/libstdc++-v3/include/precompiled/stdc++.h
+++ b/libstdc++-v3/include/precompiled/stdc++.h
@@ -223,6 +223,7 @@
#if __cplusplus > 202002L
#include <expected>
#include <generator>
+#include <print>
#include <spanstream>
#if __has_include(<stacktrace>)
# include <stacktrace>
@@ -231,4 +232,8 @@
#include <stdfloat>
#endif
+#if __cplusplus > 202302L
+#include <text_encoding>
+#endif
+
#endif // HOSTED
More information about the Libstdc++-cvs
mailing list