MISRA Discussion Forums

Full Version: Rule 0-1-9
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Please add an explicit exception for static_assert if the next MISRA C++ version allows C++11.
Thanks.
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'