title: How to initialize const / non-const static reference member?
body: <pre><code>class Foo {
  private:
      int m_i;
  
  public:
      Foo(int i) : m_i(i) {}
  };
  
  class FooA
  {
  private:
      const static Foo &amp; m_foo;
      static Foo &amp; m_foo2;
  };
  </code></pre>
  
  <p>Q1> how to initialize const static reference?</p>
  
  <p>Q2> How to initialize non-const static reference?</p>
  
  <p>Note:
  You can make changes for class FooA in order to illustrate the methods.</p>