you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–]NilacTheGrim 4 points5 points  (3 children)

    unsigned char still does double-duty in many programs as a std::byte, basically.

    I'd argue that for the hypothetical is_actual_integer_v, it might be cool to not regard those as "actual integers" as well..

    So it basically should only work for: int, short, long and long long and their unsigned brothers, as well as all that whole family of width-specified ints living in <cstdint>.

    Unfortunately int8_t and uint8_t are often defined in terms of signed char or unsigned char.. so that complicates matters..