I've once been at company that had 90%+ such colleagues.
Uff, if that is the future of this industry, I'll retire as well
They absolutely were not interested in learning anything. I left knowing more C++ than they did despite having started there with total C++ experience of a hello world tutorial, and the fact that I still don't count myself as a C++ dev today.
I would never utter the phrase "I know C++" because it can mean so many different things to so many different people, and I don't think anyone truly knows the whole language.
Not using templates nor smart pointers doesn't sound that bad to me(unless the entirety/majority of the codebase was written with them in mind), the duplication thing is more questionable.
Boss called me 5 minutes later and tells me off for creating "bad vibes" in the work environment.
Colleague then proceeded to forcepush his "fix" that still didn't even compile to master, removing a new feature I was about to roll out to production, because he didn't know how to merge his changes with the revert commit I'd added
This was when I decided to quit
Oh I should add this developer bragged he had 10+years working experience. Not that I believe him, but still