26-01-2022, 10:43 AM
The rule as drafted was intended to just cover 'syntactic const', but we recognise that this has limitations.
In this case, you'll need to deviate, or artificially modify the function so that it cannot be made const.
In this case, you'll need to deviate, or artificially modify the function so that it cannot be made const.
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group