Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
10.2.3 Amplification
#3
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.
Code:
enum E e;
  E& eref = e; // Compliant or not?
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.
Reply


Messages In This Thread
10.2.3 Amplification - by hahn - 26-03-2024, 03:08 PM
RE: 10.2.3 Amplification - by misra cpp - 12-04-2024, 02:20 PM
RE: 10.2.3 Amplification - by hahn - 06-05-2024, 08:57 AM
RE: 10.2.3 Amplification - by misra cpp - 17-05-2024, 02:49 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)