logoalt Hacker News

yunnppyesterday at 5:55 PM1 replyview on HN

I thought "move doesn't move" was a fairly common C++ mantra at this point.


Replies

locknitpickeryesterday at 6:24 PM

> I thought "move doesn't move" was a fairly common C++ mantra at this point.

It is. The fact that std::move is just a cast and that move constructors are expected to transfer resources are basic intro to C++ topics, covered in intro to constructors.

show 1 reply