title: Initialising reference in constructor C++
body: <p>I don't think is a duplicate question.  There are similar ones but they're not helping me solve my problem.</p>
  
  <p>According to <a href="http://msdn.microsoft.com/en-us/library/szywdw8k.aspx" rel="noreferrer">this</a>, the following is valid in C++:</p>
  
  <pre><code>class c {
  public:
     int&amp; i;
  };
  </code></pre>
  
  <p>However, when I do this, I get the following error:</p>
  
  <pre><code>error: uninitialized reference member 'c::i'
  </code></pre>
  
  <p>How can I initialise successfully do <code>i=0</code>on construction?</p>
  
  <p>Many thanks.</p>