2013年11月17日

4D

摘要: 1. struct,class ConstructorThe first parameter in the copy constructor has the same type as the class, structure, or union for which it is defined. The first parameter can be a reference to the type but not the type itself.2. struct 与 class区别(1)默认继承权限。如果不明确指定,来自class的继承按照private继承处理,来自struct的继承按照pub 阅读全文

posted @ 2013-11-17 11:18 longhorn 阅读(231) 评论(0) 推荐(0) 编辑

导航