]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Adjust doxygen markup for variable templates group [PR101307]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 15 Jul 2021 20:13:34 +0000 (21:13 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 16 Jul 2021 07:40:43 +0000 (08:40 +0100)
libstdc++-v3/ChangeLog:

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

libstdc++-v3/include/std/type_traits

index 91d65234f238cd2a6bf64576ed080d0638067bd0..8d9c6394cd80ecab423cac6058266dbaf43749da 100644 (file)
@@ -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;