How can I initialize a reference member to another member of a class? If I do this I got a compile error:
Code:
class A {
public: A():b(0)),c(b){}
private:
int b;
int &c;
}
Comment