Hacker News new | ask | show | jobs
by jbms 1406 days 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".