How does the std::unique_ptr&& function argument work?
Advertisements I’m writing a simple game engine in C++. I’m very late to C++, because I’ve spent most of my free time with C, so the unique_ptr, shared_ptr and all of this ownership magic is hardly understandable for me. I stumbled upon one thing that I can’t understand at all. Let’s have a following snippet:… Read More How does the std::unique_ptr&& function argument work?