When C++11 introduced move semantics, it also added two important helper functions:
They are essential when you want to manually indicate that you no longer care about an object or need to propagate the value category in generic code.
As such, I’ve used them countless times in the past.
However, they are functions. Plain, old, standard library functions.
This is problematic for multiple reasons.» read more »