常量池引用被与指向内部数据结构的指针取代,成功的或者某种工作方式会被一种简单的形式替代。
Constant pool references are replaced with Pointers to internal data structures, operations that always succeed or always work a certain way are replaced with simpler forms.
如果基类成员与派生类成员接受的实参不同,就没有办法通过基类类型的引用或指针调用派生类函数。
If the base member took different arguments than the derived-class member, there would be no way to call the derived function from a reference or pointer to the base type.
对象的动态类型总是与静态类型相同,这一点与引用或指针相反。
The dynamic type of an object (as opposed to a reference or pointer) is always the same as the static type of the object.
释放一个参考与释放一个指针?我们可以告诉是否一个参数是一个引用或指针?
Freeing a reference vs freeing a pointer? Can we tell whether an argument is a reference or a pointer?
引用类型—与指针类型相同,只是引用类型不能为NULL。
Reference types - same as pointer types, except that a reference type cannot be NULL.
引用类型—与指针类型相同,只是引用类型不能为NULL。
Reference types - same as pointer types, except that a reference type cannot be NULL.
应用推荐