MISRA Discussion Forums
Rule 0-1-9 - Printable Version

+- MISRA Discussion Forums (https://forum.misra.org.uk)
+-- Forum: MISRA C++ (https://forum.misra.org.uk/forumdisplay.php?fid=18)
+--- Forum: MISRA C++:2008 rules (https://forum.misra.org.uk/forumdisplay.php?fid=19)
+---- Forum: 6.0 Language independent issues (C++) (https://forum.misra.org.uk/forumdisplay.php?fid=129)
+---- Thread: Rule 0-1-9 (/showthread.php?tid=1276)



Rule 0-1-9 - dg1980 - 28-09-2016

Please add an explicit exception for static_assert if the next MISRA C++ version allows C++11.
Thanks.


Re: Rule 0-1-9 - misra cpp - 24-01-2017

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'