Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

C++ 17 notes

Value categories

Since C++ 11

---
config:
  layout: elk
  look: classic
  theme: neutral
---
graph TB
    expression --> glvalue
    expression --> rvalue

    glvalue --> lvalue
    glvalue --> xvalue

    rvalue --> xvalue
    rvalue --> prvalue

Since C++ 17

---
config:
  look: classic
  layout: elk
  theme: neutral
---
flowchart TB
    expression["expression"] --> glvalue["glvalue"] & rvalue["rvalue"]
    glvalue --> lvalue["lvalue"] & xvalue["xvalue"]
    rvalue --> xvalue & prvalue["prvalue"]
    prvalue -.-> xvalue