LoginSignup
2
2

More than 5 years have passed since last update.

c++ rvalue、lvalueとかmove, forwardとか(編集中)

Posted at
1.cpp
int x = 1;

left value と right value。左のxはlvalue, 右の1はravlueとなる。rvalueはmove可能で、lvalueは一般的にできない。lvalueは参照可能でrvalueはできない。

2
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2