05-10-2015, 01:43 PM
In the examples quoted, there are not two instances of the same function.
Rule 3-9-1 relates to the case where the same function is declared in two translation units and these two declarations must obey the 'One Definition Rule'.
Token-for-token compliance is the easiest way to ensure this.
Rule 3-9-1 relates to the case where the same function is declared in two translation units and these two declarations must obey the 'One Definition Rule'.
Token-for-token compliance is the easiest way to ensure this.
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group