diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 63b57bc..62bb0e9 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -73,14 +73,26 @@ "state": { "type": "markdown", "state": { - "file": "00. Inbox/00. Inbox/C++20, How Hard Could It Be.md", + "file": "00. Inbox/00. Inbox/A cheatsheet of modern C++ language and library features.md", + "mode": "source", + "source": true + } + } + }, + { + "id": "0e402611b1e5f832", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "00. Inbox/00. Inbox/Modern C++ The good parts.md", "mode": "source", "source": true } } } ], - "currentTab": 5 + "currentTab": 6 } ], "direction": "vertical" @@ -138,7 +150,7 @@ "state": { "type": "backlink", "state": { - "file": "00. Inbox/00. Inbox/C++20, How Hard Could It Be.md", + "file": "00. Inbox/00. Inbox/Modern C++ The good parts.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -155,7 +167,7 @@ "state": { "type": "outline", "state": { - "file": "00. Inbox/00. Inbox/C++20, How Hard Could It Be.md" + "file": "00. Inbox/00. Inbox/Modern C++ The good parts.md" } } } @@ -183,8 +195,10 @@ "direction": "horizontal", "width": 319.5 }, - "active": "1dc35f01de34f9cb", + "active": "0e402611b1e5f832", "lastOpenFiles": [ + "00. Inbox/00. Inbox/A cheatsheet of modern C++ language and library features.md", + "00. Inbox/00. Inbox/C++20, How Hard Could It Be.md", "00. Inbox/00. Inbox/Modern C++ use in Chromium.md", "00. Inbox/00. Inbox/FFMPEG 收集.md", "00. Inbox/00. Inbox/列出所有 USB 裝置.md", @@ -192,8 +206,6 @@ "00. Inbox/00. Inbox.md", "05. 資料收集/軟體工具/git/tag.md", "05. 資料收集/Tool Setup/Software/Windows 10 Setup.md", - "00. Inbox/01. TODO.md", - "01. 個人/00. Informations/Datas.md", - "00. Inbox/03. Mind Map.md" + "00. Inbox/01. TODO.md" ] } \ No newline at end of file diff --git a/00. Inbox/00. Inbox/Modern C++ The good parts.md b/00. Inbox/00. Inbox/Modern C++ The good parts.md new file mode 100644 index 0000000..416174b --- /dev/null +++ b/00. Inbox/00. Inbox/Modern C++ The good parts.md @@ -0,0 +1,7 @@ +1. Use std::shared_ptr & std::unique_ptr +2. Use std::array or std::vector +3. Use structured binding & std::tuple +4. Use for (auto& elem : collector) +5. Use std::format +6. Use std::optional +7. \ No newline at end of file