From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id C5558385E004; Fri, 16 Jul 2021 07:41:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5558385E004 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-2345] libstdc++: Adjust doxygen markup for unique_ptr grouping X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: da89dfc2a0cb29d3d8a4f2394eee90d150cf6185 X-Git-Newrev: adc03d72c3fd9ce4902f09951ca2765eef848783 Message-Id: <20210716074104.C5558385E004@sourceware.org> Date: Fri, 16 Jul 2021 07:41:04 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2021 07:41:04 -0000 https://gcc.gnu.org/g:adc03d72c3fd9ce4902f09951ca2765eef848783 commit r12-2345-gadc03d72c3fd9ce4902f09951ca2765eef848783 Author: Jonathan Wakely 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 @@ -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 inline typename _MakeUniq<_Tp>::__single_object