@Haijo7@YoSoyFreeman c++ can provide some useful stuff if you limit the features you use.
RAII (resource acquisition is initialization) with exceptions is a really handy way to handle stuff like memory allocation, locks, files etc more safely than in C for example. It makes avoiding leaks, double free etc easier
Getting into the weeds with metaprogramming, boost etc gets very complicated very fast though.