public inbox for email@example.com
help / color / mirror / Atom feed
* [gcc r13-2692] libstdc++: Remove unnecessary header from <memory>
@ 2022-09-15 22:58 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-09-15 22:58 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
Author: Jonathan Wakely <firstname.lastname@example.org>
Date: Thu Sep 15 18:21:32 2022 +0100
libstdc++: Remove unnecessary header from <memory>
Previously <memory> included <bits/stl_algobase.h> so that std::copy,
std::fill etc. could be used by <bits/stl_uninitialized.h>. But that
includes it explicitly now, so that it can be compiled as a header unit.
There's no need to include it in <memory>, where its purpose isn't
* include/std/memory: Do not include <bits/stl_algobase.h>.
libstdc++-v3/include/std/memory | 1 -
1 file changed, 1 deletion(-)
diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory
index 481fa42a618..20a55020a36 100644
@@ -60,7 +60,6 @@
* Smart pointers, etc.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-15 22:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 22:58 [gcc r13-2692] libstdc++: Remove unnecessary header from <memory> 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).