Is it OK for the same object being “rvalue-used” twice consecutively?
Summary The question of whether it is safe to rvalue-use the same object twice consecutively arises from the understanding of rvalue references and perfect forwarding in C++. The general perception is that once an object is moved-from, it’s in a valid but unspecified state, and it’s not safe to use it until assigning to it … Read more