And yes, I'm serious. Sorry but
it is not possible to use C++ in embedded simply because 95% of all C++ programmers don't have a clue how to use that language for embedded systems. If you and everyone else who will ever touch the code actually know assembler and what machine code that C++ actually generates, then it is perfectly possible to use a safe subset of the language. But that's utopia, I have yet to see that happen in the real world. The only ones who can actually use C++ in embedded are skilled solo programmers who know what they are doing and don't let anyone else touch the code. —
Lundin 41 secs ago