MISRA Discussion Forums
Just to be clear on 0-1-8 ... - 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: Just to be clear on 0-1-8 ... (/showthread.php?tid=794)



Just to be clear on 0-1-8 ... - gs - 19-11-2010

The standard library implementation here has the body of one of the standard library functions defined as, literally, "{ }". The function does not do anything except go, "Yes, I have been called." Did MISRA intend to prohibit such a definition with respect to 0-1-8?


Re: Just to be clear on 0-1-8 ... - misra cpp - 05-10-2015

Yes, this is intended to be a violation.