-
C++元编程教程00:模板基础回顾
C++模版基础回顾前言:为什么我们需要模版?在使用编程语言进行程序设计的时候,有这样一个概念会反复的出现,这就是抽象(abstraction)。以一个简单的返回两数最大值的函数max为例: 123auto max(int lhs, int rhs) -> int { return lhs > rhs ? lhs : rhs;} 这个函数可以看作对一类实际的表达... -
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Qu...
1