vault backup: 2024-02-17 22:54:05
This commit is contained in:
@@ -0,0 +1 @@
|
||||
[AnthonyCalandra/modern-cpp-features: A cheatsheet of modern C++ language and library features.](https://github.com/AnthonyCalandra/modern-cpp-features)
|
||||
1
00. Inbox/C++/C++20, How Hard Could It Be.md
Normal file
1
00. Inbox/C++/C++20, How Hard Could It Be.md
Normal file
@@ -0,0 +1 @@
|
||||
[C++20, How Hard Could It Be](https://docs.google.com/presentation/d/1HwLNSyHxy203eptO9cbTmr7CH23sBGtTrfOmJf9n0ug/edit?fbclid=IwAR2wToW9uFJuLtUR9nftfv9N9axXwPK7HmuJWqgVmCeXd1XJF7ySQIkNsJM&resourcekey=0-GH5F3wdP7D4dmxvLdBaMvw#slide=id.g1c5cc391dd_2_295)
|
||||
16
00. Inbox/C++/Modern C++ The good parts.md
Normal file
16
00. Inbox/C++/Modern C++ The good parts.md
Normal file
@@ -0,0 +1,16 @@
|
||||
1. Use std::shared_ptr & std::unique_ptr & std::weak_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. Use auto for return type
|
||||
8. Use auto in variable declaration
|
||||
9. Use `using` to replace `#define`
|
||||
10. Use "Lambda expression" and std::function
|
||||
11. `[[deprecated]]` attribute
|
||||
12. Maybe...std::any?
|
||||
13. And more, constexpr, concept,
|
||||
|
||||
## Reference
|
||||
- [AnthonyCalandra/modern-cpp-features: A cheatsheet of modern C++ language and library features.](https://github.com/AnthonyCalandra/modern-cpp-features)
|
||||
1
00. Inbox/C++/Modern C++ use in Chromium.md
Normal file
1
00. Inbox/C++/Modern C++ use in Chromium.md
Normal file
@@ -0,0 +1 @@
|
||||
[Modern C++ use in Chromium](https://chromium.googlesource.com/chromium/src/+/HEAD/styleguide/c++/c++-features.md#Declaring-non_type-template-parameters-with-auto-tbd)
|
||||
Reference in New Issue
Block a user