Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 0-1-9
Please add an explicit exception for static_assert if the next MISRA C++ version allows C++11.
A review is currently underway to make the rules compatible with C++14

Having said that, static_assert would not be reported by this rule anyway, as it is a compile time check that doesn't create executable code, so it cannot be 'dead'
Posted by and on behalf of
the MISRA C++ Working Group

Forum Jump:

Users browsing this thread: 1 Guest(s)