]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix outdated comment about standard integer types
authorJonathan Wakely <jwakely@redhat.com>
Tue, 18 Jun 2024 12:05:39 +0000 (13:05 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 18 Jun 2024 12:40:20 +0000 (13:40 +0100)
The long long and unsigned long long types have been standard since
C++11, so are not extensions. There are also the char8_t, char16_t and
char32_t types. Just refer to the standard integer types, without saying
how many there are.

libstdc++-v3/ChangeLog:

* include/bits/cpp_type_traits.h: Fix outdated comment about the
number of standard integer types.

libstdc++-v3/include/bits/cpp_type_traits.h

index 679eee99b9045d776325b7b7aaea00ca508570e2..6834dee5557074020397119e3f9b04e315009c73 100644 (file)
@@ -130,10 +130,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       typedef __false_type __type;
     };
 
-  // Thirteen specializations (yes there are eleven standard integer
-  // types; <em>long long</em> and <em>unsigned long long</em> are
-  // supported as extensions).  Up to four target-specific __int<N>
-  // types are supported as well.
+  // Explicit specializations for the standard integer types.
+  // Up to four target-specific __int<N> types are supported as well.
   template<>
     struct __is_integer<bool>
     {