public inbox for
 help / color / mirror / Atom feed
From: "François Dumont" <>
To: "" <>
Cc: gcc-patches <>
Subject: [committed] libstdc++: Remove obsolete comment in <string>
Date: Sat, 9 Jul 2022 14:25:16 +0200	[thread overview]
Message-ID: <> (raw)

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

    libstdc++: Remove obsolete comment in <string> header

     The comment is obsolete because char_traits.h do not include 
     anymore and stl_algobase.h is included directly from <string> a few 


             * include/std/string: Remove obsolete comment about 
char_traits.h including


[-- Attachment #2: string.patch --]
[-- Type: text/x-patch, Size: 507 bytes --]

diff --git a/libstdc++-v3/include/std/string b/libstdc++-v3/include/std/string
index 37a4aaba9cd..62ecdb3af45 100644
--- a/libstdc++-v3/include/std/string
+++ b/libstdc++-v3/include/std/string
@@ -37,7 +37,7 @@
 #include <bits/c++config.h>
 #include <bits/stringfwd.h>
-#include <bits/char_traits.h>  // NB: In turn includes stl_algobase.h
+#include <bits/char_traits.h>
 #include <bits/allocator.h>
 #include <bits/cpp_type_traits.h>
 #include <bits/localefwd.h>    // For operators >>, <<, and getline.

             reply	other threads:[~2022-07-09 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-09 12:25 François Dumont [this message]
2022-07-09 15:46 ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).