5 ms·
Thanks, that's interesting. AUTOSAR C++14 guidelines don't allow goto in any case. MISRA C++ 2008 does have a couple of rules that allow this specific scenari
by jbms 4y ago
Thanks, that's interesting.
AUTOSAR C++14 guidelines don't allow goto in any case.
MISRA C++ 2008 does have a couple of rules that allow this specific scenario.
MISRA C:2004, "goto shall not be used".
MISRA C:2012, it was weakened to "goto should not be used".