[PATCH 08/10] libstdc++: Minor tweak to Doxygen comment for std::pair

Jonathan Wakely jwakely@redhat.com
Wed Apr 1 20:42:08 GMT 2026


It doesn't necessarily hold objects, it can hold references too.

libstdc++-v3/ChangeLog:

	* include/bits/stl_pair.h (pair): Adjust Doxygen comment.
---

Tested x86_64-linux, docs built with Doxygen 1.13.2 and 1.17.0 (from git)

 libstdc++-v3/include/bits/stl_pair.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libstdc++-v3/include/bits/stl_pair.h b/libstdc++-v3/include/bits/stl_pair.h
index aa49f87fc137..f08b2714a4fe 100644
--- a/libstdc++-v3/include/bits/stl_pair.h
+++ b/libstdc++-v3/include/bits/stl_pair.h
@@ -292,10 +292,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
   /// @endcond
 
  /**
-   *  @brief Struct holding two objects of arbitrary type.
+  *  @brief Struct holding two objects (or references) of arbitrary type.
    *
-   *  @tparam _T1  Type of first object.
-   *  @tparam _T2  Type of second object.
+   *  @tparam _T1  Type of the `first` member.
+   *  @tparam _T2  Type of the `second` member.
    *
    *  <https://gcc.gnu.org/onlinedocs/libstdc++/manual/utilities.html>
    *
-- 
2.53.0



More information about the Libstdc++ mailing list