You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every type category in [basic.fundamental] (integrals, narrow character types, floating points, ...) don't mention cv-qualified types. For example [basic.fundamental]p7:
Types bool, char, char16_t, char32_t, wchar_t, and the signed and unsigned integer types are collectively called integral types.
Is const bool an integral type? Obviously yes, but this is not mentioned anywhere. Because a lot of type categories are introduced in that section, maybe add a new paragraph that says something like:
If a type T is a X type, where X is one of the types of types mentioned in this section, then cv-qualifiers T is also a X type.
The text was updated successfully, but these errors were encountered:
jensmaurer
changed the title
[basic.fundamental] Missing "and cv-qualified versions of those types" for various type categories
[basic.fundamental] CWG 2185: Missing "and cv-qualified versions of those types" for various type categories
Sep 18, 2018
Every type category in [basic.fundamental] (integrals, narrow character types, floating points, ...) don't mention cv-qualified types. For example [basic.fundamental]p7:
Is
const bool
an integral type? Obviously yes, but this is not mentioned anywhere. Because a lot of type categories are introduced in that section, maybe add a new paragraph that says something like:The text was updated successfully, but these errors were encountered: