From: Jonathan Wakely Date: Tue, 18 Jun 2024 12:05:39 +0000 (+0100) Subject: libstdc++: Fix outdated comment about standard integer types X-Git-Tag: basepoints/gcc-16~8148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89c26a99102d2cc00455333795d81d6426be7057;p=thirdparty%2Fgcc.git libstdc++: Fix outdated comment about standard integer types 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. --- diff --git a/libstdc++-v3/include/bits/cpp_type_traits.h b/libstdc++-v3/include/bits/cpp_type_traits.h index 679eee99b90..6834dee5557 100644 --- a/libstdc++-v3/include/bits/cpp_type_traits.h +++ b/libstdc++-v3/include/bits/cpp_type_traits.h @@ -130,10 +130,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typedef __false_type __type; }; - // Thirteen specializations (yes there are eleven standard integer - // types; long long and unsigned long long are - // supported as extensions). Up to four target-specific __int - // types are supported as well. + // Explicit specializations for the standard integer types. + // Up to four target-specific __int types are supported as well. template<> struct __is_integer {