摘要: 1、类型与变量相关 1.1、nullptr: 取代了NULL,专用于空指针 1.2、constexpr: 近似const, 可以修饰变量,也可以修饰函数, 修饰变量如: const int global = 100; int main () { int temp = 100; constexpr i 阅读全文
posted @ 2017-09-08 14:23 Dufe王彬 阅读(7393) 评论(2) 推荐(1) 编辑