12-12-2023, 09:23 AM
(08-12-2023, 01:17 PM)misra cpp Wrote: You are correct that use of operator<< as a stream output with enum is not permitted by this rule, so your example needs a deviation.
However, we agree that the use of enums with streams should be compliant. MISRA C++:2023 allows the use of scoped enums with streams.
Thank you for your answer and the information, good to know that it is already considered in MISRA C++:2023.