Just to be clear on 0-1-8 ...

Moderators: david ward, misra cpp

Post Reply
gs
Posts: 87
Joined: Thu Nov 18, 2004 1:39 am

Just to be clear on 0-1-8 ...

Post by gs » Fri Nov 19, 2010 6:56 pm

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?

misra cpp
Posts: 145
Joined: Mon Jun 02, 2008 1:55 pm
Company: MISRA

Re: Just to be clear on 0-1-8 ...

Post by misra cpp » Mon Oct 05, 2015 2:26 pm

Yes, this is intended to be a violation.
Posted by and on behalf of
the MISRA C++ Working Group

Post Reply

Return to “6.0 Language independent issues (C++)”