1引用教程原文
While both references and pointers are used to indirectly access another value, there are two important differences between references and pointers. The first is that a reference always refers to an object: It is an error to define a reference without initializing it. The behavior of assignment is the second important difference: Assigning to a reference changes the object to which the reference is bound; it does not rebind the reference to another object. Once initialized, a reference always refers to the same underlying object.
2 大致意思:虽然【引用】和【指针】都是用于间接访问其它的值,但是有两点区别:
(1)【引用】总是指向对象,定义一个【引用】而不初始化它的值是错误的。
(2 )赋值行为的不同。对一个【引用】赋值,改变的是它所指向的对象的值,而它并没有因此指向另一个对象。一旦对【引用】初始化之后,它总是固定的指向那个变量。