init
This commit is contained in:
9
02. PARA/03. Resources(資源)/C++17/rvalue.md
Normal file
9
02. PARA/03. Resources(資源)/C++17/rvalue.md
Normal file
@@ -0,0 +1,9 @@
|
||||
- 等號右邊的值
|
||||
- 臨時的值,例如運算的結果
|
||||
|
||||
# rvalue參考
|
||||
可以用兩個`&`來參考rvalue。例如:
|
||||
```
|
||||
int c{5};
|
||||
int&& rtepm {c + 3};
|
||||
```
|
||||
Reference in New Issue
Block a user