From: Jonathan Wakely Date: Wed, 19 Nov 2025 09:43:10 +0000 (+0000) Subject: libstdc++: Remove vertical whitespace from code listings in manual X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0e0f6beb18a0109a481789803a453b438f79e24;p=thirdparty%2Fgcc.git libstdc++: Remove vertical whitespace from code listings in manual This removes unnecessary whitespace following
 blocks in the HTML
output.

libstdc++-v3/ChangeLog:

	* doc/xml/faq.xml: Remove unwanted whitespace inside
	programlisting elements.
	* doc/xml/manual/allocator.xml: Likewise.
	* doc/xml/manual/auto_ptr.xml: Likewise.
	* doc/xml/manual/backwards_compatibility.xml: Likewise.
	* doc/xml/manual/build_hacking.xml: Likewise.
	* doc/xml/manual/containers.xml: Likewise.
	* doc/xml/manual/diagnostics.xml: Likewise.
	* doc/xml/manual/extensions.xml: Likewise.
	* doc/xml/manual/intro.xml: Likewise.
	* doc/xml/manual/io.xml: Likewise.
	* doc/xml/manual/iterators.xml: Likewise.
	* doc/xml/manual/numerics.xml: Likewise.
	* doc/xml/manual/policy_data_structures.xml: Likewise.
	* doc/xml/manual/strings.xml: Likewise.
	* doc/xml/manual/support.xml: Likewise.
	* doc/xml/manual/test.xml: Likewise.
	* doc/xml/manual/using.xml: Likewise.
	* doc/xml/manual/utilities.xml: Likewise.
	* doc/html/*: Regenerate.
---

diff --git a/libstdc++-v3/doc/html/faq.html b/libstdc++-v3/doc/html/faq.html
index 9bd477f1395..ba887ae2061 100644
--- a/libstdc++-v3/doc/html/faq.html
+++ b/libstdc++-v3/doc/html/faq.html
@@ -597,7 +597,7 @@
     // .
     fs.close();
     fs.open("a_new_file");
-    

+

All operations on the re-opened fs would fail, or at least act very strangely, especially if fs reached the EOF state on the previous file. diff --git a/libstdc++-v3/doc/html/manual/appendix_porting.html b/libstdc++-v3/doc/html/manual/appendix_porting.html index 00677461ea1..dc46db3086a 100644 --- a/libstdc++-v3/doc/html/manual/appendix_porting.html +++ b/libstdc++-v3/doc/html/manual/appendix_porting.html @@ -113,13 +113,13 @@ in the build directory starts the build process. The all

+

All the major variable "discovery" is done here. CXX, multilibs, etc.

     fragments included from elsewhere
-  

+

Right now, "fragments" == "the math/linkage bits".

     GLIBCXX_CHECK_COMPILER_FEATURES
diff --git a/libstdc++-v3/doc/html/manual/associative.html b/libstdc++-v3/doc/html/manual/associative.html
index 23916fb1631..dda188682ba 100644
--- a/libstdc++-v3/doc/html/manual/associative.html
+++ b/libstdc++-v3/doc/html/manual/associative.html
@@ -7,7 +7,7 @@
      function for all of the associative containers (map, set, etc):
    

       a.insert(p,t);
-   

+

where 'p' is an iterator into the container 'a', and 't' is the item to insert. The standard says that “t is inserted as close as possible to the position just prior to @@ -93,7 +93,7 @@ std::bitset<n> bits; .... } -

+

because n must be known at compile time. Your compiler is correct; it is not a bug. That's the way templates work. (Yes, it is a feature.) @@ -181,11 +181,11 @@ constructor expression:

       std::bitset<5> b ( std::string("10110") );
-   

+

instead of

       std::bitset<5> b ( "10110" );    // invalid
-