[gcc r14-12306] libstdc++: Fix doxygen comment for std::out_ptr [PR124024]
Jonathan Wakely
redi@gcc.gnu.org
Mon Feb 9 21:17:11 GMT 2026
https://gcc.gnu.org/g:f47b076c4c52a714b0fa1bbf1e94760636084e54
commit r14-12306-gf47b076c4c52a714b0fa1bbf1e94760636084e54
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 d74c9f52d3b5..c7d6a950dfd0 100644
--- a/libstdc++-v3/include/bits/out_ptr.h
+++ b/libstdc++-v3/include/bits/out_ptr.h
@@ -395,7 +395,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>
*/
@@ -416,7 +416,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