Rule 2-10-6 - 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.2 Lexical conventions (C++) (https://forum.misra.org.uk/forumdisplay.php?fid=131) +---- Thread: Rule 2-10-6 (/showthread.php?tid=1223) |
Rule 2-10-6 - Mats Fors - 26-01-2016 Shouldn't example one be compliant? typedef struct vector {...} vector; The two vector identifiers are both referring to the same type. Re: Rule 2-10-6 - misra cpp - 11-10-2016 You are correct, the first example should be compliant. This will be corrected in a future edition or Technical Corrigendum |