public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libstdc++: Adjust doxygen markup for variable templates group [PR101307]
@ 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: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

libstdc++-v3/ChangeLog:

	PR libstdc++/101307
	* include/std/type_traits: Adjust doxygen markup.

Tested powerpc64le-linux. Committed to trunk.


[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1355 bytes --]

commit da89dfc2a0cb29d3d8a4f2394eee90d150cf6185
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Jul 15 21:13:34 2021

    libstdc++: Adjust doxygen markup for variable templates group [PR101307]
    
    libstdc++-v3/ChangeLog:
    
            PR libstdc++/101307
            * include/std/type_traits: Adjust doxygen markup.

diff --git a/libstdc++-v3/include/std/type_traits b/libstdc++-v3/include/std/type_traits
index 91d65234f23..8d9c6394cd8 100644
--- a/libstdc++-v3/include/std/type_traits
+++ b/libstdc++-v3/include/std/type_traits
@@ -3096,17 +3096,18 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #if __cplusplus >= 201703L
 # define __cpp_lib_type_trait_variable_templates 201510L
   /**
-   * @defgroup variable_templates Variable templates for type traits.
+   * @defgroup variable_templates Variable templates for type traits
    * @ingroup metaprogramming
    *
-   * The variable `is_foo_v<T>` is a boolean constant with the same value
-   * as the type trait `is_foo<T>::value`.
+   * Each variable `is_xxx_v<T>` is a boolean constant with the same value
+   * as the `value` member of the corresponding type trait `is_xxx<T>`.
    *
    * @since C++17
    */
 
-  /** @ingroup variable_templates
+  /**
    * @{
+   * @ingroup variable_templates
    */
 template <typename _Tp>
   inline constexpr bool is_void_v = is_void<_Tp>::value;

^ 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 [committed] libstdc++: Adjust doxygen markup for variable templates group [PR101307] 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).