杂七杂八 1 new/malloc new -> 失败,bad_alloc异常 malloc -> 失败,返回nullptr operator new/delete 可重载, c++运算符 malloc/free 不允许重载,标准库函数 递增/减 前置 -> 引用 后置 -> 对象(值) 2 定义 define vs typedef 3 inline 无循环/无条件判断/函数体小 4 特化 全特化 template<>声明