Namespaces
Variants
Views
Actions

Talk:cpp/header/cstdint

From cppreference.com

The types of the results of the "Function macros for integer constants" are not correct, as the standard says "The type of the expression shall have the same type as would an expression of the corresponding type converted according to the integer promotions". For example, the result of UINT8_C(value) might not have type std::uint_least8_t (likely int instead). (Edit: This was the subject of a defect report against C99 [1] and resulted in a technical corrigendum.) --Ndkrempel (talk) 05:16, 20 February 2020 (PST)

Fixed, I think. Thanks for the report! T. Canens (talk) 06:17, 20 February 2020 (PST)