Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cvalue and constant integral expression in generic context
#2
From the definitions in MISRA 2008, integral constant expressions are never cvalues. 

As far as we can determine, your example code should be compliant, at least with respect to the use of cvalues.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: cvalue and constant integral expression in generic context - by misra cpp - 19-04-2024, 04:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)