C++11 lets you explicitly specify the underlying type of an enum
, e.g.
enum Status : uint8_t
{
OK = 0,
BAD = 1,
};
Does any version of C provide a similar feature?
C++11 lets you explicitly specify the underlying type of an enum
, e.g.
enum Status : uint8_t
{
OK = 0,
BAD = 1,
};
Does any version of C provide a similar feature?