06-05-2024, 08:57 AM
Thanks for your reply and the clarifications.
I have one more code example which reading the text appears non-compliant to me, but does not contradict the rationale or poses an issue in my view.
There is a source of an assignment (variable initialization) of enum type, and the target type (E&) is neither the same enum type (but reference to it) or a sufficiently sized integer type.
A clarification once more would be great.
I have one more code example which reading the text appears non-compliant to me, but does not contradict the rationale or poses an issue in my view.
Code:
enum E e;
E& eref = e; // Compliant or not?
A clarification once more would be great.