public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8285] libstdc++: Add <print> and <text_encoding> to stdc++.h
@ 2024-01-19 15:21 Patrick Palka
  0 siblings, 0 replies; only message in thread
From: Patrick Palka @ 2024-01-19 15:21 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-19 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19 15:21 [gcc r14-8285] libstdc++: Add <print> and <text_encoding> to stdc++.h Patrick Palka

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).