It definitely feels like we're talking past each other. I keep telling you why people think it's a bad idea, and you keep showing that you're allowed to do it anyway. We know. That's the difference between impossible and a bad idea.
You keep saying it is a bad idea like it is a given. He keeps saying 5 bazillion programmers are quite successful with your "bad idea" so maybe it isn't so bad. Is there any evidence either way on the effects of templates on code quality?
Nope, it is the difference regarding politics of what goes into the Linux kernel and the rest of the world, and it is quite clear to which side each of us belong.
https://www.parasoft.com/blog/breaking-down-the-autosar-c14-...
But what do they state specifically? Ah, right.
> "The document allows in particular the usage of dynamic memory, exceptions, templates, inheritance and virtual functions."
https://www.autosar.org/fileadmin/user_upload/standards/adap...