C++核心概念
std::unique_ptr(独占所有权)、std::shared_ptr(共享所有权)、std::weak_ptr(避免循环引用)。:序列容器(vector, list)、关联容器(map, set)、无序容器(unordered_map)。:条件(if/switch)、循环(for/while)、跳转(break/return)。:std::thread、std::async、原子操作(std::atomic)。:静态类型、const 常量、auto 类型推导、引用(&)与指针(*)的区别。
原创
2025-03-10 13:54:03 ·
273 阅读 ·
0 评论