...

/

Updated Value Categories

Updated Value Categories

C++ 17 introduces some updated value categories. This part helps familiarize with them. Read below to find out more!

We'll cover the following...

In C++98/03, we had two basic categories of expressions:

  • lvalue - an expression that can appear on the left-hand side of an assignment
  • rvalue - an expression that can appear only on the right-hand side of an assignment

C++11 extended this taxonomy (due to the move semantics), with ...