diff --git a/.obsidian/workspace b/.obsidian/workspace index ae18f22..8525f8e 100644 --- a/.obsidian/workspace +++ b/.obsidian/workspace @@ -9,7 +9,7 @@ "state": { "type": "markdown", "state": { - "file": "02. PARA/03. Resources(資源)/Tool Setup/Chrome.md", + "file": "02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md", "mode": "source", "source": true } @@ -69,7 +69,7 @@ "state": { "type": "backlink", "state": { - "file": "02. PARA/03. Resources(資源)/Tool Setup/Chrome.md", + "file": "02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -86,7 +86,7 @@ "state": { "type": "outline", "state": { - "file": "02. PARA/03. Resources(資源)/Tool Setup/Chrome.md" + "file": "02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md" } } } @@ -116,6 +116,7 @@ }, "active": "cfe19fa2de06a1e6", "lastOpenFiles": [ + "02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md", "02. PARA/03. Resources(資源)/Tool Setup/Chrome.md", "00. TOP/01. TODO.md", "02. PARA/03. Resources(資源)/買書清單.md", @@ -124,7 +125,6 @@ "01. Daily/2022/年度目標.md", "02. PARA/03. Resources(資源)/00. Informations/Datas.md", "02. PARA/01. Project(專案)/008. Sentinel.md", - "02. PARA/03. Resources(資源)/Design Pattern.md", - "02. PARA/03. Resources(資源)/讀書筆記/20220526 - 深入淺出設計模式.md" + "02. PARA/03. Resources(資源)/Design Pattern.md" ] } \ No newline at end of file diff --git a/02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md b/02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md new file mode 100644 index 0000000..2011c9d --- /dev/null +++ b/02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md @@ -0,0 +1,7 @@ +Structured binding declaration 可以把對應的 tuple、pair、vector 展開,讓 code 更好讀。 + +## 展開 tuple +假設我們有一個 tuple: +```cpp + +``` \ No newline at end of file