diff --git a/.obsidian/workspace b/.obsidian/workspace index d91ed9d..7e4c6a6 100644 --- a/.obsidian/workspace +++ b/.obsidian/workspace @@ -10,8 +10,8 @@ "state": { "type": "markdown", "state": { - "file": "00. TOP/01. TODO.md", - "mode": "preview", + "file": "02. PARA/03. Resources(資源)/C++17/rvalue.md", + "mode": "source", "source": true } } @@ -23,7 +23,7 @@ "state": { "type": "outline", "state": { - "file": "00. TOP/01. TODO.md" + "file": "02. PARA/03. Resources(資源)/C++17/rvalue.md" } } } @@ -81,7 +81,7 @@ "state": { "type": "backlink", "state": { - "file": "00. TOP/01. TODO.md", + "file": "02. PARA/03. Resources(資源)/C++17/rvalue.md", "collapseAll": true, "extraContext": true, "sortOrder": "alphabetical", @@ -125,12 +125,12 @@ }, "active": "94f0e8a81af6c9e2", "lastOpenFiles": [ + "02. PARA/03. Resources(資源)/C++17/rvalue.md", "00. TOP/01. TODO.md", "02. PARA/03. Resources(資源)/git/submodule.md", "02. PARA/03. Resources(資源)/git.md", "02. PARA/01. Project(專案)/008. Sentinel.md", "02. PARA/03. Resources(資源)/C++17/智慧指標.md", - "02. PARA/03. Resources(資源)/C++17/rvalue.md", "02. PARA/03. Resources(資源)/C++17/lvalue.md", "02. PARA/03. Resources(資源)/FFMPEG/01. Setup.md", "02. PARA/03. Resources(資源)/FFMPEG/00. Introduction.md", diff --git a/02. PARA/03. Resources(資源)/C++17/rvalue.md b/02. PARA/03. Resources(資源)/C++17/rvalue.md index aa8ec8b..c7603f3 100644 --- a/02. PARA/03. Resources(資源)/C++17/rvalue.md +++ b/02. PARA/03. Resources(資源)/C++17/rvalue.md @@ -9,6 +9,8 @@ int c{5}; int&& rtepm {c + 3}; // rtepm等於c + 3的結果 ``` + + ## 參考 - [Value categories - cppreference.com](https://en.cppreference.com/w/cpp/language/value_category) - [rvalue 參考](https://openhome.cc/Gossip/CppGossip/RvalueReference.html) \ No newline at end of file