1 minute ago, Horscht said:The Caves of Qud video was informative but the other one waaaaay too complicated, especially since it involves template metaprogramming which is super hardcore hard and I have no experience at all with that.
He made a "slower" explanation of it which is actually part of a playlist, the video is this one below.
You got to learn sooner or later anyway, right?! The video above will probably be still too complicated, so I might as well drop you some more links to watch before it, so that you get to know what you need to know. Watch them when you're ready
First one, you need this below. It is a gentle introduction to template, it starts explaining std::abs() and why it works, but be sure you follow along, write the example and compile. It gets interesting when he show the print function with variadic template arguments, and it gets insane when he shows an implementation of tuple, I had to watch the whole thing twice to start getting my head around it
Then next is the series below. You can skip the first video and go to the second, it is about template argument deduction, you need to understand it if you want to get more confortable with what templates are doing. The third is about overload resolution so maybe you can skip that too, the laters one are again about template.
Also, if you are more of a book guy, today actually C++ Templates: The Complete Guide (2nd Edition) was released, should be 600 pages or something, you'll be an expert on it by the time you finish reading I bet. And then, you can go back to the first video of this reply and probably it will look easy
The rest I guess is just practice