Comment by throw324523
5 hours ago
> Again, that is what would be sensible from a C++ perspective, I don't know if C differs here.
In C it is not UB for an enum to have an integer value that does not correspond to any listed enumeration constants.
5 hours ago
> Again, that is what would be sensible from a C++ perspective, I don't know if C differs here.
In C it is not UB for an enum to have an integer value that does not correspond to any listed enumeration constants.
No comments yet
Contribute on Hacker News ↗