Skip to content
Home » 带指定标签的文章: C++ 模板 C++20
在 C++ 中,模板允许函数和类在不牺牲类型安全性的情况下操作不同的数据类型,从而实现泛型编程。模板使用 template 阅读全文 C++20 中关于更佳编译器错误的概念
“If you think it's simple, then you have misunderstood the problem.” ― Bjarne Stroustrup C++20 函数模板一个例子 阅读全文 C++20 函数模板
评论