Move in C++ without a std::move

a month ago by andreasfertig to c/cpp

In one of my earlier posts, Why you should use std::move only rarely I said that you should use std::move only rarely. In today's post,...
fruitcantfly 1 point a month ago

The two last code examples are identical, which would seem to be a mistake

path: 0 25606047, hotness: undefined, score: 1, children: 0
cpp
cpp

@programming.dev

login for more options
2380
415
47

The center for all discussion and news regarding C++.

Rules

  • Respect instance rules.
  • Don't be a jerk.
  • Please keep all posts related to C++.

go to feed...