| are you STILL under the impression you need to explain beginner level C++ to me? Yes you can btw remove the move() from the return statement in this example. First you say you have a problem with not knowing if something will copy or move, now you have a problem with an explicit move to rely on copy elision. Seems like you just want to complain about problems that don't exist. This is why I think it's necessary to explain the basics. function of their knowledge and experience Now we are to the "get good" part of the C true believe argument. People have been trying to get good for 50 years and all the same bugs still happen. You will learn a lot and you might change your mind about many of your mainstream positions. I've already been on both sides of this argument. I like data structures, value semantics and avoiding double indirection. Check out the raddebugger code Check out the code to every other piece of software you use. |