[committed] libstdc++: Fix copy & paste error in pb_ds docs

Jonathan Wakely jwakely@redhat.com
Fri Oct 16 15:12:42 GMT 2026


This seems to have been copied from the previous paragraph.

libstdc++-v3/ChangeLog:

	* doc/xml/manual/policy_data_structures.xml: Fix definition of
	range-type iterator.
	* doc/html/manual/policy_data_structures_design.html:
	Regenerate.
---

Pushed to trunk.

I would prefer to say "member functions" instead of "methods" but this
is the minimal fix.

 libstdc++-v3/doc/html/manual/policy_data_structures_design.html | 2 +-
 libstdc++-v3/doc/xml/manual/policy_data_structures.xml          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/doc/html/manual/policy_data_structures_design.html b/libstdc++-v3/doc/html/manual/policy_data_structures_design.html
index 48253ddcfaa3..0379f4807f5f 100644
--- a/libstdc++-v3/doc/html/manual/policy_data_structures_design.html
+++ b/libstdc++-v3/doc/html/manual/policy_data_structures_design.html
@@ -273,7 +273,7 @@
 	</p><p>
 	  A range-type iterator is an iterator that is used to go over a
 	  sequence of elements, as returned by a container's
-	  <code class="function">find</code> method.
+	  <code class="function">begin</code> and <code class="function">end</code> methods.
 	</p><p>
 	  A point-type method is a method that
 	  returns a point-type iterator; a range-type method is a method
diff --git a/libstdc++-v3/doc/xml/manual/policy_data_structures.xml b/libstdc++-v3/doc/xml/manual/policy_data_structures.xml
index 6f3846b8acec..276fe7e7a892 100644
--- a/libstdc++-v3/doc/xml/manual/policy_data_structures.xml
+++ b/libstdc++-v3/doc/xml/manual/policy_data_structures.xml
@@ -2538,7 +2538,7 @@
 	<para>
 	  A range-type iterator is an iterator that is used to go over a
 	  sequence of elements, as returned by a container's
-	  <function>find</function> method.
+	  <function>begin</function> and <function>end</function> methods.
 	</para>
 
 	<para>
-- 
2.56.0



More information about the Libstdc++ mailing list