Files
Obsidian-Main/20.02. CPP/Modern CPP The good parts.md
Awin Huang afeb207be2 vault backup: 2025-08-20 14:35:48
Affected files:
Too many files to list
2025-08-20 14:35:48 +08:00

607 B

  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