Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC++move semantics and rvalue refsSingle-choice MCQ

Inside this function, what is the value category of the expression x when it is used, and what does that imply?

void sink(std::string&& x) { consume(x); // line in question }