aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-06-18 13:05:39 +0100
committerJonathan Wakely <jwakely@redhat.com>2024-06-18 13:40:20 +0100
commit89c26a99102d2cc00455333795d81d6426be7057 (patch)
tree14ba7a891e946f0697ba546f0aa4022939e51915
parentd8c8ab7de71218eb6ddbe5822f1acdcd8726323d (diff)
downloadgcc-89c26a99102d2cc00455333795d81d6426be7057.zip
gcc-89c26a99102d2cc00455333795d81d6426be7057.tar.gz
gcc-89c26a99102d2cc00455333795d81d6426be7057.tar.bz2
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.
-rw-r--r--libstdc++-v3/include/bits/cpp_type_traits.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/include/bits/cpp_type_traits.h b/libstdc++-v3/include/bits/cpp_type_traits.h
index 679eee9..6834dee 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; <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>
{