Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 3-4-1 and classes
#2
As currently stated you are correct, a class only used in a single function should be declared in that function.

However, you are also right that this may be undesirable. This will be reviewed for a future version
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)