public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2345] libstdc++: Adjust doxygen markup for unique_ptr grouping
@ 2021-07-16  7:41 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-07-16  7:41 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:adc03d72c3fd9ce4902f09951ca2765eef848783

commit r12-2345-gadc03d72c3fd9ce4902f09951ca2765eef848783
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Jul 15 21:14:40 2021 +0100

    libstdc++: Adjust doxygen markup for unique_ptr grouping
    
    This reorders the @{ and @relates tags, and moves the definition of the
    __cpp_lib_make_unique macro out of the group, as it seems to confuse
    doxygen.
    
    libstdc++-v3/ChangeLog:
    
            * include/bits/unique_ptr.h: Adjust doxygen markup.

Diff:
---
 libstdc++-v3/include/bits/unique_ptr.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/include/bits/unique_ptr.h b/libstdc++-v3/include/bits/unique_ptr.h
index d483f13f2b0..0a0667a7608 100644
--- a/libstdc++-v3/include/bits/unique_ptr.h
+++ b/libstdc++-v3/include/bits/unique_ptr.h
@@ -724,7 +724,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       unique_ptr& operator=(const unique_ptr&) = delete;
     };
 
-  /// @relates unique_ptr @{
+  /// @{
+  /// @relates unique_ptr
 
   /// Swap overload for unique_ptr
   template<typename _Tp, typename _Dp>
@@ -936,7 +937,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     { };
 
 #if __cplusplus >= 201402L
-  /// @relates unique_ptr @{
 #define __cpp_lib_make_unique 201304
 
   /// @cond undocumented
@@ -955,6 +955,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
   /// @endcond
 
+  /// @{
+  /// @relates unique_ptr
+
   /// std::make_unique for single objects
   template<typename _Tp, typename... _Args>
     inline typename _MakeUniq<_Tp>::__single_object


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-16  7:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-16  7:41 [gcc r12-2345] libstdc++: Adjust doxygen markup for unique_ptr grouping Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).