* [PATCH] libstdc++: Add <print> and <text_encoding> to stdc++.h
@ 2024-01-19 15:15 Patrick Palka
2024-01-19 15:17 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Palka @ 2024-01-19 15:15 UTC (permalink / raw)
To: gcc-patches; +Cc: libstdc++, Patrick Palka
Tested on x86_64-pc-linux-gnu, does this look OK for trunk?
-- >8 --
libstdc++-v3/ChangeLog:
* include/precompiled/stdc++.h [_GLIBCXX_HOSTED]: Include
<print> and <text_encoding> for C++23 and C++26 respectively.
---
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
--
2.43.0.367.g186b115d30
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] libstdc++: Add <print> and <text_encoding> to stdc++.h
2024-01-19 15:15 [PATCH] libstdc++: Add <print> and <text_encoding> to stdc++.h Patrick Palka
@ 2024-01-19 15:17 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2024-01-19 15:17 UTC (permalink / raw)
To: Patrick Palka; +Cc: gcc-patches, libstdc++
On Fri, 19 Jan 2024 at 15:16, Patrick Palka <ppalka@redhat.com> wrote:
>
> Tested on x86_64-pc-linux-gnu, does this look OK for trunk?
OK.
This was on my TODO list after somebody asked about <bits/stdc++.h> on
IRC this week, so thanks for doing it.
>
> -- >8 --
>
> libstdc++-v3/ChangeLog:
>
> * include/precompiled/stdc++.h [_GLIBCXX_HOSTED]: Include
> <print> and <text_encoding> for C++23 and C++26 respectively.
> ---
> 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
> --
> 2.43.0.367.g186b115d30
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-19 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19 15:15 [PATCH] libstdc++: Add <print> and <text_encoding> to stdc++.h Patrick Palka
2024-01-19 15:17 ` 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).