vault backup: 2022-07-06 20:33:32
Affected files: .obsidian/workspace 02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md
This commit is contained in:
10
.obsidian/workspace
vendored
10
.obsidian/workspace
vendored
@@ -9,7 +9,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "02. PARA/03. Resources(資源)/Tool Setup/Chrome.md",
|
"file": "02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": true
|
"source": true
|
||||||
}
|
}
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "02. PARA/03. Resources(資源)/Tool Setup/Chrome.md",
|
"file": "02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"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",
|
"active": "cfe19fa2de06a1e6",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"02. PARA/03. Resources(資源)/C++17/Structured binding declaration.md",
|
||||||
"02. PARA/03. Resources(資源)/Tool Setup/Chrome.md",
|
"02. PARA/03. Resources(資源)/Tool Setup/Chrome.md",
|
||||||
"00. TOP/01. TODO.md",
|
"00. TOP/01. TODO.md",
|
||||||
"02. PARA/03. Resources(資源)/買書清單.md",
|
"02. PARA/03. Resources(資源)/買書清單.md",
|
||||||
@@ -124,7 +125,6 @@
|
|||||||
"01. Daily/2022/年度目標.md",
|
"01. Daily/2022/年度目標.md",
|
||||||
"02. PARA/03. Resources(資源)/00. Informations/Datas.md",
|
"02. PARA/03. Resources(資源)/00. Informations/Datas.md",
|
||||||
"02. PARA/01. Project(專案)/008. Sentinel.md",
|
"02. PARA/01. Project(專案)/008. Sentinel.md",
|
||||||
"02. PARA/03. Resources(資源)/Design Pattern.md",
|
"02. PARA/03. Resources(資源)/Design Pattern.md"
|
||||||
"02. PARA/03. Resources(資源)/讀書筆記/20220526 - 深入淺出設計模式.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
Structured binding declaration 可以把對應的 tuple、pair、vector 展開,讓 code 更好讀。
|
||||||
|
|
||||||
|
## 展開 tuple
|
||||||
|
假設我們有一個 tuple:
|
||||||
|
```cpp
|
||||||
|
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user