摘要: 指针的引用 在C++中可以声明const引用 const Type& name = var; const引用让变量拥有只读属性 const引用总结 1.const& int e 相当于const int * const e 2.普通引用相当于int *const e1 3.当使用常量(字面量)对co 阅读全文
posted @ 2017-07-26 11:02 嘉禾世兴 阅读(314) 评论(0) 推荐(0) 编辑