10-04-2019, 01:57 PM
We would agree that creating large amounts of data on the stack has many of the same problems as creating it on the heap.
The rules were written when most target applications had well defined and static memory requirements, making dynamic allocation unnecessary.
However, this approach is being re-examined
The rules were written when most target applications had well defined and static memory requirements, making dynamic allocation unnecessary.
However, this approach is being re-examined
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group