So… where’s the header of your example?
In my point of view the complexity of c++ is not that difficult to pass over. But the thing that I don’t like at c++ is the lack of intelisense ( who says it has, he didn’t programmed in c#) and the extra information you type in .h files witch it’s writing the same thing twice and on top of that the compilation errors are too generic and it takes time to find the culprit. All of this combined takes a lot of extra time that is so precious for one like me (i have a daily job and a family) so for the time being I do all the programming using blueprints and only specific complex code in c++. We leave in a era of speed and c++ it’s not the fastest way to develop (no offence to anyone).