title: C++: Initializing a reference member to an object created in the initialization list
body: <p>Consider the following code:</p>
  
  <pre><code>class Foo {
      Foo() {}
  };
  
  class Bar {
      Foo &amp;Foo_ref;
      Bar() : Foo_ref() {}
  };
  </code></pre>
  
  <p>Complied as is, I get the error:</p>
  
  <pre>tmp.cc: In constructor Bar::Bar():
  tmp.cc:7: error: value-initialization of Foo& Bar::Foo_ref, which has reference type</pre>
  
  <p>I've tried every variation I can think of. What am I doing wrong? How do I initialize a reference member to a new instance?
  I'm using a const pointer instead of a reference as a workaround for now, but I'd prefer to use a reference.</p>