title: Uninitialized reference member in C++
body: <p>I have made class in C++ and I wanted it to have a field <code>Osoba&amp;</code> but I get an weird error:</p>
  
  <pre><code>class Rachunek{
  public:
      Osoba&amp; wlasciciel;
      double stan_konta;
      Rachunek(Osoba* wlasciciel, double stan_konta){ //Uninitialized reference member
          this-&gt;wlasciciel = wlasciciel;
          this-&gt;stan_konta = stan_konta;
  
      }
  };
  </code></pre>