C++的发展历程是一部不断添加新特性的历史:
C++98(第一个国际标准):
C++11(革命性更新):
auto类型推导unique_ptr、shared_ptr)std::thread、std::mutex)constexpr编译时计算nullptrC++14/17(改进与完善):
std::optional、std::variantC++20(重大新特性):
<=>)C++23(最新标准):
std::expectedstd::mdspanconstexpr支持