-1

I encountered the following error while trying to use C++ reference with objects. Could someone shed light on what's the difference between ra1 and ra2? And what's the point of this design?
class A {
public:
int a = 0;
};
int main()
{
A a1 = A();
A& ra1 = a1; //okay
A& ...