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/forum-18.html)
+--- Forum: MISRA C++:2008 rules (https://forum.misra.org.uk/forum-19.html)
+---- Forum: 6.0 Language independent issues (C++) (https://forum.misra.org.uk/forum-129.html)
+---- Thread: Just to be clear on 0-1-8 ... (/thread-794.html)



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.