[PATCH 08/10] libstdc++: Minor tweak to Doxygen comment for std::pair
Tomasz Kaminski
tkaminsk@redhat.com
Thu Apr 2 08:15:32 GMT 2026
On Thu, Apr 2, 2026 at 12:03 AM Jonathan Wakely <jwakely@redhat.com> wrote:
> 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)
>
LGTM. Looks like nitpick thou.
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20260402/8be1bb26/attachment.htm>
More information about the Libstdc++
mailing list