I am learning C++ from a background of mostly C and Java and I am curious on what is the best way to return an object in C++ without having to copy the object. From my understa
If you want to use smart pointer in this case, maybe unique_ptr is a better choise.