[gcc r15-10807] libstdc++: Fix doxygen comment for std::out_ptr [PR124024]
Jonathan Wakely
redi@gcc.gnu.org
Mon Feb 9 21:00:14 GMT 2026
https://gcc.gnu.org/g:c714df80a2ea62a7263044fd97d2601136e79ddf
commit r15-10807-gc714df80a2ea62a7263044fd97d2601136e79ddf
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Feb 9 20:41:46 2026 +0000
libstdc++: Fix doxygen comment for std::out_ptr [PR124024]
libstdc++-v3/ChangeLog:
PR libstdc++/124024
* include/bits/out_ptr.h (out_ptr): Fix doxygen comment to refer
to the right function.
(inout_ptr): Improve markup in doxygen comment.
(cherry picked from commit a53eaa269058c0e382178505bb2b414132d04ded)
Diff:
---
libstdc++-v3/include/bits/out_ptr.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libstdc++-v3/include/bits/out_ptr.h b/libstdc++-v3/include/bits/out_ptr.h
index 00ba09d0f18d..48fe3475b2f7 100644
--- a/libstdc++-v3/include/bits/out_ptr.h
+++ b/libstdc++-v3/include/bits/out_ptr.h
@@ -397,7 +397,7 @@ namespace __detail
* @tparam _Pointer The type of pointer to convert to.
* @param __s The pointer that should take ownership of the result.
* @param __args... Arguments to use when resetting the smart pointer.
- * @return A std::inout_ptr_t referring to `__s`.
+ * @return A `std::out_ptr_t` referring to `__s`.
* @since C++23
* @headerfile <memory>
*/
@@ -418,7 +418,7 @@ namespace __detail
* @tparam _Pointer The type of pointer to convert to.
* @param __s The pointer that should take ownership of the result.
* @param __args... Arguments to use when resetting the smart pointer.
- * @return A std::inout_ptr_t referring to `__s`.
+ * @return A `std::inout_ptr_t` referring to `__s`.
* @since C++23
* @headerfile <memory>
*/
More information about the Libstdc++-cvs
mailing list