MISRA Discussion Forums
MISRA Discussion Forums
>
MISRA C++
>
MISRA C++:2008 rules
>
6.1 General (C++)
> self-contained headers
Full Version:
self-contained headers
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
sthrjo
05-12-2011, 08:31 AM
There is no rule in MISRA for header files to be self-contained, is there? Is there a reason for this decision? Other rule-sets has this rule, allegedly "Goddard Space Flight Center" has a rule-set for C.
misra cpp
05-10-2015, 01:35 PM
This issue was not considered for MISRA C++:2008.
Note that many of the guidelines prevent the issues that can arise if a header file is included more than once.
MISRA Discussion Forums
>
MISRA C++
>
MISRA C++:2008 rules
>
6.1 General (C++)
> self-contained headers